mirror of
https://github.com/troglobit/finit.git
synced 2026-11-23 20:11:44 +00:00
There was no way to see what the tmpfiles.d files on a system amount
to, short of running them:
tmpfiles --dry-run --create --remove --boot
With -n or --dry-run each entry that would be run is printed, with
what would be done, remove, clean, or create, in the order it would
be. Nothing is changed.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
1.4 KiB
1.4 KiB
tmpfiles TODO
What tmpfiles lacks compared to tmpfiles.d(5), from a read of
src/tmpfiles.c in November 2026. Ranked: first what Finit's own
files or common packages already rely on, last what few will miss.
- Remaining types and modifiers
C+, which is read asCzandZonly set the SELinux label whenrestoreconis installed- Modifiers
=(remove what is of another type),~(base64 argument), and^(credential as argument).-(do not fail) has nothing to do, tmpfiles never exits with an error for an entry - Quoted paths, a path with a space in it cannot be written
- Command line
Missing options: --root, --replace, --purge, --graceful, and
--cat-config.
- Smaller things
- Files are processed one directory at a time. tmpfiles.d(5) sorts
all of them by name, whatever directory they are in, so
00-x.confin/etcshould run before50-y.confin/usr/lib aandAhandle an ACL of at most 32 entries, a path with more is left as it is, with a warning- An
xorXentry with an age should have what it names cleaned by that age, the age is not read - The
%Tand%Vspecifiers are always/tmpand/var/tmp, they do not look at$TMPDIR mksubsys()insrc/util.cis unused