+
     6g  c                   s    ^ RI t ^ RIt^ RIt] P                  ! RRR7      t]P                   t^ RI5 ^ RIHt ^ RIt ! R R]4      t	R# )	    Nzsetroubleshoot-pluginsT)Zfallback)Z*)Pluginc                   sr   a  ] tR t^ t o ]! R4      t]! R4      t]! R4      tRtR t	R t
R tR tR	 tR
tV tR# )pluginzN
    SELinux is preventing $SOURCE_PATH "$ACCESS" access on $TARGET_PATH.
    a:  

    SELinux denied access requested by $SOURCE. The current boolean
    settings do not allow this access.  If you have not setup $SOURCE to
    require this access this may signal an intrusion attempt. If you do intend
    this access you need to change the booleans on this system to allow
    the access.
    z
    Confined processes can be configured to run requiring different access, SELinux provides booleans to allow you to turn on/off
    access as needed.

     c                sl    \         P                  ! V \        4       V P                  ^4       RV n        R# )i   ZyellowN)r   __init____name__Zset_prioritylevel)selfs   &5/usr/share/setroubleshoot/plugins/catchall_boolean.pyr   Zplugin.__init__6   s%    h'!
    c                s   \         P                  ! V^ ,          4      p\        V\        P                  4      '       g   \        P                  ! VRR7      p\        R4      V^ ,          P                  4       VR,          ,           ,          # )r    Zutf8)ZencodingzIf you want to %s:i   NN)sepolicyZboolean_descZ
isinstancesixZ	text_type_Zlower)r   avcargsZtxt   &&& r   get_if_textZplugin.get_if_text;   s[    !!$q'*#s}}--cF3C$%Q#b')ABBr	   c                sF    \        R 4      V^ ,          V^,          3,          # )zsetsebool -P %s %s)r   )r   r   r   s   &&&r   get_do_textZplugin.get_do_textA   s     %&$q'47);;;r	   c                s    \        R 4      V^ ,          ,          p V^,          '       d/   V^,          R8w  d!   V\        R4      V^,          ,          ,          pV#   \         d     T# i ; i)z?You must tell SELinux about this by enabling the '%s' boolean.
ZNonez,You can read '%s' man page for more details.)r   Z
IndexError)r   r   r   Ztextr   r   get_then_textZplugin.get_then_textD   sl    STW[\]W^^	Aww47f,HIDQRGSS   		s   =A A)(A)c                st   V P                  VP                  P                  4      p\        VP                  4      ^ 8  dy   . pV P
                  pRpVP                  pV FT  pV'       g   V P                  V^ ,          4      pVP                  V P                  V^ ,          V^,          V34      4       KV  	  V# R# )r    r   N)Zcheck_for_manZscontextZtypeZlenboolsfix_descriptionZappendZreport)r   r   Zman_pageZreportsZfixfix_cmdr   Zbs   &&      r   analyzeZplugin.analyzeN   s    %%cll&7&78		NQG&&CGIIE#11!A$7Ht{{AaD!A$+ABC 
 Nr	   )r   N)r   Z
__module__Z__qualname__Z__firstlineno__r   ZsummaryZproblem_descriptionr   r   r   r   r   r   r   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r       s]       	G   	   	O G
C< r	   r   )
ZgettextZosr   Ztranslationr   Zsetroubleshoot.utilZsetroubleshoot.Pluginr   r
   r   ) r	   r   <module>r      sC   ,  	 
 84H ! ( ;V ;r	   