dbfdg 3 nmai @sDddlZejdddZejZddlTddlmZGdddeZdS) Nzsetroubleshoot-pluginsT)Zfallback)*)Pluginc@sTeZdZedZedZedZedZddZedZ dZ d Z d 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)selfavcargsr +/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|td|_td|_|jddS)NTz*Disable SELinux controls on Chrome plugins2)r__init____name__Zfixable_Z button_textZ set_priority)rr r r r 0s  zplugin.__init__cCs4|jdgr0g}|j|jdt|dkr0|SdS)NZchrome_sandbox_trr)rN)Zmatches_source_typesappendZreportlen)rrZreportsr r r analyze6s   zplugin.analyzeN)r __module__ __qualname__rZsummaryZproblem_descriptionZfix_descriptionrr Z then_textZdo_textZfix_cmdr rr r r r rsr)gettextZ translationrZsetroubleshoot.utilZsetroubleshoot.Pluginrrr r r r s