From dpelleg@mail.pelleg.org  Tue Jun 18 05:58:40 2002
Return-Path: <dpelleg@mail.pelleg.org>
Received: from mail.pelleg.org (dpelleg2.dsl.telerama.com [205.201.13.237])
	by hub.freebsd.org (Postfix) with ESMTP id 51C3637B406
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <daniel+bsd@pelleg.org>
Reply-To: Dan Pelleg <daniel+bsd@pelleg.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: find -xdev hangs on dead NFS mounts (/etc/security problem?)
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         39466
>Category:       conf
>Synopsis:       /etc/security: find -xdev hangs on dead NFS mounts
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 18 06:00:05 PDT 2002
>Closed-Date:    Wed May 10 15:03:39 GMT 2006
>Last-Modified:  Wed May 10 15:03:39 GMT 2006
>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:
State-Changed-From-To: open->closed 
State-Changed-By: ceri 
State-Changed-When: Wed May 10 15:03:09 UTC 2006 
State-Changed-Why:  
/etc/security (in this form) is dead.  Thanks fior the submission. 

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