tmpfiles: skip an entry with a relative path

An entry with a path like tmp/file was run on the directory tmpfiles
happened to be started in.  tmpfiles.d(5) only has absolute paths, and
systemd skips such a line.  Do the same, with a warning.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2026-11-21 19:23:48 +01:00
1 parent ce5a08e866
commit 4bec72fcf2
4 files changed
+12 -4

No files matched your search

-2
View File
@@ -30,5 +30,3 @@ Missing options: `--root`, `--replace`, and `--purge`.
first and Finit runs both, so the last one wins. Today that is the
one in `/etc`, which is what an admin expects. Sorted by name it
would be the one in `/usr/lib`. Both changes have to go in together
* A relative path is taken as it is, tmpfiles.d(5) only has absolute
ones