mirror of
https://github.com/troglobit/finit.git
synced 2026-11-23 20:11:44 +00:00
tmpfiles: add the ~ modifier, an argument in Base64
In tmpfiles.d(5) a ~ after the type of an f, F, or w entry means the
argument is Base64, for content that cannot be written on a line:
f~ /root/.ssh/authorized_keys 0600 root root - c3NoLWVkMjU1MTkg...
tmpfiles ignores the ~ and writes the argument as it is.
Decode the argument. As in systemd it is not looked at for specifiers
or escapes, and an entry with an argument that is not Base64 is
skipped.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
4 files changed
+77
-10
No files matched your search
@@ -13,10 +13,10 @@ files or common packages already rely on, last what few will miss.
|
||||
|
||||
* `C+`, which is read as `C`
|
||||
* `z` and `Z` only set the SELinux label when `restorecon` is installed
|
||||
* Modifiers `=` (remove what is of another type) and `~` (base64
|
||||
argument). `-` (do not fail) has nothing to do, tmpfiles never exits
|
||||
with an error for an entry, and an entry with `^` (credential as
|
||||
argument) is skipped, Finit has no credentials
|
||||
* Modifier `=` (remove what is of another type). `-` (do not fail) has
|
||||
nothing to do, tmpfiles never exits with an error for an entry, and
|
||||
an entry with `^` (credential as argument) is skipped, Finit has no
|
||||
credentials
|
||||
|
||||
|
||||
2. Command line
|
||||
|
||||
Reference in new issue
Block a user