tmpfiles: make a directory for v, q, and Q entries

Files from distributions use v, q, and Q for directories that should
be btrfs subvolumes when that is possible:

    v /var/lib/machines 0700 - - -

tmpfiles skipped them as unsupported, so the directory was missing.

On a file system without subvolumes tmpfiles.d(5) has them make a
plain directory.  Do that everywhere, read them as d.

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg committed 2026-11-20 18:03:33 +01:00
1 parent 7422a6fac7
commit 83f4dceb1b
4 files changed
+23 -12

No files matched your search

+3
View File
@@ -15,6 +15,9 @@ All relevant changes are documented in this file.
skipped unless the new `--boot` option is given. Finit gives it at
boot, and now also `--remove`, so `r`, `R`, and `D` entries take effect
at boot and no longer need a separate call
- tmpfiles: the `v`, `q`, and `Q` entries now make a plain directory, like
`d`. Finit has no support for btrfs subvolumes, and before the entries
were skipped as unsupported
- tmpfiles: add the `:` prefix for mode, user, and group, to set them only
on a path the entry creates, and the `~` prefix for the mode, to drop
read, write, or execute where the existing path has it for no one