Commit 9bce49eb authored by Martin Pitt's avatar Martin Pitt
Browse files

Fix polkit permissions for rebooting with multiple sessions

Cherry-picked from upstream.
parent 11d77f59
......@@ -38,6 +38,8 @@ systemd (204-9) UNRELEASED; urgency=medium
* Set default polling interval on removable devices as well, for kernels
which have "block" built in instead of being a module. (Closes: #713877)
* Make sd_login_monitor_new() work for logind without systemd.
* Cherry-pick upstream fix for polkit permissions for rebooting with
multiple sessions.
[ Marco d'Itri ]
* preinst: check for all the system calls required by modern releases
......
From: Lennart Poettering <lennart@poettering.net>
Date: Thu, 26 Sep 2013 18:31:37 +0000
Subject: logind: if a user is sitting in front of the computer and can
shutdown the machine anyway he should also be able to reboot it
---
src/login/org.freedesktop.login1.policy.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/login/org.freedesktop.login1.policy.in b/src/login/org.freedesktop.login1.policy.in
index 0c551d4..b96d32d 100644
--- a/src/login/org.freedesktop.login1.policy.in
+++ b/src/login/org.freedesktop.login1.policy.in
@@ -190,7 +190,7 @@
<defaults>
<allow_any>auth_admin_keep</allow_any>
<allow_inactive>auth_admin_keep</allow_inactive>
- <allow_active>auth_admin_keep</allow_active>
+ <allow_active>yes</allow_active>
</defaults>
<annotate key="org.freedesktop.policykit.imply">org.freedesktop.login1.reboot</annotate>
</action>
......@@ -51,3 +51,4 @@
0051-Updates-to-default-device-permissions.patch
0052-Set-default-polling-interval-on-removable-devices-as.patch
0053-Make-sd_login_monitor_new-work-for-logind-without-sy.patch
0054-logind-if-a-user-is-sitting-in-front-of-the-computer.patch
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment