관리-도구
편집 파일: mozplugger.cpython-39.pyc
a �Z`+ � @ 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. mozplugger and 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 Firefox plugins. setsebool -P unconfined_mozilla_plugin_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/mozplugger.py�get_if_text( s zplugin.get_if_textz:you must turn off SELinux controls on the Firefox plugins.z5# setsebool -P unconfined_mozilla_plugin_transition 0z3setsebool -P unconfined_mozilla_plugin_transition 0c C s t �| t� | �d� d S )N�K )r �__init__�__name__Zset_priority)r r r r r 0 s zplugin.__init__c C sh |� dg�rdg }td�r(|�| �d�� td�r@|�| �d�� t|�dkrP|S |�| �d�� |S d S )NZmozilla_plugin_t� mozplugger)r N� spice-xpi)r Nr )r N)Zmatches_source_typesZget_package_nvr_by_name�appendZreport�len)r r Zreportsr r r �analyze4 s zplugin.analyzeN)r � __module__�__qualname__�_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