| Server IP : 188.151.22.197 / Your IP : 216.73.217.74 Web Server : Apache/2.4.62 (Rocky Linux) OpenSSL/3.5.5 System : Linux wsten.se 5.14.0-687.30.1.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Jul 27 13:09:21 UTC 2026 x86_64 User : apache ( 48) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/setroubleshoot/plugins/__pycache__/ |
Upload File : |
a
�Z` � @ sd d dl Z e jddd�Zej Zd dlT d dlmZ d dlZd dlT d dlZd dlZG dd� de�Z dS ) � Nzsetroubleshoot-pluginsT)Zfallback)�*)�Pluginc @ sT e Zd Zed�ZdZed�Zdd� Zed�Zdd� Z ed �Z
d
Zdd� Zd
d� Z
dS )�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 C s t d�|d 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�args� r �6/usr/share/setroubleshoot/plugins/restorecon_source.py�get_problem_description, s
�zplugin.get_problem_descriptionzGIf you want to fix the label.
$SOURCE_PATH default label should be %s.c C s | j |d S )Nr )�if_textr r r r �get_if_text>