관리-도구
편집 파일: leaks.cpython-39.opt-1.pyc
a �Z`� � @ sD d dl Z e jddd�Zej Zd dlT d dlmZ G dd� de�ZdS ) � Nzsetroubleshoot-pluginsT)Zfallback)�*)�Pluginc @ sP e Zd Zed�Zed�Zed�ZdZed�Zed�Z ed�Z dd � Zd d� ZdS ) �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 <a href="http://docs.fedoraproject.org/selinux-faq-fc5/#id2961385">FAQ</a> � z�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.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.ppc C s t �| t� | �d� d S )N� )r �__init__�__name__Zset_priority)�self� r �*/usr/share/setroubleshoot/plugins/leaks.pyr / s zplugin.__init__c C s$ |j dkr |�ddg�r | �� S d S )N�execve�write�append)ZsyscallZhas_any_access_inZreport)r Zavcr r r �analyze3 s zplugin.analyzeN) r � __module__�__qualname__�_ZsummaryZproblem_descriptionZfix_descriptionZfix_cmdZif_textZ then_textZdo_textr r r r r r r s r )�gettextZtranslationr Zsetroubleshoot.utilZsetroubleshoot.Pluginr r r r r r �<module> s