From nobody@FreeBSD.org  Tue Feb 20 09:42:22 2007
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52])
	by hub.freebsd.org (Postfix) with ESMTP id 01D2F1750FD
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 20 Feb 2007 09:42:22 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [69.147.83.33])
	by mx1.freebsd.org (Postfix) with ESMTP id E271F13C4A3
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 20 Feb 2007 09:42:21 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.13.1/8.13.1) with ESMTP id l1K9gLtU012668
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 20 Feb 2007 09:42:21 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.13.1/8.13.1/Submit) id l1K9gLwp012666;
	Tue, 20 Feb 2007 09:42:21 GMT
	(envelope-from nobody)
Message-Id: <200702200942.l1K9gLwp012666@www.freebsd.org>
Date: Tue, 20 Feb 2007 09:42:21 GMT
From: Jari Kirma<kirma@cs.hut.fi>
To: freebsd-gnats-submit@FreeBSD.org
Subject: /etc/periodic/daily/110.clean-tmps does not limit its operation to one file system
X-Send-Pr-Version: www-3.0

>Number:         109354
>Category:       conf
>Synopsis:       [request] /etc/periodic/daily/110.clean-tmps does not limit its operation to one file system
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Feb 20 09:50:01 GMT 2007
>Closed-Date:    
>Last-Modified:  Sun Jan 27 09:32:15 UTC 2008
>Originator:     Jari Kirma
>Release:        6.2-PRERELEASE
>Organization:
Helsinki University of Technology
>Environment:
FreeBSD XXX.hut.fi 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #16: Mon Dec 18 16:05:02 EET 2006     root@XXX.hut.fi:/usr/obj/usr/src/sys/XXX  i386
>Description:
/etc/periodic/daily/110.clean-tmps doesn't limit its scope of its file
system traversal to the file system whith traversal starting point, and
it neither limits its traversal to local file systems, even when the
starting point is in a local file system. This can result removal of files
that haven't really occuplied space on the system as long as file timestamps
indicate. Sensibility aside, this may cause very adverse effects if, for
instance, a NFS file system is mounted under temporary directory even for
a moment, and cleanup scripts comes around.
>How-To-Repeat:
Create files with old enough timestamps under a test file system, mount
it under filesystem to be cleaned, and run /etc/periodic/daily/110.clean-tmps.
>Fix:
Documentation of find -x option is a bit obscure. Is it intended for this
purpose? Another option is -fstype local, but that doesn't work on diskless
systems as intended.
>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->freebsd-rc 
Responsible-Changed-By: linimon 
Responsible-Changed-When: Tue Feb 20 14:49:50 UTC 2007 
Responsible-Changed-Why:  
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=109354 
Responsible-Changed-From-To: freebsd-rc->freebsd-bugs 
Responsible-Changed-By: dougb 
Responsible-Changed-When: Tue Feb 20 18:50:01 UTC 2007 
Responsible-Changed-Why:  

periodic != rc.d 

http://www.freebsd.org/cgi/query-pr.cgi?pr=109354 
>Unformatted:
