From owner-svn-src-all@freebsd.org Fri Apr 21 22:29:50 2017 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0E147D49FEC; Fri, 21 Apr 2017 22:29:50 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) (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 C0B3B754; Fri, 21 Apr 2017 22:29:49 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from slw by zxy.spb.ru with local (Exim 4.86 (FreeBSD)) (envelope-from ) id 1d1h3d-000454-4R; Sat, 22 Apr 2017 01:29:41 +0300 Date: Sat, 22 Apr 2017 01:29:41 +0300 From: Slawa Olhovchenkov To: Rick Macklem Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r317269 - in head/sys: fs/nfs sys Message-ID: <20170421222941.GE83631@zxy.spb.ru> References: <201704212008.v3LK8AVg075168@repo.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201704212008.v3LK8AVg075168@repo.freebsd.org> User-Agent: Mutt/1.5.24 (2015-08-30) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Apr 2017 22:29:50 -0000 On Fri, Apr 21, 2017 at 08:08:10PM +0000, Rick Macklem wrote: > Author: rmacklem > Date: Fri Apr 21 20:08:10 2017 > New Revision: 317269 > URL: https://svnweb.freebsd.org/changeset/base/317269 > > Log: > Set default uid/gid to nobody/nogroup for NFSv4 mapping. > > The default uid/gid for NFSv4 are set by the nfsuserd(8) daemon. > However, they were 0 until the nfsuserd(8) was run. Since it is > possible to use NFSv4 without running the nfsuserd(8) daemon, set them > to nobody/nogroup initially. > Without this patch, the values would be set by the nfsuserd(8) daemon > and left changed even if the nfsuserd(8) daemon was killed. The default > values of 0 meant that setting a group to "wheel" would fail even when > done by root. > It also adds a definition of GID_NOGROUP to sys/conf.h. > > Discussed on: freebsd-current@ > MFC after: 2 weeks Can you also look to this problem https://lists.freebsd.org/pipermail/freebsd-stable/2012-March/066868.html ?