Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Dec 2017 09:04:51 +0100
From:      Gerrit =?ISO-8859-1?Q?K=FChn?= <gerrit.kuehn@aei.mpg.de>
To:        freebsd-fs@freebsd.org
Subject:   100.chksetuid handging on nfs mounts
Message-ID:  <20171205090451.c502e0301ce1f9e113178bbf@aei.mpg.de>

next in thread | raw e-mail | index | archive | help
Hello all,

I just found that the daily security job on a system here was hanging on
chksetuid due to a defunct nfs server. Specifically, it turned out that it
was hanging on this find:

---
find -sx / /dev/null -type f \( -perm -u+x -or -perm -g+x -or -perm -o+x
\) \( -perm -u+s -or -perm -g+s \) -exec ls -liTd \{\} \+
---


My understanding up to now was that "-x" should prevent find from
accessing mounted nfs dirs (/ is on local disk, the hanging nfs mounts
are somewhere under /data/...). Why does the thing still hang, and how can
I prevent this?


cu
  Gerrit



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20171205090451.c502e0301ce1f9e113178bbf>