mirror of
https://github.com/troglobit/finit.git
synced 2026-11-23 20:11:44 +00:00
Sorting the files by name across directories is not a change to make on its own. Finit runs every entry for a path, so the last one wins, where systemd goes by the first. Sorted, an entry in /etc would lose to one in /usr/lib with a later name. Say so in the TODO, and add the relative paths found in review. Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
1.3 KiB
1.3 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
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. Sorting is not enough: with two entries for the same path systemd goes by the first and Finit runs both, so the last one wins. Today that is the one in/etc, which is what an admin expects. Sorted by name it would be the one in/usr/lib. Both changes have to go in together - A relative path is taken as it is, tmpfiles.d(5) only has absolute ones
aandAhandle an ACL of at most 32 entries, a path with more is left as it is, with a warningmksubsys()insrc/util.cis unused