Bug 46409

Summary: Certain periodic scripts check broken NFS mounts.
Product: Base System Reporter: Gary <gary>
Component: confAssignee: freebsd-bugs (Nobody) <bugs>
Status: Open ---    
Severity: Affects Only Me    
Priority: Normal    
Version: 5.0-CURRENT   
Hardware: Any   
OS: Any   

Description Gary 2002-12-20 21:00:06 UTC
Some of the scripts located in periodic/security (and others?) usually
check all the mount points for suid files. However, under certain
conditions, such as dead NFS (over TCP) mounts can cause the find(1) to
hang and become a problem.

Fix: 

Patching some of the find scripts within periodic/ to only do local
mounts and not NFS ones seems to be a fix, and using NFS over UDP is
another option.
How-To-Repeat: Setup an enviorment where a remote NFS mount over TCP, become "dead".
Then run periodic/security/100.chksetuid, and find(1) will hang in
memory. I cannot seem to kill the find process, and a reboot is the only
thing that fixes this.
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:00:34 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped