From f08fce88206f7315cff24678590cd73cd5e75f95 Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Sat, 6 Aug 2011 15:48:27 -0700 Subject: tmpfiles: Move /tmp and /var/tmp to a separate tmpfiles.d file to ease overrides via /etc Many people prefer to avoid clearing /tmp and /var/tmp, and distributions often have explicit settings for how often to clear them if at all. Overriding those with systemd currently requires overriding all of /usr/lib/tmpfiles.d/systemd.conf via /etc/tmpfiles.d/systemd.conf, copying across all the other entries, and updating that override when systemd.conf changes. Move the /tmp and /var/tmp entries from systemd.conf to a separate tmp.conf, making them easier to override without affecting the rest of systemd.conf. --- tmpfiles.d/systemd.conf | 3 --- 1 file changed, 3 deletions(-) (limited to 'tmpfiles.d/systemd.conf') diff --git a/tmpfiles.d/systemd.conf b/tmpfiles.d/systemd.conf index 7d4b356a12..be29c068af 100644 --- a/tmpfiles.d/systemd.conf +++ b/tmpfiles.d/systemd.conf @@ -13,9 +13,6 @@ F /run/utmp 0664 root utmp - f /var/log/wtmp 0664 root utmp - f /var/log/btmp 0600 root utmp - -d /tmp 1777 root root 10d -d /var/tmp 1777 root root 30d - d /var/cache/man - - - 30d r /forcefsck -- cgit v1.2.3-54-g00ecf