forked from pool/systemd
a4023d0c37
- Fix patch tty-ask-password-agent-on-console.patch not to crash away but enable it to ask on all devices of /dev/console - Avoid "file not found /etc/udev/rules.d/70-persistent-net.rules" waring occurring in %post - Add patch let-vconsole-setup-get-properties-only-once-to-copy-them.patch to avoid broken virtual console mapping due stressed ioctl API for the virtual consoles (boo#904214) - Fix last change that is use the new name for udev packages in %pretrans. - restore usage of LUA in %pretrans. - Try to generate the systemd users and groups always in same order to avoid republish other packages (boo#944660) - cleanup specfile by removing commands that were dealing with systemd pre-generated files: we're now using systemd tarball generated directly from the git repo which doesn't contain any of these files. - there's no point in using LUA in %pretrans - Drop 0009-make-xsltproc-use-correct-ROFF-links.patch This patch was initialy added to workaround bsc#842844. But it appears that man(1) was fixed (included since 13.2 at least) to handle manual pages that consist only of a .so directive such as '.so <page>'. - Change use-rndaddentropy-ioctl-to-load-random-seed.patch to make it work on big endian OBS-URL: https://build.opensuse.org/request/show/333777 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=223
41 lines
1.5 KiB
Diff
41 lines
1.5 KiB
Diff
From: Frederic Crozat <fcrozat@suse.com>
|
|
Date: Wed, 7 Dec 2011 15:15:07 +0000
|
|
Subject: Fix /run/lock directories permissions to follow openSUSE policy
|
|
|
|
disable /var/lock/{subsys,lockdev} and change default permissions on
|
|
/var/lock (bnc#733523).
|
|
---
|
|
tmpfiles.d/legacy.conf | 7 ++++---
|
|
1 file changed, 4 insertions(+), 3 deletions(-)
|
|
|
|
Index: systemd-221/tmpfiles.d/legacy.conf
|
|
===================================================================
|
|
--- systemd-221.orig/tmpfiles.d/legacy.conf
|
|
+++ systemd-221/tmpfiles.d/legacy.conf
|
|
@@ -10,13 +10,14 @@
|
|
# These files are considered legacy and are unnecessary on legacy-free
|
|
# systems.
|
|
|
|
-d /run/lock 0755 root root -
|
|
+# changed for openSUSE: only /run/lock should be available.
|
|
+d /run/lock 0775 root lock -
|
|
L /var/lock - - - - ../run/lock
|
|
|
|
# /run/lock/subsys is used for serializing SysV service execution, and
|
|
# hence without use on SysV-less systems.
|
|
|
|
-d /run/lock/subsys 0755 root root -
|
|
+#d /run/lock/subsys 0755 root root -
|
|
|
|
# /run/lock/lockdev is used to serialize access to tty devices via
|
|
# LCK..xxx style lock files, For more information see:
|
|
@@ -24,7 +25,7 @@ d /run/lock/subsys 0755 root root -
|
|
# On modern systems a BSD file lock is a better choice if
|
|
# serialization is needed on those devices.
|
|
|
|
-d /run/lock/lockdev 0775 root lock -
|
|
+#d /run/lock/lockdev 0775 root lock -
|
|
|
|
# /forcefsck, /fastboot and /forcequotacheck are deprecated in favor of the
|
|
# kernel command line options 'fsck.mode=force', 'fsck.mode=skip' and
|