From owner-freebsd-bugs@FreeBSD.ORG Tue Feb 20 09:50:02 2007 Return-Path: X-Original-To: freebsd-bugs@hub.freebsd.org Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6A15B175197 for ; Tue, 20 Feb 2007 09:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [69.147.83.40]) by mx1.freebsd.org (Postfix) with ESMTP id 2AB6113C491 for ; Tue, 20 Feb 2007 09:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.4/8.13.4) with ESMTP id l1K9o27f023409 for ; Tue, 20 Feb 2007 09:50:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.4/8.13.4/Submit) id l1K9o2uc023408; Tue, 20 Feb 2007 09:50:02 GMT (envelope-from gnats) Resent-Date: Tue, 20 Feb 2007 09:50:02 GMT Resent-Message-Id: <200702200950.l1K9o2uc023408@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, Jari Kirma Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 01D2F1750FD for ; 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 ; 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 ; 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 To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.0 Cc: Subject: misc/109354: /etc/periodic/daily/110.clean-tmps does not limit its operation to one file system 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, 20 Feb 2007 09:50:02 -0000 >Number: 109354 >Category: misc >Synopsis: /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: >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: >Unformatted: