+
    ï 6g€  c                   sz   € ^ RI t ] P                  ! RRR7      t]P                   t^ RI5 ^ RIHt  ! R R]4      tR# )	i    Nzsetroubleshoot-pluginsT)Zfallback)Z*)ÚPluginc                   s„   a € ] tR t^t o ]! R4      t]! R4      t]! R4      tRt]! R4      t	]! R4      t
RtR tR	 tR
tV tR# )ÚpluginzN
    SELinux is preventing $SOURCE_PATH "$ACCESS" access to $TARGET_PATH.
    aÅ  
    SELinux denied svirt access to $TARGET_PATH.
    If this is a virtualization image, it has to have a file context label of
    virt_image_t. The system is setup to label image files in directory./var/lib/libvirt/images
    correctly.  We recommend that you copy your image file to /var/lib/libvirt/images.
    If you really want to have your image files in the current directory, you can relabel $TARGET_PATH to be virt_image_t using chcon.  You also need to execute semanage fcontext -a -t virt_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 virtualization
    image it could indicate either a bug or an intrusion attempt.
    a  
    You can alter the file context by executing chcon -t virt_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 virt_image_t '$FIX_TARGET_PATH'"
    z-/usr/bin/chcon -t virt_image_t '$TARGET_PATH'z/If $TARGET_BASE_PATH is a virtualization targetz2You need to change the label on $TARGET_BASE_PATH'z\# semanage fcontext -a -t virt_image_t '$FIX_TARGET_PATH'
# restorecon -v '$FIX_TARGET_PATH'c                sŒ   € \         P                  ! V \        4       V P                  ^<4       RV n        \        R4      V n        R# )i<   Tz$Set the image label to virt_image_t.N)r    Ú__init__Ú__name__Zset_priorityÚfixableÚ_Úbutton_text)Úselfs   &Ú4/usr/share/setroubleshoot/plugins/qemu_file_image.pyr   Zplugin.__init__5   s3   € ÜŠ˜œhÔ'Ø×Ñ˜"ÔØˆŒÜÐCÓDˆÖó    c                s  € VP                  R .4      '       dr   VP                  VP                  VP                  ,           4      '       d@   VP	                  RR.4      '       d'   VP                  4       '       d   V P                  4       # R# )Zsvirt_tZfileZdirN)Zmatches_source_typesZall_accesses_are_inZrw_file_permsZr_dir_permsZhas_tclass_inZpath_is_not_standard_directoryZreport)r   Zavcs   &&r   ÚanalyzeZplugin.analyze;   sh   € Ø×$Ñ$ i [×1Ò1Ø×#Ñ# C×$5Ñ$5¸¿¹Õ$G×HÒHØ×Ñ˜v u˜o×.Ò.Ø×.Ñ.×0Ò0à—;‘;“=Ð ár	   )r   r   N)r   Z
__module__Z__qualname__Z__firstlineno__r   ZsummaryZproblem_descriptionZfix_descriptionZfix_cmdZif_textZ	then_textZdo_textr   r
   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r      sk   ø‡ € Ùð ó 	€Gñ ð ó 	Ðñ ð ó 	€Oð
 >€GáÐAÓB€GÙÐFÓG€Ið&€GòE÷ð r	   r   )ZgettextZtranslationr   Zsetroubleshoot.utilZsetroubleshoot.Pluginr    r   ) r	   r   Ú<module>r      s:   ðó& Ø×ÒÐ 8À4ÔH€Ø×Ñ€ä !Ý (ô)ˆVö )r	   