Date: Thu, 5 Jan 2012 09:34:05 GMT From: Tatsuki Makino <tatsuki_makino@hotmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: conf/163828: /etc/periodic/daily/110.clean-tmps tries to unlink /tmp/.sujournal Message-ID: <201201050934.q059Y5ar008497@red.freebsd.org> Resent-Message-ID: <201201050940.q059eB8s008464@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 163828 >Category: conf >Synopsis: /etc/periodic/daily/110.clean-tmps tries to unlink /tmp/.sujournal >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Jan 05 09:40:11 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Tatsuki Makino >Release: FreeBSD 9.0-STABLE i386 >Organization: >Environment: FreeBSD T0.test 9.0-STABLE FreeBSD 9.0-STABLE #0: Wed Jan 4 01:02:55 UTC 2012 root@T0.test:/usr/obj/usr/src/sys/GENERIC i386 >Description: When journaled ufs is mounted to /tmp, /etc/periodic/daily/110.clean-tmps tries to unlink /tmp/.sujournal But it was failed. And it was logged to mail. >How-To-Repeat: # mount /dev/ada0s2e on /tmp (ufs, local, journaled soft-updates) # echo 'daily_clean_tmps_enable="YES"' >> /etc/periodic.conf # #wait 3:01am # mail omit... >From root@*** Thu Jan 5 03:05:06 2012 Date: Thu, 5 Jan 2012 03:05:06 +0900 (JST) From: Charlie Root <root@***> To: root@*** Subject: *** daily run output Removing old temporary files: find: -delete: unlink(./.sujournal): Operation not permitted /tmp/.sujournal Removing stale files from /var/preserve: >Fix: patch to /etc/defaults/periodic.conf Patch attached with submission follows: --- /usr/src/etc/defaults/periodic.conf 2012-01-03 23:44:06.000000000 +0900 +++ ./etc/defaults/periodic.conf 2012-01-05 18:18:24.000000000 +0900 @@ -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?201201050934.q059Y5ar008497>