mirror of
https://github.com/troglobit/finit.git
synced 2026-11-23 20:11:44 +00:00
tmpfiles: add the = modifier, remove a path of another kind
When there is a file where an entry wants a directory, or the other
way around, the entry fails or leaves the path as it is. In
tmpfiles.d(5) an = after the type has the path removed first when it
is of another kind than the entry makes:
d= /var/lib/foo 0755 foo foo
The same goes for the directories above the path, anything else in
place of one is removed. tmpfiles ignores the =.
Remove what does not match before the b, c, d, D, f, F, L, and p
entries, the ones that make a path of one kind.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
5 files changed
+125
-4
No files matched your search
@@ -88,6 +88,7 @@ EXTRA_DIST += tmpfiles-perm.sh
|
||||
EXTRA_DIST += tmpfiles-boot.sh
|
||||
EXTRA_DIST += tmpfiles-clean.sh
|
||||
EXTRA_DIST += tmpfiles-copy.sh
|
||||
EXTRA_DIST += tmpfiles-match.sh
|
||||
EXTRA_DIST += tmpfiles-order.sh
|
||||
EXTRA_DIST += tmpfiles-specifier.sh
|
||||
EXTRA_DIST += tmpfiles-unsupported.sh
|
||||
@@ -175,6 +176,7 @@ TESTS += tmpfiles-perm.sh
|
||||
TESTS += tmpfiles-boot.sh
|
||||
TESTS += tmpfiles-clean.sh
|
||||
TESTS += tmpfiles-copy.sh
|
||||
TESTS += tmpfiles-match.sh
|
||||
TESTS += tmpfiles-order.sh
|
||||
TESTS += tmpfiles-specifier.sh
|
||||
TESTS += tmpfiles-unsupported.sh
|
||||
|
||||
Reference in new issue
Block a user