mirror of
https://github.com/troglobit/finit.git
synced 2026-11-23 20:11:44 +00:00
tmpfiles: clean what an x entry keeps by the age of the entry
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>
This commit is contained in:
4 files changed
+33
-8
No files matched your search
@@ -33,6 +33,4 @@ Missing options: `--root`, `--replace`, and `--purge`.
|
||||
in `/etc` should run before `50-y.conf` in `/usr/lib`
|
||||
* `a` and `A` handle an ACL of at most 32 entries, a path with more is
|
||||
left as it is, with a warning
|
||||
* An `x` or `X` entry with an age should have what it names cleaned
|
||||
by that age, the age is not read
|
||||
* `mksubsys()` in `src/util.c` is unused
|
||||
Reference in new issue
Block a user