From owner-freebsd-bugs Tue Jun 18 6: 0:18 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 815B237B40F for ; Tue, 18 Jun 2002 06:00:05 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5ID05w16252; Tue, 18 Jun 2002 06:00:05 -0700 (PDT) (envelope-from gnats) Received: from mail.pelleg.org (dpelleg2.dsl.telerama.com [205.201.13.237]) by hub.freebsd.org (Postfix) with ESMTP id 51C3637B406 for ; Tue, 18 Jun 2002 05:58:39 -0700 (PDT) Received: by mail.pelleg.org (Postfix, from userid 1001) id 4BEC5B64D7; Tue, 18 Jun 2002 08:59:32 -0400 (EDT) Message-Id: <20020618125932.4BEC5B64D7@mail.pelleg.org> Date: Tue, 18 Jun 2002 08:59:32 -0400 (EDT) From: Dan Pelleg Reply-To: Dan Pelleg To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: misc/39466: find -xdev hangs on dead NFS mounts (/etc/security problem?) Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 39466 >Category: misc >Synopsis: find -xdev hangs on dead NFS mounts (/etc/security problem?) >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: Tue Jun 18 06:00:05 PDT 2002 >Closed-Date: >Last-Modified: >Originator: Dan Pelleg >Release: FreeBSD 4.6-RC i386 >Organization: >Environment: System: FreeBSD k 4.6-RC FreeBSD 4.6-RC #4: Sat Jun 8 12:08:40 EDT 2002 r@p:/m/K i386 >Description: A stale NFS mount under /usr will hang /etc/security. It appears that the "find $mount -xdev" hangs as soon as it gets to the mountpoint. This will hang the daily security check and will prevent both daily mails from being sent. >How-To-Repeat: 1. mount remote:/usr/ports/packages /usr/ports/packages 2. take remote off the network 3. wait for the 3AM security run 4. watch the find hang and daily status mails not being sent >Fix: I'm not sure if this is a find bug (or find documentation bug), or just /etc/security using it incorrectly. It seems that /etc/periodic/100.clean-disks uses "find -fstype local". Could that be the solution here? >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message