mirror of
https://github.com/troglobit/finit.git
synced 2026-11-23 20:11:44 +00:00
tmpfiles: take --graceful
Package scripts written for systemd-tmpfiles may call it with
--graceful, to not fail on an entry for a user or group that does not
exist. tmpfiles then stops at the unknown option and prints its usage
text:
tmpfiles --create --graceful /usr/lib/tmpfiles.d/foo.conf
Take the option and do nothing. An entry with an unknown user is
already skipped without an error, and an unknown group left alone.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
4 files changed
+14
-1
No files matched your search
@@ -36,6 +36,8 @@ All relevant changes are documented in this file.
|
||||
`f~`, where the argument is Base64, for a file with binary content
|
||||
- tmpfiles: add `--cat-config`, to show the files that would be read,
|
||||
each below a line with its name
|
||||
- tmpfiles: add `--graceful`, for scripts that give it. It changes
|
||||
nothing, an unknown user or group is never an error in Finit
|
||||
- tmpfiles: add `--prefix=PATH`, to only run the entries for paths below
|
||||
it. `--prefix` and `--exclude-prefix` match whole path components,
|
||||
`--exclude-prefix=/dev` no longer skips `/devices`
|
||||
|
||||
@@ -22,7 +22,7 @@ files or common packages already rely on, last what few will miss.
|
||||
2. Command line
|
||||
---------------
|
||||
|
||||
Missing options: `--root`, `--replace`, `--purge`, and `--graceful`.
|
||||
Missing options: `--root`, `--replace`, and `--purge`.
|
||||
|
||||
|
||||
3. Smaller things
|
||||
|
||||
Reference in new issue
Block a user