From 5902950f35b5e087fd09fcc31f126f9b32c25700 Mon Sep 17 00:00:00 2001 From: jhb Date: Wed, 28 Nov 2007 17:31:11 +0000 Subject: Don't delete files in the X11 socket directories under /tmp (.X11-unix, .ICE-unix, .font-unix, .XIM-unix) when purging files from /tmp via the daily 100.clean-tmps job. If you are logged into an X session longer than the timeout period (default of 3 days), then this job can delete the X11 sockets out from under the session without this fix. MFC after: 3 days --- etc/defaults/periodic.conf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/etc/defaults/periodic.conf b/etc/defaults/periodic.conf index 38a05aa..484b5b0 100644 --- a/etc/defaults/periodic.conf +++ b/etc/defaults/periodic.conf @@ -45,7 +45,9 @@ daily_clean_disks_verbose="YES" # Mention files deleted daily_clean_tmps_enable="NO" # Delete stuff daily daily_clean_tmps_dirs="/tmp" # Delete under here daily_clean_tmps_days="3" # If not accessed for -daily_clean_tmps_ignore=".X*-lock quota.user quota.group" # Don't delete these +daily_clean_tmps_ignore=".X*-lock .X11-unix .ICE-unix .font-unix .XIM-unix" +daily_clean_tmps_ignore="$daily_clean_tmps_ignore quota.user quota.group" + # Don't delete these daily_clean_tmps_verbose="YES" # Mention files deleted # 120.clean-preserve -- cgit v1.1