conf/172269: [PATCH] periodic job clean-tmps should ignore
.sujournal too
Mike Bristow
mike at urgle.com
Tue Oct 2 09:00:26 UTC 2012
>Number: 172269
>Category: conf
>Synopsis: [PATCH] periodic job clean-tmps should ignore .sujournal too
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Oct 02 09:00:12 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: Mike Bristow
>Release: 9.0-RELEASE
>Organization:
>Environment:
FreeBSD cheddar.urgle.com 9.0-RELEASE-p4 FreeBSD 9.0-RELEASE-p4 #0: Tue Aug 7 18:18:28 BST 2012 root at cheddar.urgle.com:/usr/obj/usr/src/sys/GENERIC amd64
>Description:
If you have a seperate filesystem for /tmp with journaled soft-updates enabled, then the periodic job clean-tmps will moan every day, saying "find: -delete: unlink(./.sujournal): Operation not permitted"
>How-To-Repeat:
as above
>Fix:
The following patch will supress the error.
--- src/etc/defaults/periodic.conf.orig 2011-11-11 04:20:22.000000000 +0000
+++ src/etc/defaults/periodic.conf 2012-10-02 09:51:28.000000000 +0100
@@ -47,6 +47,7 @@
daily_clean_tmps_days="3" # If not accessed for
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 .snap"
+daily_clean_tmps_ignore="$daily_clean_tmps_ignore .sujournal"
# Don't delete these
daily_clean_tmps_verbose="YES" # Mention files deleted
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list