Fw: 100.chksetuid handging on nfs mounts

Gerrit Kühn gerrit.kuehn at aei.mpg.de
Thu Aug 30 07:09:52 UTC 2018


On Fri, 15 Dec 2017 15:46:59 +0100 Gerrit Kühn <gerrit.kuehn at aei.mpg.de>
wrote about Re: Fw: 100.chksetuid handging on nfs mounts:

Hello all,

Sorry for picking this up after such a long time...

> > This is a known bug.  It happens when an NFS filesystem is mounted on
> > the same mountpoint as a local filesystem.  It's fixed by [1] and
> > MFCed by [2] and [3].  What version are you using?
> 
> ~ # freebsd-version
> 10.3-RELEASE-p17
> 
> > [1] https://svnweb.freebsd.org/base?view=revision&revision=306048
> > [2] https://svnweb.freebsd.org/base?view=revision&revision=306642
> > [3] https://svnweb.freebsd.org/base?view=revision&revision=306644
> 
> Looks like 10.3 didn't get this fix, but 10.4 has it. The system is due
> for an update, anyway. Thanks for the pointers!

The system is running 11.1 meanwhile, and has the fixes mentioned above (I
just checked this again). However, an unavailable nfs server (some
directories simply mounted under /net) still makes it hang on this command
(from ps aux):

---
root  51860   0.0  0.0   8364  2672  -  D    00:07         0:00.24 find
-sx / /dev/null ( ! -fstype local ) -prune -o -type f ( ( ! -perm +010
-and -perm +001 ) -or ( ! -perm +020 -and -perm +002 ) -or ( ! -perm +040
-and -perm +004 ) ) -exec ls -liTd {} +
---

Any ideas why this happens (and how to prevent it)?


cu
  Gerrit


More information about the freebsd-net mailing list