From: Lennart Poettering Date: Mon, 30 Jun 2014 17:06:18 +0000 (+0200) Subject: tmpfiles: don't do automatic cleanup in $XDG_RUNTIME_DIR X-Git-Tag: v215~105 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=elogind.git;a=commitdiff_plain;h=6fc27667950fe153033f0f49cb5b57e8954c3e54;hp=8c63bf4ab0d826148fa86e0b56b3498eff4a69b0 tmpfiles: don't do automatic cleanup in $XDG_RUNTIME_DIR Now that logind will clean up all IPC resources of a user we should really consider $XDG_RUNTIME_DIR as just another kind of IPC with the same life-cycle logic as the other IPC resources. This should be safe now to do since every user gets his own $XDG_RUNTIME_DIR tmpfs instance with a fixed size limit, so that flooding of it will more effectively be averted. --- diff --git a/tmpfiles.d/systemd.conf b/tmpfiles.d/systemd.conf index 8cba5cad4..6b970f347 100644 --- a/tmpfiles.d/systemd.conf +++ b/tmpfiles.d/systemd.conf @@ -7,7 +7,7 @@ # See tmpfiles.d(5) for details -d /run/user 0755 root root ~10d +d /run/user 0755 root root - F! /run/utmp 0664 root utmp - d /run/systemd/ask-password 0755 root root -