← Back
Editing: restorecon_source.cpython-312.opt-1.pyc
� �Z` � � � d dl Z e j dd�� Zej Zd dl� d dlmZ d dlZd dl� d dlZd dlZ G d� de� Z y) � Nzsetroubleshoot-pluginsT)�fallback)�*)�Pluginc �l � e Zd Z ed� ZdZ ed� Zd� Z ed� Zd� Z ed� Z dZd � Zd � Z y)�pluginzN SELinux is preventing $SOURCE_PATH "$ACCESS" access to $TARGET_PATH. z/sbin/restorecon $SOURCE_PATHz� You can restore the default system context to this file by executing the restorecon command. restorecon '$SOURCE_PATH'. c �$ � t d� |d z S )Nam SELinux denied access requested by $SOURCE. $SOURCE_PATH may be mislabeled. $SOURCE_PATH default SELinux type is <B>%s</B>, but its current type is <B>$SOURCE_TYPE</B>. Changing this file back to the default type may fix your problem. <p> This file could have been mislabeled either by user error, or if an normally confined application was run under the wrong domain. <p> However, this might also indicate a bug in SELinux because the file should not have been labeled with this type. <p> If you believe this is a bug, please file a bug report against this package. � )�_��self�avc�argss �6/usr/share/setroubleshoot/plugins/restorecon_source.py�get_problem_descriptionzplugin.get_problem_description, s"