Files
finit/doc/tmpfiles-todo.md
T
Joachim Wiberg ce5a08e866 tmpfiles: handle an ACL of any size
An a or A entry for a path with an ACL of more than 32 entries, or one
that would get more, left the path as it was with a warning.  The ACL
was kept in a fixed array.  It is now allocated to the size it needs.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
2026-11-21 19:23:47 +01:00

1.1 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.

  1. Remaining types and modifiers

  • z and Z only set the SELinux label when restorecon is installed
  1. Command line

Missing options: --root, --replace, and --purge.

  1. 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.conf in /etc should run before 50-y.conf in /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