]> git.pld-linux.org Git - packages/systemd.git/commitdiff
- give systemd-logind access to /proc when it's mounted with hidepid option auto/th/systemd-198-5
authorJan Rękorajski <baggins@pld-linux.org>
Sun, 24 Mar 2013 15:48:22 +0000 (16:48 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Sun, 24 Mar 2013 15:48:22 +0000 (16:48 +0100)
- rel 5

proc-hidepid.patch [new file with mode: 0644]
systemd.spec

diff --git a/proc-hidepid.patch b/proc-hidepid.patch
new file mode 100644 (file)
index 0000000..6a0fad2
--- /dev/null
@@ -0,0 +1,10 @@
+--- systemd-198/units/systemd-logind.service.in~       2012-07-19 12:46:25.831148364 +0200
++++ systemd-198/units/systemd-logind.service.in        2013-03-24 16:39:38.798689883 +0100
+@@ -21,3 +21,7 @@
+ # Increase the default a bit in order to allow many simultaneous
+ # logins since we keep one fd open per session.
+ LimitNOFILE=16384
++
++# Run as group 'proc' to ensure access to /proc when
++# it is mounted with hidepid=1|2 option
++Group=17
index 0aea471bea227fc969259a521fb02181cb06a8bf..845e9bba0cd038e8b79d6fb45e999c85bc0a3f63 100644 (file)
@@ -15,7 +15,7 @@ Summary(pl.UTF-8):    systemd - zarządca systemu i usług dla Linuksa
 Name:          systemd
 # Verify ChangeLog and NEWS when updating (since there are incompatible/breaking changes very often)
 Version:       198
-Release:       4
+Release:       5
 Epoch:         1
 License:       GPL v2+ (udev), LGPL v2.1+ (the rest)
 Group:         Base
@@ -57,6 +57,7 @@ Patch9:               udevadm-in-sbin.patch
 Patch10:       net-rename-revert.patch
 Patch11:       nss-in-rootlib.patch
 Patch12:       systemctl-path.patch
+Patch13:       proc-hidepid.patch
 URL:           http://www.freedesktop.org/wiki/Software/systemd
 BuildRequires: acl-devel
 BuildRequires: attr-devel
@@ -569,6 +570,7 @@ Wiązania do Systemd dla Pythona.
 %patch10 -p1
 %patch11 -p1
 %patch12 -p1
+%patch13 -p1
 cp -p %{SOURCE2} src/systemd_booted.c
 
 %{__mv} units/initrd-cleanup.service{,.in}
This page took 0.227287 seconds and 4 git commands to generate.