dbfdg 3 nma @sDddlZejdddZejZddlTddlmZGdddeZdS) Nzsetroubleshoot-pluginsT)Zfallback)*)Pluginc@sPeZdZedZedZedZdZedZedZ edZ dd Z d d Z d S) pluginz] SELinux is preventing $SOURCE_PATH access to a leaked $TARGET_PATH file descriptor. a. 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. z You can generate a local policy module to allow this access - see FAQ zIf 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.zcYou should report this as a bug. You can generate a local policy module to dontaudit this access.zb# ausearch -x $SOURCE_PATH --raw | audit2allow -D -M my-$SOURCE # semodule -X 300 -i my-$SOURCE.ppcCstj|t|jddS)N)r__init____name__Z set_priority)selfr */usr/share/setroubleshoot/plugins/leaks.pyr/s zplugin.__init__cCs$|jdkr |jddgr |jSdS)Nexecvewriteappend)ZsyscallZhas_any_access_inZreport)r Zavcr r r analyze3szplugin.analyzeN) r __module__ __qualname___ZsummaryZproblem_descriptionZfix_descriptionZfix_cmdZif_textZ then_textZdo_textrrr r r r rsr)gettextZ translationrZsetroubleshoot.utilZsetroubleshoot.Pluginrrr r r r s