Bug 39466

Summary: /etc/security: find -xdev hangs on dead NFS mounts
Product: Base System Reporter: Dan Pelleg <daniel+bsd>
Component: confAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description Dan Pelleg 2002-06-18 14:00:05 UTC
   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.

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?
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
Comment 1 Ceri Davies freebsd_committer freebsd_triage 2006-05-10 16:03:09 UTC
State Changed
From-To: open->closed

/etc/security (in this form) is dead.  Thanks fior the submission.