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

m��a�	�@sDddlZejddd�ZejZddlTddlmZGdd�de�ZdS)	�Nzsetroubleshoot-pluginsT)Zfallback)�*)�Pluginc@sLeZdZed�Zed�Zed�Zed�Zed�ZdZ	dZ
dd	�Zd
d�ZdS)
�pluginzt
    SELinux prevented $SOURCE from mounting on the file or directory
    "$TARGET_PATH" (type "$TARGET_TYPE").
    a�
    SELinux prevented $SOURCE from mounting a filesystem on the file
    or directory "$TARGET_PATH" of type "$TARGET_TYPE". By default
    SELinux limits the mounting of filesystems to only some files or
    directories (those with types that have the mountpoint attribute). The
    type "$TARGET_TYPE" does not have this attribute. You can change the
    label of the file or directory.
    a(
    Changing the file_context to mnt_t will allow mount to mount the file system:
    "chcon -t mnt_t '$TARGET_PATH'."
    You must also change the default file context files on the system in order to preserve them even on a full relabel.  "semanage fcontext -a -t mnt_t '$FIX_TARGET_PATH'"
    zEIf you want to allow $SOURCE_BASE_PATH to mount on $TARGET_BASE_PATH.z-you must change the labeling on $TARGET_PATH.zO# semanage fcontext -a -t mnt_t '$FIX_TARGET_PATH'
# restorecon -v $TARGET_PATHzchcon -t mnt_t '$TARGET_PATH'cCstj|t�dS)N)r�__init__�__name__)�self�r�,/usr/share/setroubleshoot/plugins/mounton.pyr7szplugin.__init__cCs0|jdg�r(|jdg�r(|j�r(|j�SdSdS)NZmount_tZmounton)Zmatches_source_typesZhas_any_access_inZpath_is_not_standard_directoryZreport)rZavcrrr	�analyze:s
zplugin.analyzeN)
r�
__module__�__qualname__�_ZsummaryZproblem_descriptionZfix_descriptionZif_textZ	then_textZdo_textZfix_cmdrr
rrrr	rsr)�gettextZtranslationr
Zsetroubleshoot.utilZsetroubleshoot.Pluginrrrrrr	�<module>s