]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
tmpfiles: drop /run/lock/lockdev 2491/head
authorMartin Pitt <martin.pitt@ubuntu.com>
Mon, 1 Feb 2016 11:09:34 +0000 (12:09 +0100)
committerMartin Pitt <martin.pitt@ubuntu.com>
Mon, 1 Feb 2016 11:16:24 +0000 (12:16 +0100)
Hardly any software uses that any more, and better locking mechanisms like
flock() have been available for many years.

Also drop the corresponding "lock" group from sysusers.d/basic.conf.in, as
nothing else is using this.

NEWS
sysusers.d/basic.conf.in
tmpfiles.d/legacy.conf

diff --git a/NEWS b/NEWS
index 539093616ee2520e18ffb9f0e58d10f24ac5d773..ee1243786894f46c773cfbd03d11d8683b13764d 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,18 @@
 systemd System and Service Manager
 
+CHANGES WITH 229:
+
+        * Creation of the legacy /run/lock/lockdev/ directory was
+          dropped from tmpfiles.d/legacy.conf. Hardly any software uses
+          that any more, and better locking mechanisms like flock() have
+          been available for many years. If you still need this, you need to
+          create your own tmpfiles.d config file with:
+            d /run/lock/lockdev 0775 root lock -
+
+        Contributions from: ...
+
+        -- Berlin, 2016-MM-DD
+
 CHANGES WITH 228:
 
         * A number of properties previously only settable in unit
index 823d6cb200118a10c795fd14496fd429c52a8995..b2dc5ebd4ffd43304792fcd0943a3aa7b1df7c53 100644 (file)
@@ -19,7 +19,6 @@ g wheel   -     -            -
 
 # Access to certain kernel and userspace facilities
 g kmem    -     -            -
-g lock    -     -            -
 g tty     @TTY_GID@     -            -
 g utmp    -     -            -
 
index 3cb0c63815a1a830d5e1b632692d0c27ba10e7c3..62e2ae0986234974d4bb89997f3ca73fda7144a6 100644 (file)
@@ -18,14 +18,6 @@ L /var/lock - - - - ../run/lock
 
 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:
-# http://lists.freedesktop.org/archives/systemd-devel/2011-March/001823.html
-# 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 -
-
 # /forcefsck, /fastboot and /forcequotacheck are deprecated in favor of the
 # kernel command line options 'fsck.mode=force', 'fsck.mode=skip' and
 # 'quotacheck.mode=force'