Date: Tue, 29 Jun 2010 12:16:39 -0400 (EDT) From: Rick Macklem <rmacklem@uoguelph.ca> To: "Rick C. Petty" <rick-freebsd2009@kiwi-computer.com> Cc: Adam Vande More <amvandemore@gmail.com>, freebsd-stable@freebsd.org, Ian Smith <smithi@nimnet.asn.au> Subject: Re: Why is NFSv4 so slow? (root/toor) Message-ID: <Pine.GSO.4.63.1006291214310.4707@muncher.cs.uoguelph.ca> In-Reply-To: <20100629153252.GA71786@kay.kiwi-computer.com> References: <20100627221607.GA31646@kay.kiwi-computer.com> <Pine.GSO.4.63.1006271949220.3233@muncher.cs.uoguelph.ca> <20100628031401.GA45282@kay.kiwi-computer.com> <Pine.GSO.4.63.1006280017190.2680@muncher.cs.uoguelph.ca> <20100628140054.GA52174@kay.kiwi-computer.com> <Pine.GSO.4.63.1006281950260.13834@muncher.cs.uoguelph.ca> <20100629134033.O9227@sola.nimnet.asn.au> <Pine.GSO.4.63.1006291054350.24800@muncher.cs.uoguelph.ca> <AANLkTimjDIQ4FRYAD3N_L1C1VermRX3S1PhvG5dSvz5A@mail.gmail.com> <20100629153252.GA71786@kay.kiwi-computer.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 29 Jun 2010, Rick C. Petty wrote: > > To be fair, I'm not sure this is even a problem. Rick M. only suggested it > as a possibility. I would think that getpwuid() would return the first > match which has always been root. At least that's what it does when > scanning the passwd file; I'm not sure about NIS. If someone can prove > that this will cause a problem with NFSv4, we could consider hackingit. > Otherwise I don't think we should change this behavior yet. > I do know that it causes problems from my testing. I think getpwuid() gets "toor" because of the way /etc/passwd gets stored in the database created from it via "vipw". I have no problem coding it as a special case for nfsuserd and documenting it. I just won't guarantee how soon it will happen:-) rick
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.63.1006291214310.4707>