From owner-freebsd-net@freebsd.org Thu Aug 30 13:34:35 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 ADB28109EB9E for ; Thu, 30 Aug 2018 13:34:35 +0000 (UTC) (envelope-from asomers@gmail.com) Received: from mail-lf1-f49.google.com (mail-lf1-f49.google.com [209.85.167.49]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 276C480A5F for ; Thu, 30 Aug 2018 13:34:35 +0000 (UTC) (envelope-from asomers@gmail.com) Received: by mail-lf1-f49.google.com with SMTP id r4-v6so7194318lff.12 for ; Thu, 30 Aug 2018 06:34:35 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=I6NJrlhRxXs2fPwu7iJ9d+pi7pMJvhHkpfo2PK6V7pQ=; b=XbxVlwpudu/U90X4g+s/Y4kmpQ1N5zFbHwahw483U0kDO4BdsbBXa/fkvhG9Ykcsuq +EuNkcifFcG7FQRxlyj5SoLhEtzArpvi/ouymqThBa8Wl0Dbri5q/14ysYvgrI9JvAa8 6Z8GeBOc+7Kot7I9kQOrhB1E+t1PmZEzOkMFdeRUIvryrXDy+t5O4Xo4GSTSsIi9ORAn UqIVq3VmJNezh3cR2OnFRdLskcZHV25hYCU+uxbi8ZnUxq8Ub69nQeorN/zLVKYF01KU kCOtDtOH2xqLiBINBSSi2Jglb1WQRBjX05XRbdSyEm5vuesA3cqFwkFD52hZAIBlWTyH kaUg== X-Gm-Message-State: APzg51AUZPcX7gv/euBRLixB30r51VMUYbZTik7efLrImbi9dzj+ixJy 7DqXxExm/yRKSoHGiJG1yfzINTGdd0PbfY3UbgQ3BQ== X-Google-Smtp-Source: ANB0VdYR22/HUEUXrNy/v3gTuxEbD9bVarOFfwDUHNxW0n28kgmT7228eyLrosjtJ4LpNVo+RvbK3KMTuBWW8Rh3c8Q= X-Received: by 2002:a19:8c55:: with SMTP id i21-v6mr246578lfj.90.1535635565859; Thu, 30 Aug 2018 06:26:05 -0700 (PDT) MIME-Version: 1.0 References: <20171215143456.278a3dc31bb09c9217e83927@aei.mpg.de> <30015_1513349242_5A33E07A_30015_587_1_20171215154659.c8a7f21317a06ab64e480955@aei.mpg.de> <20180830090941.0b92d2012406299b19a68be2@aei.mpg.de> In-Reply-To: <20180830090941.0b92d2012406299b19a68be2@aei.mpg.de> From: Alan Somers Date: Thu, 30 Aug 2018 07:25:54 -0600 Message-ID: Subject: Re: Fw: 100.chksetuid handging on nfs mounts To: =?UTF-8?B?R2Vycml0IEvDvGhu?= Cc: FreeBSD Net Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.27 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 13:34:35 -0000 On Thu, Aug 30, 2018 at 1:09 AM Gerrit K=C3=BChn = wrote: > On Fri, 15 Dec 2017 15:46:59 +0100 Gerrit K=C3=BChn > 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=3Drevision&revision=3D306048 > > > [2] https://svnweb.freebsd.org/base?view=3Drevision&revision=3D306642 > > > [3] https://svnweb.freebsd.org/base?view=3Drevision&revision=3D306644 > > > > 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 comman= d > (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 > I just checked, and on my system find does not descend into NFS directories mounted under /net. Could you share the output of "mount" ?