HEX
Server: Apache
System: Linux dinesh8189 5.15.98-grsec-sharedvalley-2.lc.el8.x86_64 #1 SMP Thu Mar 9 09:07:30 -03 2023 x86_64
User: cgmgerenciamento1 (814285)
PHP: 8.1.26
Disabled: apache_child_terminate,dl,escapeshellarg,escapeshellcmd,exec,link,mail,openlog,passthru,pcntl_alarm,pcntl_exec,pcntl_fork,pcntl_get_last_error,pcntl_getpriority,pcntl_setpriority,pcntl_signal,pcntl_signal_dispatch,pcntl_sigprocmask,pcntl_sigtimedwait,pcntl_sigwaitinfo,pcntl_strerror,pcntl_wait,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,php_check_syntax,php_strip_whitespace,popen,proc_close,proc_open,shell_exec,symlink,system
Upload Files
File: //usr/share/setroubleshoot/plugins/__pycache__/file.cpython-36.opt-1.pyc
3

m��a��@sDddlZejddd�ZejZddlTddlmZGdd�de�ZdS)	�Nzsetroubleshoot-pluginsT)Zfallback)�*)�Pluginc@s\eZdZed�Zed�Zed�Zdd�Zdd�Zdd	�Z	d
d�Z
dd
�Zdd�Zdd�Z
dS)�pluginzE
    SELinux is preventing access to a file labeled unlabeled_t.
    aT
    SELinux permission checks on files labeled unlabeled_t are being
    denied. unlabeled_t is a 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 unlabeled_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.
    zz
    You can execute the following command as root to relabel your
    computer system: "touch /.autorelabel; reboot"
    cCs|dkrtd�Std�SdS)N�rz.This is caused by a newly created file system.z:If you think this is caused by a badly mislabeled machine.)rr)�_)�self�avc�args�r
�)/usr/share/setroubleshoot/plugins/file.py�get_if_text/szplugin.get_if_textcCs|dkrtd�Std�SdS)Nrrzyou need to add labels to it.zyou need to fully relabel.)rr)r)rrr	r
r
r�
get_then_text5szplugin.get_then_textcCs|dkrdSdSdS)Nrrz#/sbin/restorecon -R -v $TARGET_PATHztouch /.autorelabel; reboot)rrr
)rrr	r
r
r�get_do_text;szplugin.get_do_textcCs|dkrdSdSdS)Nrrz#/sbin/restorecon -R -v $TARGET_PATHztouch /.autorelabel; reboot)rrr
)rrr	r
r
r�get_fix_cmdAszplugin.get_fix_cmdcCs6|dkrtd�|_|jd�ntd�|_|jd�dS)NrrzTry to fix the label.�Fz/Relabel the whole file system. Includes reboot!�)rr)rZbutton_textZset_priority)rr	r
r
r�	init_argsGs


zplugin.init_argscCstj|t�d|_d|_dS)NZgreenT)r�__init__�__name__�levelZfixable)rr
r
rrOszplugin.__init__cCs<|jdg�r4g}|j|jd��|j|jd��|SdSdS)NZunlabeled_trr�)rr)rr)Zmatches_target_types�appendZreport)rrZreportsr
r
r�analyzeTszplugin.analyzeN)r�
__module__�__qualname__rZsummaryZproblem_descriptionZfix_descriptionrr
rrrrrr
r
r
rrs	r)�gettextZtranslationrZsetroubleshoot.utilZsetroubleshoot.Pluginrrr
r
r
r�<module>s