mirror of
https://github.com/troglobit/finit.git
synced 2026-11-23 20:11:44 +00:00
tmpfiles: no warning for a d entry on a link to a directory
A d entry for a path that is a link to a directory warned that mode
and owner could not be set:
d /var/lock 0755
Here /var/lock is a link to /run/lock. The link is not followed, on
purpose, and the open fails.
That is not an error, leave the directory alone without a warning.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
3 files changed
+11
-3
No files matched your search
@@ -33,8 +33,6 @@ Missing options: `--root`, `--replace`, `--dry-run`, `--purge`,
|
||||
in `/etc` should run before `50-y.conf` in `/usr/lib`
|
||||
* `a` and `A` handle an ACL of at most 32 entries, a path with more is
|
||||
left as it is, with a warning
|
||||
* A `d` or `e` entry for a path that is a link to a directory warns
|
||||
that mode and owner could not be set
|
||||
* An `x` or `X` entry with an age should have what it names cleaned
|
||||
by that age, the age is not read
|
||||
* The `%T` and `%V` specifiers are always `/tmp` and `/var/tmp`, they
|
||||
|
||||
Reference in new issue
Block a user