File 0002-additional-tuned-rules-bnc-1088648.patch of Package polkit-default-privs.11808

From 7b38173f9d6d3a7b1331e30cfe34b8919aa5547e Mon Sep 17 00:00:00 2001
From: Matthias Gerstner <matthias.gerstner@suse.de>
Date: Wed, 11 Apr 2018 11:49:15 +0200
Subject: [PATCH 1/2] additional tuned rules (bnc#1088648)

---
 polkit-default-privs.restrictive | 4 ++++
 polkit-default-privs.standard    | 4 ++++
 2 files changed, 8 insertions(+)

diff --git a/polkit-default-privs.restrictive b/polkit-default-privs.restrictive
index 5dfc34d..094f328 100644
--- a/polkit-default-privs.restrictive
+++ b/polkit-default-privs.restrictive
@@ -777,8 +777,12 @@ com.redhat.tuned.reload				auth_admin:auth_admin:yes
 com.redhat.tuned.start				auth_admin:auth_admin:auth_admin
 com.redhat.tuned.stop				auth_admin:auth_admin:auth_admin
 com.redhat.tuned.switch_profile			auth_admin:auth_admin:yes
+# tuned (bsc#1048961)
 com.redhat.tuned.verify_profile			yes:yes:yes
 com.redhat.tuned.verify_profile_ignore_missing	yes:yes:yes
+# tuned (bsc#1088648)
+com.redhat.tuned.auto_profile			auth_admin:auth_admin:yes
+com.redhat.tuned.profile_mode			yes:yes:yes
 
 # fwupd (bsc#932807)
 org.freedesktop.fwupd.update-internal		auth_admin:no:auth_admin_keep
diff --git a/polkit-default-privs.standard b/polkit-default-privs.standard
index 048fc5c..4bc7ba3 100644
--- a/polkit-default-privs.standard
+++ b/polkit-default-privs.standard
@@ -840,8 +840,12 @@ com.redhat.tuned.reload				auth_admin:auth_admin:yes
 com.redhat.tuned.start				auth_admin:auth_admin:yes
 com.redhat.tuned.stop				auth_admin:auth_admin:yes
 com.redhat.tuned.switch_profile			auth_admin:auth_admin:yes
+# tuned (bsc#1048961)
 com.redhat.tuned.verify_profile			yes:yes:yes
 com.redhat.tuned.verify_profile_ignore_missing	yes:yes:yes
+# tuned (bsc#1088648)
+com.redhat.tuned.auto_profile			auth_admin:auth_admin:yes
+com.redhat.tuned.profile_mode			yes:yes:yes
 
 # backintime (bsc#1007723)
 net.launchpad.backintime.qt4gui			auth_admin:auth_admin:auth_admin
-- 
2.18.1