From 1910cd0e05f7661986680e0a4472f4e857f90787 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 11 Jun 2014 01:37:35 +0200 Subject: tmpfiles: when processing lines, always process prefixes before suffixes If two lines refer to paths that are suffix and prefix of each other, then always process the prefix first, the suffix second. In all other cases strictly process rules in the order they appear in the files. This makes creating /var/run as symlink to /run a lot more fun, since it is automatically created first. --- man/tmpfiles.d.xml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'man/tmpfiles.d.xml') diff --git a/man/tmpfiles.d.xml b/man/tmpfiles.d.xml index 76cae39aae..5d8c2b5b32 100644 --- a/man/tmpfiles.d.xml +++ b/man/tmpfiles.d.xml @@ -109,7 +109,11 @@ 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. + all other conflicting entries will be logged as + errors. When two lines are prefix and suffix of each + other, then the prefix is always processed first, the + suffix later. Otherwise the files/directories are + processed in the order they are listed. If the administrator wants to disable a configuration file supplied by the vendor, the -- cgit v1.2.3-54-g00ecf