HEX
Server: Apache
System: Linux hp3-stn-1011028.hostingp3.local 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
User: csh958633 (951153)
PHP: 8.3.30
Disabled: shell_exec,exec,system,popen,set_time_limit
Upload Files
File: //usr/share/setroubleshoot/plugins/automount_exec_config.pyo
�
c�L]c@s^ddlZejdde�ZejZddlTddlmZdefd��YZdS(i����Nssetroubleshoot-pluginstfallback(t*(tPlugintplugincBsPeZed�Zed�Zed�ZdZdZdZd�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'".
    schcon -t bin_t $TARGET_PATHs2You need to change the label on '$FIX_TARGET_PATH's!chcon -t bin_t '$FIX_TARGET_PATH'cCstj|t�dS(N(Rt__init__t__name__(tself((s:/usr/share/setroubleshoot/plugins/automount_exec_config.pyR1scCsG|jdg�rC|jddg�rC|jdg�rC|j�SdS(Ntautomount_ttexecutetexecute_no_transtfile(tmatches_source_typestall_accesses_are_int
has_tclass_intreporttNone(Rtavc((s:/usr/share/setroubleshoot/plugins/automount_exec_config.pytanalyze4s

(Rt
__module__t_tsummarytproblem_descriptiontfix_descriptiontfix_cmdt	then_texttdo_textRR(((s:/usr/share/setroubleshoot/plugins/automount_exec_config.pyRs				(tgettextttranslationtTrueRtsetroubleshoot.utiltsetroubleshoot.PluginRR(((s:/usr/share/setroubleshoot/plugins/automount_exec_config.pyt<module>s