mirror of
https://github.com/troglobit/finit.git
synced 2026-11-23 20:11:44 +00:00
tmpfiles: skip an entry that takes its argument from a credential
A ^ after the type says the argument is the name of a credential to
read the real argument from. Files from systemd have them:
f^ /etc/hosts - - - - network.hosts
The ^ was not read, so on a system without /etc/hosts this made one
holding the text "network.hosts".
Finit has no credentials. Skip the entry, which is what systemd does
when the credential is not set.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
4 files changed
+18
-3
No files matched your search
@@ -303,6 +303,11 @@ All relevant changes are documented in this file.
|
||||
- Fix `tmpfiles --clean` for an `e` entry with a glob in the path, like
|
||||
`e /var/cache/* - - - 10d`, nothing was cleaned. The age of a `C`
|
||||
entry is now used as well
|
||||
- Fix tmpfiles entries with a `^` after the type, as in `f^`, where the
|
||||
argument names a credential. The name was written to the file, with
|
||||
files from systemd that gave an `/etc/hosts` holding `network.hosts`
|
||||
when there was none. Finit has no credentials, such an entry is now
|
||||
skipped, as systemd does when the credential is not set
|
||||
- Fix mode of a new file from a tmpfiles `f` entry without a mode, it is
|
||||
now 0644 as in tmpfiles.d(5), before it followed the umask
|
||||
- Fix tmpfiles `w` entries with a glob that matches several paths, all
|
||||
|
||||
Reference in new issue
Block a user