From owner-freebsd-fs@freebsd.org Wed Aug 22 10:56:19 2018 Return-Path: Delivered-To: freebsd-fs@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 38D391084FD2 for ; Wed, 22 Aug 2018 10:56:19 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id CA59F8EBA2 for ; Wed, 22 Aug 2018 10:56:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: by mailman.ysv.freebsd.org (Postfix) id 8BABA1084FD1; Wed, 22 Aug 2018 10:56:18 +0000 (UTC) Delivered-To: fs@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 7A70C1084FD0 for ; Wed, 22 Aug 2018 10:56:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.ysv.freebsd.org (mxrelay.ysv.freebsd.org [IPv6:2001:1900:2254:206a::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.ysv.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 1C4388EB9D for ; Wed, 22 Aug 2018 10:56:18 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.ysv.freebsd.org (Postfix) with ESMTPS id 4B85314256 for ; Wed, 22 Aug 2018 10:56:17 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id w7MAuHYh067263 for ; Wed, 22 Aug 2018 10:56:17 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id w7MAuHR4067261 for fs@FreeBSD.org; Wed, 22 Aug 2018 10:56:17 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: fs@FreeBSD.org Subject: [Bug 230752] panic: excl->share in newnfs_request Date: Wed, 22 Aug 2018 10:56:16 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: panic X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: dim@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: fs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Aug 2018 10:56:19 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D230752 --- Comment #4 from Dimitry Andric --- (In reply to Rick Macklem from comment #3) > Sorry, to clarify...I was wondering if the machine that panic()'d > had its /var/run exported to NFS client(s) that would have it mounted via > NFS. > (If that was the case, it could be a case where the nfsd thread is doing > a Getattr on /var/run/nfsuserd.sock and then it tries to connect to > /var/run/nfsuserd.sock to do the upcall to the nfsuserd.) > --> I think I'll need to make it still use UDP sockets by default (since > this could happen when the socket is in the namespace). No, it's only exporting other directories. /etc/exports looks like this: /archive -maproot=3Dnfsnobody:nfsnobody -network 192.168.0.1/24 /share -maproot=3Dnfsnobody:nfsnobody -network 192.168.0.1/24 /usr/obj /usr/src -maproot=3Dnfsnobody:nfsnobody -network 192.168.0.1/24 V4: / -network 192.168.0.1/24 The following nfs related settings are in /etc/rc.conf: nfs_client_enable=3D"NO" # This host is an NFS client (or NO). nfs_server_enable=3D"YES" # This host is an NFS server (or NO). nfsv4_server_enable=3D"YES" # Enable support for NFSv4 nfscbd_enable=3D"NO" # NFSv4 client side callback daemon nfsuserd_enable=3D"YES" # NFSv4 user/group name mapping daemon --=20 You are receiving this mail because: You are the assignee for the bug.=