forked from pool/systemd
38fe6dfa6d
- Make baselibs.conf aware to use the appropiate %post and %postun scriptlets which includes pam-config (bnc#877674) - Add upstram patches 0001-core-close-socket-fds-asynchronously.patch 0002-logind-bring-polkit-policy-for-hibernate-in-line-wit.patch 0003-core-make-sure-to-serialize-jobs-for-all-units.patch - Add upstram patches 0001-replace-more-dup-by-F_DUPFD_CLOEXEC.patch 0002-pam_systemd-use-F_DUPFD_CLOEXEC-when-dupping-session.patch to avoid that in pam session unwanted file descriptors are inherited - Make baselibs.conf aware to use the appropiate %post and %postun scriptlets which includes pam-config (bnc#877674) - Add upstram patches 0001-core-close-socket-fds-asynchronously.patch 0002-logind-bring-polkit-policy-for-hibernate-in-line-wit.patch 0003-core-make-sure-to-serialize-jobs-for-all-units.patch - Add upstram patches 0001-replace-more-dup-by-F_DUPFD_CLOEXEC.patch 0002-pam_systemd-use-F_DUPFD_CLOEXEC-when-dupping-session.patch to avoid that in pam session unwanted file descriptors are inherited OBS-URL: https://build.opensuse.org/request/show/234299 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=187
29 lines
1.1 KiB
Diff
29 lines
1.1 KiB
Diff
From 301f9684e6465df5d0590f6c571fe3229ded966d Mon Sep 17 00:00:00 2001
|
|
From: Lennart Poettering <lennart@poettering.net>
|
|
Date: Thu, 15 May 2014 18:30:07 +0200
|
|
Subject: [PATCH] logind: bring polkit policy for hibernate in line with
|
|
suspend/poweroff/reboot
|
|
|
|
THere's no reason why hibernate should be better protected then
|
|
suspendor poweroff, so sync the policies.
|
|
---
|
|
src/login/org.freedesktop.login1.policy.in | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git src/login/org.freedesktop.login1.policy.in src/login/org.freedesktop.login1.policy.in
|
|
index b96d32d..b8e90f1 100644
|
|
--- src/login/org.freedesktop.login1.policy.in
|
|
+++ src/login/org.freedesktop.login1.policy.in
|
|
@@ -254,7 +254,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.hibernate</annotate>
|
|
</action>
|
|
--
|
|
1.7.9.2
|
|
|