From owner-freebsd-net@freebsd.org Thu Aug 30 07:09:52 2018 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 569981096BC6 for ; Thu, 30 Aug 2018 07:09:52 +0000 (UTC) (envelope-from gerrit.kuehn@aei.mpg.de) Received: from umail2.aei.mpg.de (umail2.aei.mpg.de [194.94.224.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DD41975004; Thu, 30 Aug 2018 07:09:51 +0000 (UTC) (envelope-from gerrit.kuehn@aei.mpg.de) Received: from mailgate.aei.mpg.de (mailgate.aei.mpg.de [194.94.224.5]) by umail2.aei.mpg.de (Postfix) with ESMTP id 6CB021BB7123; Thu, 30 Aug 2018 09:09:42 +0200 (CEST) Received: from mailgate.aei.mpg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 4D3C0406ADE; Thu, 30 Aug 2018 09:09:42 +0200 (CEST) Received: from intranet.aei.uni-hannover.de (ahin1.aei.uni-hannover.de [130.75.117.40]) by mailgate.aei.mpg.de (Postfix) with ESMTP id 1E926406ADB; Thu, 30 Aug 2018 09:09:42 +0200 (CEST) Received: from arc.aei.uni-hannover.de ([130.75.117.1]) by intranet.aei.uni-hannover.de (IBM Domino Release 9.0.1FP8) with ESMTP id 2018083009094135-146963 ; Thu, 30 Aug 2018 09:09:41 +0200 Date: Thu, 30 Aug 2018 09:09:41 +0200 From: Gerrit =?ISO-8859-1?Q?K=FChn?= To: Gerrit =?ISO-8859-1?Q?K=FChn?= Cc: FreeBSD Net , Alan Somers Subject: Re: Fw: 100.chksetuid handging on nfs mounts Message-Id: <20180830090941.0b92d2012406299b19a68be2@aei.mpg.de> In-Reply-To: <30015_1513349242_5A33E07A_30015_587_1_20171215154659.c8a7f21317a06ab64e480955@aei.mpg.de> References: <20171215143456.278a3dc31bb09c9217e83927@aei.mpg.de> <30015_1513349242_5A33E07A_30015_587_1_20171215154659.c8a7f21317a06ab64e480955@aei.mpg.de> Organization: Max Planck Gesellschaft X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd11.1) Mime-Version: 1.0 X-MIMETrack: Itemize by SMTP Server on intranet/aei-hannover(Release 9.0.1FP8|February 23, 2017) at 30/08/2018 09:09:41, Serialize by Router on intranet/aei-hannover(Release 9.0.1FP8|February 23, 2017) at 30/08/2018 09:09:41, Serialize complete at 30/08/2018 09:09:41 X-TNEFEvaluated: 1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1 X-PMX-Version: 6.0.2.2308539, Antispam-Engine: 2.7.2.2107409, Antispam-Data: 2018.8.30.70016 X-PerlMx-Spam: Gauge=IIIIIIIII, Probability=9%, Report=' MULTIPLE_RCPTS 0.1, FROM_SAME_AS_TO 0.05, HTML_00_01 0.05, HTML_00_10 0.05, MIME_LOWER_CASE 0.05, BODYTEXTP_SIZE_3000_LESS 0, BODY_SIZE_1400_1499 0, BODY_SIZE_2000_LESS 0, BODY_SIZE_5000_LESS 0, BODY_SIZE_7000_LESS 0, FROM_SAME_AS_TO_DOMAIN 0, IN_REP_TO 0, LEGITIMATE_SIGNS 0, MSG_THREAD 0, MULTIPLE_REAL_RCPTS 0, REFERENCES 0, URI_WITH_PATH_ONLY 0, __ANY_URI 0, __BOUNCE_CHALLENGE_SUBJ 0, __BOUNCE_NDR_SUBJ_EXEMPT 0, __CC_NAME 0, __CC_NAME_DIFF_FROM_ACC 0, __CC_REAL_NAMES 0, __CP_URI_IN_BODY 0, __CT 0, __CTE 0, __CT_TEXT_PLAIN 0, __DQ_NEG_HEUR 0, __DQ_NEG_IP 0, __FORWARDED_MSG 0, __FROM_DOMAIN_IN_ANY_TO1 0, __HAS_CC_HDR 0, __HAS_FROM 0, __HAS_MSGID 0, __HAS_X_MAILER 0, __HTTPS_URI 0, __IN_REP_TO 0, __MIME_TEXT_ONLY 0, __MIME_TEXT_P 0, __MIME_TEXT_P1 0, __MIME_VERSION 0, __MULTIPLE_RCPTS_CC_X2 0, __MULTIPLE_URI_TEXT 0, __NO_HTML_TAG_RAW 0, __REFERENCES 0, __SANE_MSGID 0, __SUBJ_ALPHA_END 0, __SUBJ_ALPHA_NEGATE 0, __SUBJ_REPLY 0, __TO_MALFORMED_2 0, __TO_NAME 0, __TO_NAME_DIFF_FROM_ACC 0, __TO_REAL_NAMES 0, __URI_IN_BODY 0, __URI_NOT_IMG 0, __URI_NO_WWW 0, __URI_NS , __URI_WITH_PATH 0' X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 30 Aug 2018 07:09:52 -0000 On Fri, 15 Dec 2017 15:46:59 +0100 Gerrit K=FChn 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? >=20 > ~ # freebsd-version > 10.3-RELEASE-p17 >=20 > > [1] https://svnweb.freebsd.org/base?view=3Drevision&revision=3D306048 > > [2] https://svnweb.freebsd.org/base?view=3Drevision&revision=3D306642 > > [3] https://svnweb.freebsd.org/base?view=3Drevision&revision=3D306644 >=20 > 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