관리-도구
편집 파일: catchall_labels.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�������������������@���s4���e�Zd�Zed�Zed�Zdd��Zdd��Zdd��Zd S�) �plugina��� SELinux has denied the $SOURCE access to potentially mislabeled files $TARGET_PATH. This means that SELinux will not allow httpd to use these files. If httpd should be allowed this access to these files you should change the file context to one of the following types, %s. Many third party apps install html files in directories that SELinux policy cannot predict. These directories have to be labeled with a file context which httpd can access. z0You need to change the label on $FIX_TARGET_PATHc�����������������C���s���t�d�d�|��S�)Nz�# semanage fcontext -a -t FILE_TYPE '$FIX_TARGET_PATH' where FILE_TYPE is one of the following: %s. Then execute: restorecon -v '$FIX_TARGET_PATH' z, )�_�join)�self�avc�args��r ����4/usr/share/setroubleshoot/plugins/catchall_labels.py�get_do_text'���s�����zplugin.get_do_textc�����������������C���s���t��|�t��|��d��d�S�)N����)r����__init__�__name__Zset_priority)r���r ���r ���r���r���.���s����zplugin.__init__c�����������������C���s@���|j�dkr<|�g�d��r<|�g�d��r<|���}|r<|��|�S�d�S�)N�execve)Zunlabeled_tZusr_tZetc_tZmnt_tZvar_tZ var_lib_tZ default_t)�dir�fileZlnk_fileZ sock_file)ZsyscallZmatches_target_typesZ has_tclass_inZallowed_target_typesZreport)r���r���Z allowed_typesr ���r ���r����analyze2���s����� zplugin.analyzeN) r���� __module__�__qualname__r���Zproblem_descriptionZ then_textr���r���r���r ���r ���r ���r���r������s ��� r���)�gettextZtranslationr���Zsetroubleshoot.utilZsetroubleshoot.Pluginr���r���r ���r ���r ���r����<module>���s ���