Date: Tue, 2 Oct 2012 08:55:26 GMT From: Mike Bristow <mike@urgle.com> To: freebsd-gnats-submit@FreeBSD.org Subject: conf/172269: [PATCH] periodic job clean-tmps should ignore .sujournal too Message-ID: <201210020855.q928tQUh086177@red.freebsd.org> Resent-Message-ID: <201210020900.q9290Css039499@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210020855.q928tQUh086177>