HEX
Server: Apache/2.4.62 (Unix) OpenSSL/1.1.1k
System: Linux ns565604.ip-54-39-133.net 4.18.0-553.50.1.el8_10.x86_64 #1 SMP Tue Apr 15 08:09:22 EDT 2025 x86_64
User: greer489 (1034)
PHP: 8.3.19
Disabled: NONE
Upload Files
File: //usr/share/setroubleshoot/plugins/__pycache__/chrome.cpython-36.pyc
3

nm�ai
�@sDddlZejddd�ZejZddlTddlmZGdd�de�ZdS)	�Nzsetroubleshoot-pluginsT)Zfallback)�*)�Pluginc@sTeZdZed�Zed�Zed�Zed�Zdd�Zed�Z	dZ
d	Zd
d�Zdd
�Z
dS)�pluginz4SELinux is preventing $SOURCE_PATH "$ACCESS" access.a�
    SELinux denied access requested by $SOURCE. It is not expected that this access is required by $SOURCE and this access may signal an intrusion attempt. It is also possible that the specific version or configuration of the application is causing it to require additional access.  spice-xpi run applications within mozilla-plugins that require access to the desktop, that the mozilla_plugin lockdown will not allow, so either you need to turn off the mozilla_plugin lockdown or not use these packages.
    z�
Either remove the mozplugger or spice-xpi package by executing 'yum remove mozplugger spice-xpi', or turn off enforcement of SELinux over the Chrome plugins. setsebool -P unconfined_chrome_sandbox_transition 0
    z!If you want to use the %s packagecCs|j|dS)Nr)�if_text)�self�avc�args�r	�+/usr/share/setroubleshoot/plugins/chrome.py�get_if_text(szplugin.get_if_textz9you must turn off SELinux controls on the Chrome plugins.z5# setsebool -P unconfined_chrome_sandbox_transition 0z=/usr/sbin/setsebool -P unconfined_chrome_sandbox_transition 0cCs*tj|t�d|_td�|_|jd�dS)NTz*Disable SELinux controls on Chrome plugins�2)r�__init__�__name__Zfixable�_Zbutton_textZset_priority)rr	r	r
r
0s
zplugin.__init__cCs4|jdg�r0g}|j|jd��t|�dkr0|SdS)NZchrome_sandbox_trr)rN)Zmatches_source_types�appendZreport�len)rrZreportsr	r	r
�analyze6szplugin.analyzeN)r�
__module__�__qualname__rZsummaryZproblem_descriptionZfix_descriptionrrZ	then_textZdo_textZfix_cmdr
rr	r	r	r
rsr)�gettextZtranslationrZsetroubleshoot.utilZsetroubleshoot.Pluginrrr	r	r	r
�<module>s