mirror of
https://github.com/troglobit/finit.git
synced 2026-11-23 20:11:44 +00:00
When there is a file where an entry wants a directory, or the other
way around, the entry fails or leaves the path as it is. In
tmpfiles.d(5) an = after the type has the path removed first when it
is of another kind than the entry makes:
d= /var/lib/foo 0755 foo foo
The same goes for the directories above the path, anything else in
place of one is removed. tmpfiles ignores the =.
Remove what does not match before the b, c, d, D, f, F, L, and p
entries, the ones that make a path of one kind.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
923 B
923 B
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
zandZonly set the SELinux label whenrestoreconis installed
- 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