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/leaks.pyc
�
c�L]c@s^ddlZejdde�ZejZddlTddlmZdefd��YZdS(i����Nssetroubleshoot-pluginstfallback(t*(tPlugintplugincBsheZed�Zed�Zed�ZdZed�Zed�Zed�Z	d�Z
d�ZRS(	s]
    SELinux is preventing $SOURCE_PATH access to a leaked $TARGET_PATH file descriptor.
    s.
    SELinux denied access requested by the $SOURCE command. It looks like this is either a leaked descriptor or $SOURCE output was redirected to a file it is not allowed to access.  Leaks usually can be ignored since SELinux is just closing the leak and reporting the error.  The application does not use the descriptor, so it will run properly.  If this is a redirection, you will not get output in the $TARGET_PATH.  You should generate a bugzilla on selinux-policy, and it will get routed to the appropriate package.  You can safely ignore this avc.
    s�
    You can generate a local policy module to allow this
    access - see <a href="http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385">FAQ</a>
    ts�If you want to ignore $SOURCE_BASE_PATH trying to $ACCESS access the $TARGET_BASE_PATH $TARGET_CLASS, because you believe it should not need this access.scYou should report this as a bug.  
You can generate a local policy module to dontaudit this access.s[# ausearch -x $SOURCE_PATH --raw | audit2allow -D -M my-$SOURCE
# semodule -i my-$SOURCE.ppcCs!tj|t�|jd�dS(Ni(Rt__init__t__name__tset_priority(tself((s*/usr/share/setroubleshoot/plugins/leaks.pyR/scCs2|jdkr.|jddg�r.|j�SdS(Ntexecvetwritetappend(tsyscallthas_any_access_intreporttNone(Rtavc((s*/usr/share/setroubleshoot/plugins/leaks.pytanalyze3s$
(Rt
__module__t_tsummarytproblem_descriptiontfix_descriptiontfix_cmdtif_textt	then_texttdo_textRR(((s*/usr/share/setroubleshoot/plugins/leaks.pyRs					(tgettextttranslationtTrueRtsetroubleshoot.utiltsetroubleshoot.PluginRR(((s*/usr/share/setroubleshoot/plugins/leaks.pyt<module>s