File: //usr/share/setroubleshoot/plugins/__pycache__/chrome.cpython-36.pyc
3
nm�ai
� @ sD d dl Z e jddd�Zej Zd dlT d dlmZ G dd� de�ZdS ) � Nzsetroubleshoot-pluginsT)Zfallback)�*)�Pluginc @ sT e Zd Zed�Zed�Zed�Zed�Zdd� Zed�Z dZ
d Zd
d� Zdd
� 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 packagec C s | j |d S )Nr )�if_text)�self�avc�args� r �+/usr/share/setroubleshoot/plugins/chrome.py�get_if_text( s zplugin.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 0c C s* t j| t� d| _td�| _| jd� d S )NTz*Disable SELinux controls on Chrome plugins�2 )r �__init__�__name__Zfixable�_Zbutton_textZset_priority)r r r r
r
0 s
zplugin.__init__c C s4 |j dg�r0g }|j| jd�� t|�dkr0|S d S )NZchrome_sandbox_tr r )r N)Zmatches_source_types�appendZreport�len)r r Zreportsr r r
�analyze6 s zplugin.analyzeN)r �
__module__�__qualname__r ZsummaryZproblem_descriptionZfix_descriptionr r Z then_textZdo_textZfix_cmdr
r r r r r
r s r )�gettextZtranslationr Zsetroubleshoot.utilZsetroubleshoot.Pluginr r r r r r
�<module> s