commit c88a6447f53e81cb68e8ce85746f276a9c701fe0
Author: Jan Rękorajski <[email protected]>
Date: Sun Mar 24 19:31:23 2013 +0100
- add polkitd user to proc group to allow access to /proc mounted with
hidepid option
- rel 3
polkit.spec | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/polkit.spec b/polkit.spec
index f01cbaf..fc599df 100644
--- a/polkit.spec
+++ b/polkit.spec
@@ -7,7 +7,7 @@ Summary: A framework for defining policy for system-wide
components
Summary(pl.UTF-8): Szkielet do definiowania polityki dla komponentów
systemowych
Name: polkit
Version: 0.110
-Release: 2
+Release: 3
License: LGPL v2+
Group: Libraries
Source0:
http://www.freedesktop.org/software/polkit/releases/%{name}-%{version}.tar.gz
@@ -149,6 +149,7 @@ rm -rf $RPM_BUILD_ROOT
%pre
%groupadd -g 283 polkitd
%useradd -u 283 -s /bin/false -c "polkitd pseudo user" -g polkitd polkitd
+%addusertogroup polkitd proc
%postun
if [ "$1" = "0" ]; then
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/polkit.git/commitdiff/c88a6447f53e81cb68e8ce85746f276a9c701fe0
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit