summarylogtreecommitdiffstats
path: root/lock.conf
diff options
context:
space:
mode:
authorAlexey D2015-07-07 08:51:07 +0300
committerAlexey D2015-07-07 08:51:07 +0300
commit40fc4e5ba1565b05a46ce7df5da0e50b99760aa6 (patch)
tree7f49be3567cbc65c561864719b0e47e691d5861f /lock.conf
downloadaur-40fc4e5ba1565b05a46ce7df5da0e50b99760aa6.tar.gz
initial version
Diffstat (limited to 'lock.conf')
-rw-r--r--lock.conf26
1 files changed, 26 insertions, 0 deletions
diff --git a/lock.conf b/lock.conf
new file mode 100644
index 000000000000..40304ea96d4b
--- /dev/null
+++ b/lock.conf
@@ -0,0 +1,26 @@
+# This file is part of systemd.
+#
+# systemd is free software; you can redistribute it and/or modify it
+# under the terms of the GNU Lesser General Public License as published by
+# the Free Software Foundation; either version 2.1 of the License, or
+# (at your option) any later version.
+
+# See tmpfiles.d(5) for details
+
+# These files are considered legacy and are unnecessary on legacy-free
+# systems.
+
+d /run/lock 0755 root root -
+
+# /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 -
+
+# /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 -