← Back
Editing: dac_override.cpython-312.pyc
� �Z`k � �x � d dl Z e j dd�� Zej Zd dl� d dlmZ G d� de� Zy) � Nzsetroubleshoot-pluginsT)�fallback)�*)�Pluginc �p � e Zd Z ed� Z ed� ZdZdZ ed� Z ed� Z ed� Z d� Zd� Zy ) �pluginzF SELinux is preventing $SOURCE_PATH the "$ACCESS" capability. z� dac_override and dac_read_search capabilities usually indicates that the root process does not have access to a file based on the permission flags. This usually mean you have some file with the wrong ownership/permissions on it. � zuIf you want to help identify if domain needs this access or you have a file with the wrong permissions on your systemzdturn on full auditing to get path information about the offending file and generate the error again.z� Turn on full auditing # auditctl -w /etc/shadow -p w Try to recreate AVC. Then execute # ausearch -m avc -ts recent If you see PATH record check ownership/permissions on file, and fix it, otherwise report as a bugzilla.c �F � t j | t � d| _ y )N�green)r �__init__�__name__�level)�selfs �1/usr/share/setroubleshoot/plugins/dac_override.pyr zplugin.__init__0 s � �����h�'��� � c �J � |j ddg� r| j � S y )N�dac_override�dac_read_search)�has_any_access_in�report)r �avcs r �analyzezplugin.analyze4 s% � �� � �.�1B�!C�D��;�;�=� �r N) r � __module__�__qualname__�_�summary�problem_description�fix_description�fix_cmd�if_text� then_text�do_textr r � r r r r sd � � � � �G� � � �� �O��G�� H� I�G��x�y�I�� #� $�G��r r )�gettext�translationr �setroubleshoot.util�setroubleshoot.Pluginr r r"