Accepting request 155919 from Base:System

- whitelist PackageKit / systemd offline update permissions, currently admin only
- more systemd allows to make rpmlint happier bnc#783897 (forwarded request 155832 from msmeissn)

OBS-URL: https://build.opensuse.org/request/show/155919
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/polkit-default-privs?expand=0&rev=78
This commit is contained in:
Stephan Kulow 2013-02-21 09:44:05 +00:00 committed by Git OBS Bridge
commit b37be2d698
4 changed files with 9 additions and 23 deletions

View File

@ -1,18 +0,0 @@
Index: polkit-default-privs-12.3/polkit-default-privs.standard
===================================================================
--- polkit-default-privs-12.3.orig/polkit-default-privs.standard
+++ polkit-default-privs-12.3/polkit-default-privs.standard
@@ -347,6 +347,13 @@ org.freedesktop.login1.inhibit-handle-po
org.freedesktop.login1.inhibit-handle-suspend-key auth_admin_keep
org.freedesktop.login1.inhibit-handle-hibernate-key auth_admin_keep
org.freedesktop.login1.inhibit-handle-lid-switch auth_admin_keep
+# even more
+org.freedesktop.login1.inhibit-delay-shutdown auth_admin_keep
+org.freedesktop.login1.inhibit-delay-sleep auth_admin_keep
+org.freedesktop.login1.inhibit-block-idle auth_admin_keep
+org.freedesktop.login1.suspend auth_admin_keep:auth_admin_keep:yes
+org.freedesktop.login1.suspend-multiple-sessions auth_admin_keep:auth_admin_keep:yes
+org.freedesktop.login1.hibernate auth_admin_keep:auth_admin_keep:yes
# gnome-control-center

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:10c6f09ea07ae0af0028be7d9ed87c5e9434ec366339f24516858924b434e609
size 17803
oid sha256:3e3b186d63111a5d213d6600ba72ec19c7aa70930700cd1089d853626e45f577
size 17925

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Tue Feb 19 16:14:48 UTC 2013 - meissner@suse.com
- whitelist PackageKit / systemd offline update permissions, currently admin only
- more systemd allows to make rpmlint happier bnc#783897
-------------------------------------------------------------------
Fri Nov 2 10:08:33 UTC 2012 - meissner@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package polkit-default-privs
#
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -24,7 +24,6 @@ Summary: SUSE PolicyKit default permissions
License: GPL-2.0+
Group: Productivity/Security
Source: polkit-default-privs-%version.tar.bz2
Patch0: more-systemd.diff
BuildRoot: %{_tmppath}/%{name}-%{version}-build
Supplements: PolicyKit
Supplements: libpolkit0, polkit
@ -43,7 +42,6 @@ Authors:
%prep
%setup -q
%patch0 -p1
%build