Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Sep 2018 00:35:49 +0000
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        =?iso-8859-1?Q?Gerrit_K=FChn?= <gerrit.kuehn@aei.mpg.de>
Cc:        Alan Somers <asomers@freebsd.org>, FreeBSD Net <freebsd-net@freebsd.org>
Subject:   Re: Fw: 100.chksetuid handging on nfs mounts
Message-ID:  <YTOPR0101MB1820D095841798C9886A6A45DD0E0@YTOPR0101MB1820.CANPRD01.PROD.OUTLOOK.COM>
In-Reply-To: <20180831134717.80da25fa0b5f4b9280e59921@aei.mpg.de>
References:  <20171215143456.278a3dc31bb09c9217e83927@aei.mpg.de> <CAOtMX2jsQDQ3Csa5qszNMZQbx1cR=EcaPOY15T_QimnkM4%2BCWQ@mail.gmail.com> <30015_1513349242_5A33E07A_30015_587_1_20171215154659.c8a7f21317a06ab64e480955@aei.mpg.de> <20180830090941.0b92d2012406299b19a68be2@aei.mpg.de> <CAOtMX2hdC=YZ1_F1n-yceTjgwcWFcnCvrF8LtY1ZWo7dMVRW=w@mail.gmail.com> <20180830154404.5da83b6ff0481b17cd6d044e@aei.mpg.de> <CAOtMX2i%2ByyWZAH7GzFjNV5OUE_60tJ9T%2Bf5rWBQpMHDQU9BsFA@mail.gmail.com> <20180831082933.085ee4f3c7a006549d0974db@aei.mpg.de> <YTOPR0101MB18201F6BB77EDC949EF9BEBBDD0F0@YTOPR0101MB1820.CANPRD01.PROD.OUTLOOK.COM>, <20180831134717.80da25fa0b5f4b9280e59921@aei.mpg.de>

next in thread | previous in thread | raw e-mail | index | archive | help

Gerrit Kühn wrote:
[stuff snipped]
>My impression was that the find commandline is crafted in a way that
>should prevent it from touching any filesystems mounted into the root
>tree. Maybe I am mistaken here, then hanging on the unavailable nfs mount
>is certainly expected (although not nice ;-) behaviour.
Without looking at the find sources, I'd guess that it does a stat(2) on a directory
and then checks the st_dev to see if it had changed. This will hang for the mount
point directory if it can't do the Getattr RPC.

rick



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