X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=blobdiff_plain;f=man%2Ftmpfiles.d.xml;h=a304dd00e6aa4451c30aa683480278b2ee1e39cb;hp=331fd1b4721ddedb68446decc60de1d3f0e14e3a;hb=89f7c8465cd1ab37347dd0c15920bce31e8225df;hpb=ef72c1f06e2bc696a799cd31a1e0ed25cc999ea4
diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml
index 331fd1b47..a304dd00e 100644
--- a/man/tmpfiles.d.xml
+++ b/man/tmpfiles.d.xml
@@ -88,8 +88,8 @@
the local administrator, who may use this logic to
override the configuration files installed by vendor
packages. All configuration files are sorted by their
- filename in lexicographic order, regardless in which
- of the directories they reside. If multiple files
+ filename in lexicographic order, regardless of which
+ of the directories they reside in. If multiple files
specify the same path, the entry in the file with the
lexicographically earliest name will be applied, all
all other conflicting entries logged as errors.
@@ -113,6 +113,9 @@ L /tmp/foobar - - - - /dev/null
Type
+ The type consists of a single letter and
+ optionally an exclamation mark.
+
The following line types are understood:
@@ -171,7 +174,7 @@ L /tmp/foobar - - - - /dev/null
adjust its access mode, group
and user to the specified
values and reset the SELinux
- label. If it does not exist, do
+ security context. If it does not exist, do
nothing.
@@ -239,7 +242,7 @@ L /tmp/foobar - - - - /dev/null
zRestore
- SELinux security context label
+ SELinux security context
and set ownership and access
mode of a file or directory if
it exists. Lines of this type
@@ -252,7 +255,7 @@ L /tmp/foobar - - - - /dev/null
ZRecursively
restore SELinux security
- context label and set
+ context and set
ownership and access mode of a
path and all its
subdirectories (if it is a
@@ -262,6 +265,28 @@ L /tmp/foobar - - - - /dev/null
names.
+
+ If the exclamation mark is used, this
+ line is only safe of execute during boot, and
+ can break a running system. Lines without the
+ exclamation mark are presumed to be safe to
+ execute at any time, e.g. on package upgrades.
+ systemd-tmpfiles will
+ execute line with an exclamation mark only if
+ option is given.
+
+
+ For example:
+
+# Make sure these are created by default so that nobody else can
+d /tmp/.X11-unix 1777 root root 10d
+
+# Unlink the X11 lock files
+r! /tmp/.X[0-9]*-lock
+
+ The second line in contrast to the first one
+ would break a running system, and will only be
+ executed with .