| Server IP : 77.68.64.20 / Your IP : 216.73.217.31 Web Server : Apache System : Linux hp3-wp-1011317.hostingp3.local 3.10.0-1160.144.1.el7.tuxcare.els8.x86_64 #1 SMP Sun Jul 5 17:25:39 UTC 2026 x86_64 User : csh2392878 ( 2033753) PHP Version : 8.3.30 Disable Function : shell_exec,exec,system,popen,set_time_limit MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /usr/share/setroubleshoot/plugins/ |
Upload File : |
�
c�L]c @ s^ d d l Z e j d d e �Z e j Z d d l Td d l m Z d e f d � � YZ d S( i����Ns setroubleshoot-pluginst fallback( t *( t Plugint pluginc B sV e Z e d � Z e d � Z e d � Z d Z e d � Z d Z d � Z d � Z
RS( sT
SELinux is preventing xen ($SOURCE_PATH) "$ACCESS" access to $TARGET_PATH.
s�
SELinux denied xen access to $TARGET_PATH.
If this is a XEN image, it has to have a file context label of
xen_image_t. The system is setup to label image files in directory /var/lib/xen/images
correctly. We recommend that you copy your image file to /var/lib/xen/images.
If you really want to have your xen image files in the current directory, you can relabel $TARGET_PATH to be xen_image_t using chcon. You also need to execute semanage fcontext -a -t xen_image_t '$FIX_TARGET_PATH' to add this
new path to the system defaults. If you did not intend to use $TARGET_PATH as a xen
image it could indicate either a bug or an intrusion attempt.
s
You can alter the file context by executing chcon -t xen_image_t '$TARGET_PATH'
You must also change the default file context files on the system in order to preserve them even on a full relabel. "semanage fcontext -a -t xen_image_t '$FIX_TARGET_PATH'"
s# chcon -t xen_image_t '$TARGET_PATH's2 You need to change the label on '$FIX_TARGET_PATH's[ # semanage fcontext -a -t xen_image_t '$FIX_TARGET_PATH'
# restorecon -v '$FIX_TARGET_PATH'c C s t j | t � d S( N( R t __init__t __name__( t self( ( s. /usr/share/setroubleshoot/plugins/xen_image.pyR 5 s c C sa | j d d g � rY | j | j | j � rY | j d d g � rY | j � rY | j � Sd Sd S( Nt xend_tt xm_tt filet dir( t matches_source_typest all_accesses_are_int r_file_permst r_dir_permst
has_tclass_int path_is_not_standard_directoryt reportt None( R t avc( ( s. /usr/share/setroubleshoot/plugins/xen_image.pyt analyze8 s
( R t
__module__t _t summaryt problem_descriptiont fix_descriptiont fix_cmdt then_textt do_textR R ( ( ( s. /usr/share/setroubleshoot/plugins/xen_image.pyR s ( t gettextt translationt TrueR t setroubleshoot.utilt setroubleshoot.PluginR R ( ( ( s. /usr/share/setroubleshoot/plugins/xen_image.pyt <module> s