From 3efdfe82da085888354f27565fd9c6fab3c8b5a8 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Tue, 3 Jan 2012 00:43:45 +0100 Subject: tmpfiles: fix 'd' and 'D' confusion Never use 'd' with non-empty Age, as the age refers to how old files can be before they are deleted, and 'd' never deletes anything. Also, we never want to delete /run/daemons, except for on boot (and then it must be empty since /run is tmpfs), so change that into 'd'. This makes our files diverge from systemd's again (undoing the previous patch), but I submitted the same fix to systemd, so they should eventually converge again. Signed-off-by: Tom Gundersen --- tmpfiles.conf | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'tmpfiles.conf') diff --git a/tmpfiles.conf b/tmpfiles.conf index cfb788b..0a5056d 100644 --- a/tmpfiles.conf +++ b/tmpfiles.conf @@ -3,13 +3,13 @@ # D /tmp 1777 root root 10d -D /run/daemons 0755 root root - +d /run/daemons 0755 root root - -d /tmp/.X11-unix 1777 root root 10d -d /tmp/.ICE-unix 1777 root root 10d -d /tmp/.XIM-unix 1777 root root 10d -d /tmp/.font-unix 1777 root root 10d -d /tmp/.Test-unix 1777 root root 10d +D /tmp/.X11-unix 1777 root root 10d +D /tmp/.ICE-unix 1777 root root 10d +D /tmp/.XIM-unix 1777 root root 10d +D /tmp/.font-unix 1777 root root 10d +D /tmp/.Test-unix 1777 root root 10d F /run/utmp 0664 root utmp - -- cgit v1.2.3