c446b5bdf8
- Enable Predictable Network interface names (bnc#829526). - version 207, distribution specific changes follow, for overall release notes see NEWS. - Fixed: * Failed at step PAM spawning /usr/lib/systemd/systemd: Operation not permitted * Fix shutdown hang "a stop job is running for Session 1 of user root" that was reported in opensuse-factory list. - systemd-sysctl no longer reads /etc/sysctl.conf however backward compatbility is to be provides by a symlink created at %post. - removed previously disabled upstream patches (merged): 0002-core-mount.c-mount_dump-don-t-segfault-if-mount-is-n.patch, 0004-disable-the-cgroups-release-agent-when-shutting-down.patch, 0005-cgroups-agent-remove-ancient-fallback-code-turn-conn.patch, 0006-suppress-status-message-output-at-shutdown-when-quie.patch, - removed upstream merged patches: exclude-dev-from-tmpfiles.patch, logind_update_state_file_after_generating_....patch - Add systemd-pam_config.patch: use correct include name for PAM configuration on openSUSE. - Add exclude-dev-from-tmpfiles.patch: allow to exclude /dev from tmpfiles (bnc#835813). OBS-URL: https://build.opensuse.org/request/show/198848 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/systemd?expand=0&rev=155
38 lines
1.4 KiB
Diff
38 lines
1.4 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(-)
|
|
|
|
--- systemd-206_git201308300826.orig/tmpfiles.d/legacy.conf
|
|
+++ systemd-206_git201308300826/tmpfiles.d/legacy.conf
|
|
@@ -10,12 +10,13 @@
|
|
# 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 -
|
|
|
|
# /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:
|
|
@@ -23,7 +24,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 /forcequotecheck are deprecated in favor of the
|
|
# kernel command line options 'fsck.mode=force', 'fsck.mode=skip' and
|