mirror of
https://github.com/troglobit/finit.git
synced 2026-11-23 20:11:44 +00:00
An x or X entry can have an age of its own in tmpfiles.d(5). What it
keeps from the cleaning of the directory above is then cleaned by that
age instead:
d /tmp 1777 root root 10d
x /tmp/build - - - 30d
tmpfiles does not read the age, so /tmp/build is never cleaned.
Clean the paths of such an entry by its age, with the entry itself
left out of what is kept.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
1.2 KiB
1.2 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- 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
- Command line
Missing options: --root, --replace, and --purge.
- 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 warningmksubsys()insrc/util.cis unused