From owner-svn-src-head@FreeBSD.ORG Sun Jan 25 21:00:31 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id DB415B27; Sun, 25 Jan 2015 21:00:31 +0000 (UTC) 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 95948853; Sun, 25 Jan 2015 21:00:31 +0000 (UTC) Received: from slw by zxy.spb.ru with local (Exim 4.84 (FreeBSD)) (envelope-from ) id 1YFUI6-0000xl-RY; Mon, 26 Jan 2015 00:00:18 +0300 Date: Mon, 26 Jan 2015 00:00:18 +0300 From: Slawa Olhovchenkov To: Peter Jeremy Subject: Re: svn commit: r277652 - in head/usr.sbin/pw: . tests Message-ID: <20150125210018.GV3698@zxy.spb.ru> References: <201501241913.t0OJD4xT039188@svn.freebsd.org> <20150125155254.V1007@besplex.bde.org> <20150125142148.GA76051@zxy.spb.ru> <20150126014336.P2572@besplex.bde.org> <20150125153639.GC76051@zxy.spb.ru> <20150125192128.GD23253@server.rulingia.com> <20150125192926.GT3698@zxy.spb.ru> <20150125205059.GE23253@server.rulingia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150125205059.GE23253@server.rulingia.com> User-Agent: Mutt/1.5.23 (2014-03-12) 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 Cc: svn-src-head@freebsd.org, Baptiste Daroussin , src-committers@freebsd.org, svn-src-all@freebsd.org, Bruce Evans X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 25 Jan 2015 21:00:32 -0000 On Mon, Jan 26, 2015 at 07:50:59AM +1100, Peter Jeremy wrote: > On 2015-Jan-25 22:29:26 +0300, Slawa Olhovchenkov wrote: > >I think this is result of convert (signed short) to (signed int). > > > >> >ls -l /usr/ports/packages32/lang > >> >total 2 > >> >lrwxr-xr-x 1 4294967294 wheel 33 Mar 17 2012 perl-threaded-5.12.4_4.tbz -> ../All/perl-threaded-5.12.4_4.tbz > >> >lrwxr-xr-x 1 4294967294 wheel 27 Mar 17 2012 python27-2.7.2_4.tbz -> ../All/python27-2.7.2_4.tbz > >> >lrwxr-xr-x 1 4294967294 wheel 21 Mar 17 2012 tcl-8.5.11.tbz -> ../All/tcl-8.5.11.tbz > >> >lrwxr-xr-x 1 4294967294 wheel 29 Mar 17 2012 tcl-modules-8.5.11.tbz -> ../All/tcl-modules-8.5.11.tbz > >> > >> All this means is that you have some files with that uid. It's not > >> clear how they were created. > > > >nfs3 export ZFS dataset to VM. VM do write as 'root'. root maped to > >nobody. When this is created -- host 9.1, VM -- 6.x. > > I can reproduce this with FreeBSD 10/r276177 client and server running > NFSv3 using the "new" NFS code. It appears to be due to the (broken) > initialisation of def_anon in mountd(8) with '(uid_t)-2' - as noted by > bde. It's nothing to do with ZFS. I don't talk 'this is ZFS bug'. I don't talk 'this is bug'. I only talk 'nfs over ZFS produce uid 2^32-2 as nobody' as opposite to Bruce talks. Also, I am ask solaris admin to test this setup -- solaris also produce 4294967294 as nobody. I am don't know what correctly way. I am just describe actual behaviour.