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/mounton.pyc
�
c�L]c@s^ddlZejdde�ZejZddlTddlmZdefd��YZdS(i����Nssetroubleshoot-pluginstfallback(t*(tPlugintplugincBsbeZed�Zed�Zed�Zed�Zed�ZdZdZ	d�Z
d�ZRS(	st
    SELinux prevented $SOURCE from mounting on the file or directory
    "$TARGET_PATH" (type "$TARGET_TYPE").
    s�
    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.
    s(
    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'"
    sEIf you want to allow $SOURCE_BASE_PATH to mount on $TARGET_BASE_PATH.s-you must change the labeling on $TARGET_PATH.sO# semanage fcontext -a -t mnt_t '$FIX_TARGET_PATH'
# restorecon -v $TARGET_PATHschcon -t mnt_t '$TARGET_PATH'cCstj|t�dS(N(Rt__init__t__name__(tself((s,/usr/share/setroubleshoot/plugins/mounton.pyR7scCsB|jdg�r:|jdg�r:|j�r:|j�SdSdS(Ntmount_ttmounton(tmatches_source_typesthas_any_access_intpath_is_not_standard_directorytreporttNone(Rtavc((s,/usr/share/setroubleshoot/plugins/mounton.pytanalyze:s

(Rt
__module__t_tsummarytproblem_descriptiontfix_descriptiontif_textt	then_texttdo_texttfix_cmdRR(((s,/usr/share/setroubleshoot/plugins/mounton.pyRs				(tgettextttranslationtTrueRtsetroubleshoot.utiltsetroubleshoot.PluginRR(((s,/usr/share/setroubleshoot/plugins/mounton.pyt<module>s