mirror of
https://github.com/troglobit/finit.git
synced 2026-11-23 20:11:44 +00:00
When a package is removed, the state its tmpfiles.d file made is left
behind, there was no way to ask for it to be removed.
systemd-tmpfiles has --purge for that, which removes what the entries
marked with a $ after the type make:
d$ /var/lib/app 0750 app app
tmpfiles --purge /usr/lib/tmpfiles.d/app.conf
Add the same. It only takes the entries of files on the command line,
never all of the tmpfiles.d files, and a path is removed before the
one above it. A $ was until now read and ignored.
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
21 lines
516 B
Markdown
21 lines
516 B
Markdown
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.
|
|
|
|
[tmpfiles.d(5)]: https://www.freedesktop.org/software/systemd/man/tmpfiles.d.html
|
|
|
|
|
|
1. Remaining types and modifiers
|
|
--------------------------------
|
|
|
|
* `z` and `Z` only set the SELinux label when `restorecon` is installed
|
|
|
|
|
|
2. Command line
|
|
---------------
|
|
|
|
Missing option: `--root`.
|