File: //usr/share/setroubleshoot/plugins/automount_exec_config.pyc
�
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 sP e Z e d � Z e d � Z e d � Z d Z d Z d Z d � Z d � Z
RS( sj
SELinux is preventing the $SOURCE_PATH from executing potentially mislabeled files $TARGET_PATH.
s�
SELinux has denied the $SOURCE_PATH from executing potentially
mislabeled files $TARGET_PATH. Automounter can be setup to execute
configuration files. If $TARGET_PATH is an automount executable
configuration file it needs to have a file label of bin_t.
If automounter is trying to execute something that it is not supposed to, this could indicate an intrusion attempt.
s,
If you want to change the file context of $TARGET_PATH so that the automounter can execute it you can execute "chcon -t bin_t $TARGET_PATH". If you want this to survive a relabel, you need to permanently change the file context: execute "semanage fcontext -a -t bin_t '$FIX_TARGET_PATH'".
s chcon -t bin_t $TARGET_PATHs2 You need to change the label on '$FIX_TARGET_PATH's! chcon -t bin_t '$FIX_TARGET_PATH'c C s t j | t � d S( N( R t __init__t __name__( t self( ( s: /usr/share/setroubleshoot/plugins/automount_exec_config.pyR 1 s c C sG | j d g � rC | j d d g � rC | j d g � rC | j � Sd S( Nt automount_tt executet execute_no_transt file( t matches_source_typest all_accesses_are_int
has_tclass_int reportt None( R t avc( ( s: /usr/share/setroubleshoot/plugins/automount_exec_config.pyt analyze4 s
( R t
__module__t _t summaryt problem_descriptiont fix_descriptiont fix_cmdt then_textt do_textR R ( ( ( s: /usr/share/setroubleshoot/plugins/automount_exec_config.pyR s ( t gettextt translationt TrueR t setroubleshoot.utilt setroubleshoot.PluginR R ( ( ( s: /usr/share/setroubleshoot/plugins/automount_exec_config.pyt <module> s