summaryrefslogtreecommitdiffstats
path: root/etc/defaults
diff options
context:
space:
mode:
authorjhb <jhb@FreeBSD.org>2007-11-28 17:31:11 +0000
committerjhb <jhb@FreeBSD.org>2007-11-28 17:31:11 +0000
commit5902950f35b5e087fd09fcc31f126f9b32c25700 (patch)
treeff1258d40c029cd754045d6ffaf7a0dbef038aa5 /etc/defaults
parent28e4492ee2e1005320493869927a0f9488778f8b (diff)
downloadFreeBSD-src-5902950f35b5e087fd09fcc31f126f9b32c25700.zip
FreeBSD-src-5902950f35b5e087fd09fcc31f126f9b32c25700.tar.gz
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
Diffstat (limited to 'etc/defaults')
-rw-r--r--etc/defaults/periodic.conf4
1 files changed, 3 insertions, 1 deletions
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
OpenPOWER on IntegriCloud