]> git.ipfire.org Git - thirdparty/systemd.git/commit
tmpfiles: exclude x11 lock files from time-based cleanup 42358/head
authorZbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Sun, 31 May 2026 09:39:07 +0000 (11:39 +0200)
committerZbigniew Jędrzejewski-Szmek <zbyszek@amutable.com>
Sun, 31 May 2026 09:44:38 +0000 (11:44 +0200)
commit06eeb83d3e175509f73d72ab095987520c98a148
tree4ba16ce9e329c9f009a2e8179739967d68725717
parent5474cadc8d58648693c6b8b2775be7fefe29ee0c
tmpfiles: exclude x11 lock files from time-based cleanup

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.
tmpfiles.d/x11.conf