+
    ï 6g8
  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V tR
# )ÚpluginzN
    SELinux is preventing $SOURCE_PATH "$ACCESS" access to $TARGET_PATH.
    aø  
    SELinux denied svirt access to the block device $TARGET_PATH.
    If this is a virtualization image, it needs to be labeled with a virtualization file context (virt_image_t). 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'z2You need to change the label on '$FIX_TARGET_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   &Ú3/usr/share/setroubleshoot/plugins/qemu_blk_image.pyr   Zplugin.__init__1   s3   € ÜŠ˜œhÔ'Ø×Ñ˜"ÔØˆŒÜÐCÓDˆÖó    c                sê   € VP                  R .4      '       d[   VP                  VP                  VP                  ,           4      '       d)   VP	                  R.4      '       d   V P                  4       # R# )Zsvirt_tZblk_fileN)Zmatches_source_typesZall_accesses_are_inZrw_file_permsZr_dir_permsZhas_tclass_inZreport)r   Zavcs   &&r   ÚanalyzeZplugin.analyze7   sW   € Ø×$Ñ$ i [×1Ò1Ø×"Ñ" 3×#4Ñ#4°s·±Õ#F×GÒGØ×Ñ˜j˜\×*Ò*à—;‘;“=Ð ár	   )r   r   N)r   Z
__module__Z__qualname__Z__firstlineno__r   ZsummaryZproblem_descriptionZfix_descriptionZfix_cmdZ	then_textZdo_textr   r
   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r      sh   ø‡ € Ùð ó 	€Gñ ð ó 	Ðñ ð ó 	€Oð
 >€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	   