From owner-freebsd-bugs@FreeBSD.ORG Tue Oct 2 09:00:26 2012 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7BD3B10656A4 for ; Tue, 2 Oct 2012 09:00:26 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B3BC48FC1F for ; Tue, 2 Oct 2012 09:00:12 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q9290CAu039500 for ; Tue, 2 Oct 2012 09:00:12 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q9290Css039499; Tue, 2 Oct 2012 09:00:12 GMT (envelope-from gnats) Resent-Date: Tue, 2 Oct 2012 09:00:12 GMT Resent-Message-Id: <201210020900.q9290Css039499@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mike Bristow Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 31C47106564A for ; Tue, 2 Oct 2012 08:55:27 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id 1C02E8FC08 for ; Tue, 2 Oct 2012 08:55:27 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q928tQ7H086194 for ; Tue, 2 Oct 2012 08:55:26 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id q928tQUh086177; Tue, 2 Oct 2012 08:55:26 GMT (envelope-from nobody) Message-Id: <201210020855.q928tQUh086177@red.freebsd.org> Date: Tue, 2 Oct 2012 08:55:26 GMT From: Mike Bristow To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: conf/172269: [PATCH] periodic job clean-tmps should ignore .sujournal too X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Oct 2012 09:00:26 -0000 >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: