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__/associate.cpython-36.opt-1.pyc
3

m��a��@s\ddlZejddd�ZejZddlTddlmZddlZddlTddlZGdd�de�Z	dS)	�Nzsetroubleshoot-pluginsT)Zfallback)�*)�Pluginc@sHeZdZed�Zdd�Zed�Zdd�Zed�ZdZ	d	d
�Z
dd�Zd
S)�pluginzN
    SELinux is preventing $SOURCE_PATH "$ACCESS" access to $TARGET_PATH.
    cCstd�|dS)Nz�
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

    �)�_)�self�avc�args�r
�./usr/share/setroubleshoot/plugins/associate.py�get_problem_description$szplugin.get_problem_descriptionzpIf 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)Nr)�if_text)rrr	r
r
r�get_if_text.szplugin.get_if_textz!you must pick a valid file label.zXselect a valid file type.  List valid file labels by executing: 
# seinfo -afile_type -xcCstj|t�|jd�dS)N�d)r�__init__�__name__Zset_priority)rr
r
rr4szplugin.__init__cCsL|jjtkrH|jdg�r*|jd|jjf�S|jdg�rH|jd|jjf�SdS)NZ	relabeltorZ	associate)Ztcontext�typeZ
file_typesZall_accesses_are_inZreportZscontext)rrr
r
r�analyze8szplugin.analyzeN)r�
__module__�__qualname__rZsummaryrr
rZ	then_textZdo_textrrr
r
r
rrsr)
�gettextZtranslationrZsetroubleshoot.utilZsetroubleshoot.Pluginr�os�statZselinuxrr
r
r
r�<module>s