mirror of
https://github.com/troglobit/finit.git
synced 2026-11-23 20:11:44 +00:00
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:
4 files changed
+12
-4
No files matched your search
@@ -348,6 +348,9 @@ All relevant changes are documented in this file.
|
||||
entry in Finit's own `etc.conf`. A file was copied over an existing
|
||||
one. As in tmpfiles.d(5), nothing that exists is now overwritten, and
|
||||
links are copied as links
|
||||
- Fix tmpfiles entries with a relative path, they were run on whatever
|
||||
directory `tmpfiles` was started in. As in tmpfiles.d(5), such an
|
||||
entry is now skipped with a warning
|
||||
- Fix logins refused after boot on a system with systemd's tmpfiles.d
|
||||
files installed. They create `/run/nologin` at boot, and on systemd it
|
||||
is removed by systemd-user-sessions. Finit now removes it when leaving
|
||||
|
||||
@@ -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
|
||||
Reference in new issue
Block a user