From a2b85788fa263f3c1e0db9990420952c1fd2fb17 Mon Sep 17 00:00:00 2001 From: Vit Mojzis Date: Jun 06 2017 11:29:44 +0000 Subject: plugins/chrome: Update "fix_cmd" and enable "fix" button Signed-off-by: Vit Mojzis --- diff --git a/plugins/src/chrome.py b/plugins/src/chrome.py index 81b68d8..3074897 100644 --- a/plugins/src/chrome.py +++ b/plugins/src/chrome.py @@ -43,10 +43,12 @@ Either remove the mozplugger or spice-xpi package by executing 'yum remove mozpl then_text = _("you must turn off SELinux controls on the Chrome plugins.") do_text = """# setsebool -P unconfined_chrome_sandbox_transition 0""" - fix_cmd = "setsebool -P unconfined_chrome_sandbox_transition 0" + fix_cmd = "/usr/sbin/setsebool -P unconfined_chrome_sandbox_transition 0" def __init__(self): Plugin.__init__(self, __name__) + self.fixable = True + self.button_text = _("Disable SELinux controls on Chrome plugins") self.set_priority(50) def analyze(self, avc):