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/file.pyo
�
c�L]c@s^ddlZejdde�ZejZddlTddlmZdefd��YZdS(i����Nssetroubleshoot-pluginstfallback(t*(tPlugintplugincBsYeZed�Zed�Zed�Zd�Zd�Zd�Zd�Z	d�Z
RS(sG
    SELinux is preventing access to files with the label, file_t.
    sH
    SELinux permission checks on files labeled file_t are being
    denied.  file_t is the context the SELinux kernel gives to files
    that do not have a label. This indicates a serious labeling
    problem. No files on an SELinux box should ever be labeled file_t.
    If you have just added a disk drive to the system you can
    relabel it using the restorecon command.  For example if you saved the
home directory from a previous installation that did not use SELinux, 'restorecon -R -v /home' will fix the labels.  Otherwise you should
    relabel the entire file system.
    sz
    You can execute the following command as root to relabel your
    computer system: "touch /.autorelabel; reboot"
    cCs$|dkrtd�Std�SdS(Niis.This is caused by a newly created file system.s:If you think this is caused by a badly mislabeled machine.(ii(t_(tselftavctargs((s)/usr/share/setroubleshoot/plugins/file.pytget_if_text/s
cCs$|dkrtd�Std�SdS(Niisyou need to add labels to it.syou need to fully relabel.(ii(R(RRR((s)/usr/share/setroubleshoot/plugins/file.pyt
get_then_text5s
cCs|dkrdSdSdS(Niis#/sbin/restorecon -R -v $TARGET_PATHstouch /.autorelabel; reboot(ii((RRR((s)/usr/share/setroubleshoot/plugins/file.pytget_do_text;scCs*tj|t�d|_|jd�dS(Ntgreeni(Rt__init__t__name__tleveltset_priority(R((s)/usr/share/setroubleshoot/plugins/file.pyRAs	cCsP|jdg�rHg}|j|jd��|j|jd��|SdSdS(Ntfile_tiii(ii(ii(tmatches_target_typestappendtreporttNone(RRtreports((s)/usr/share/setroubleshoot/plugins/file.pytanalyzeFs(R
t
__module__Rtsummarytproblem_descriptiontfix_descriptionRR	R
RR(((s)/usr/share/setroubleshoot/plugins/file.pyRs								(tgettextttranslationtTrueRtsetroubleshoot.utiltsetroubleshoot.PluginRR(((s)/usr/share/setroubleshoot/plugins/file.pyt<module>s