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/associate.pyo
�
c�L]c@s�ddlZejdde�ZejZddlTddlmZddlZddlTddl	Z	defd��YZ
dS(i����Nssetroubleshoot-pluginstfallback(t*(tPlugintplugincBsVeZed�Zd�Zed�Zd�Zed�ZdZd�Z	d�Z
RS(sN
    SELinux is preventing $SOURCE_PATH "$ACCESS" access to $TARGET_PATH.
    cCstd�|dS(Ns�
You tried to place a type on a %s that is not a file type.  This is not allowed, you must assigne a file type.  You can list all file types using the seinfo command.

seinfo -afile_type -x

    i(t_(tselftavctargs((s./usr/share/setroubleshoot/plugins/associate.pytget_problem_description$sspIf you want to change the label of $TARGET_PATH to %s, you are not allowed to since it is not a valid file type.cCs|j|dS(Ni(tif_text(RRR((s./usr/share/setroubleshoot/plugins/associate.pytget_if_text.ss!you must pick a valid file label.sXselect a valid file type.  List valid file labels by executing: 
# seinfo -afile_type -xcCs!tj|t�|jd�dS(Nid(Rt__init__t__name__tset_priority(R((s./usr/share/setroubleshoot/plugins/associate.pyR4scCso|jjtkrk|jdg�r=|jd|jjf�S|jdg�rk|jd|jjf�SndS(Nt	relabeltoit	associate(ttcontextttypet
file_typestall_accesses_are_intreporttscontexttNone(RR((s./usr/share/setroubleshoot/plugins/associate.pytanalyze8s(Rt
__module__RtsummaryRR	R
t	then_texttdo_textRR(((s./usr/share/setroubleshoot/plugins/associate.pyRs				(tgettextttranslationtTrueRtsetroubleshoot.utiltsetroubleshoot.PluginRtoststattselinuxR(((s./usr/share/setroubleshoot/plugins/associate.pyt<module>s