Consider adding tmpfiles.d entries for the /var directories
Task Info (Flyspray) | |
---|---|
Opened By | Emil (xexaxo) |
Task ID | 79001 |
Type | Feature Request |
Project | Arch Linux |
Category | Packages: Core |
Version | None |
OS | All |
Opened | 2023-07-06 10:49:35 UTC |
Status | Assigned |
Assignee | Sébastien Luttringer (seblu) |
Details
Description:
One of my machines has a ro rootfs and designated var/home partitions. Every now and then I would wipe the latter two and effectively "reset" the system.
On a follow-up boot after the wiping, I would notice that only some /var directories are restored/recreated. It appears that not all Arch packages have tmpfiles.d snippets for their /var directories. The filesystem being one of them.
Can we have the entries added? The attached patch has the complete list - it also includes entries that are a) created/owned by the filesystem package itself but are handled by other pre-existing tmpfiles.d snippets.
The latter will result in a couple of warnings such as /usr/lib/tmpfiles.d/arch.conf:XX: Duplicate line for path "YY", ignoring.
- those are absolutely harmless, although if preferred the entries can dropped.
Thanks in advance
Additional info:
- package version(s) 2023.01.31