mirror of
https://github.com/systemd/systemd.git
synced 2026-06-30 19:57:29 +00:00
We need a removal rule for systems where /tmp is not on tmpfs, so that if they crash, stale sockets will be removed during boot. OTOH, at runtime, those lock files must never be removed. But since the 'r!' rule uses '!', it only applies during boot. With the rule inactive, the usual time-based cleanup for /tmp/ was also applied to those files, causing them to be removed after 10 days. Fixes #35182.
Files in this directory contain configuration for systemd-tmpfiles, a program to create, delete, and clean up volatile and temporary files and directories. See man:tmpfiles.d(5) for explanation of the configuration file format, and man:systemd-tmpfiles(8) for a description of when and how this configuration is applied. Use 'systemd-analyze cat-config tmpfiles.d' to display the effective config.