+
     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                   st   a  ] tR t^t o ]! R4      t]! R4      t]! R4      tRt]! R4      t	Rt
R tR tR	tV tR
# )pluginzG
    SELinux is preventing $SOURCE_PATH "$ACCESS" to $TARGET_PATH.
    a	  
    SELinux denied $SOURCE access to $TARGET_PATH.
    If this is a swapfile, it has to have a file context label of
    swapfile_t. If you did not intend to use
    $TARGET_PATH as a swapfile, this message could indicate either a bug or an intrusion attempt.
    a	  
    You can alter the file context by executing chcon -t swapfile_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 swapfile_t '$FIX_TARGET_PATH'"
    z"chcon -t swapfile_t '$TARGET_PATH'z2You need to change the label on '$FIX_TARGET_PATH'zZ# semanage fcontext -a -t swapfile_t '$FIX_TARGET_PATH'
# restorecon -v '$FIX_TARGET_PATH'c                sJ    \         P                  ! V \        4       R V n        R# )ZgreenN)r    __init____name__level)selfs   &-/usr/share/setroubleshoot/plugins/swapfile.pyr   Zplugin.__init__0   s    h'
    c                s    VP                  R .4      '       dB   VP                  . RO4      '       d)   VP                  R.4      '       d   V P                  4       # R# )Zfsadm_tZfileN)ZreadZwriteZgetattrZswapon)Zmatches_source_typesZall_accesses_are_inZhas_tclass_inZreport)r   Zavcs   &&r   analyzeZplugin.analyze4   sI    $$i[11##$JKKvh'';;= r   )r   N)r   Z
__module__Z__qualname__Z__firstlineno___ZsummaryZproblem_descriptionZfix_descriptionZfix_cmdZ	then_textZdo_textr   r   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r      s_       	G   	   	O
 3GFGI&G r   r   )ZgettextZtranslationr	   Zsetroubleshoot.utilZsetroubleshoot.Pluginr    r   ) r   r   <module>r
      s:   &  84H ! (!V !r   