File: //usr/share/setroubleshoot/plugins/leaks.pyc
�
c�L]c @ s^ d d l Z e j d d e �Z e j Z d d l Td d l m Z d e f d � � YZ d S( i����Ns setroubleshoot-pluginst fallback( t *( t Plugint pluginc B sh e Z e d � Z e d � Z e d � Z d Z e d � Z e d � Z e d � Z d � Z
d � Z RS( 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>
t s� 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.sc You 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.ppc C s! t j | t � | j d � d S( Ni ( R t __init__t __name__t set_priority( t self( ( s* /usr/share/setroubleshoot/plugins/leaks.pyR / s c C s2 | j d k r. | j d d g � r. | j � Sd S( Nt execvet writet append( t syscallt has_any_access_int reportt None( R t avc( ( s* /usr/share/setroubleshoot/plugins/leaks.pyt analyze3 s $
( R t
__module__t _t summaryt problem_descriptiont fix_descriptiont fix_cmdt if_textt then_textt do_textR R ( ( ( s* /usr/share/setroubleshoot/plugins/leaks.pyR s ( t gettextt translationt TrueR t setroubleshoot.utilt setroubleshoot.PluginR R ( ( ( s* /usr/share/setroubleshoot/plugins/leaks.pyt <module> s