From owner-freebsd-stable Fri Sep 22 4:39:15 2000 Delivered-To: freebsd-stable@freebsd.org Received: from iclub.nsu.ru (iclub.nsu.ru [193.124.222.66]) by hub.freebsd.org (Postfix) with ESMTP id 7C75E37B423 for ; Fri, 22 Sep 2000 04:39:08 -0700 (PDT) Received: from localhost (fjoe@localhost) by iclub.nsu.ru (8.9.3/8.9.3) with ESMTP id SAA50359; Fri, 22 Sep 2000 18:37:58 +0700 (NSS) (envelope-from fjoe@iclub.nsu.ru) Date: Fri, 22 Sep 2000 18:37:58 +0700 (NSS) From: Max Khon To: "Michael Sperber [Mr. Preprocessor]" Cc: freebsd-stable@FreeBSD.org Subject: Re: Request for change to /etc/rc script In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG hi, there! On Fri, 22 Sep 2000, Max Khon wrote: > > >> > We have a similar problem with the combination of NIS and ipfw. The details > > >> > (and a patch) are in conf/18521: > > >> > http://www.FreeBSD.org/cgi/query-pr.cgi?pr=18521 - nobody has touched it > > >> > since its submission in May. > > >> > > >> I've never used NIS, but isn't this either a bug/missing feature > > >> in NIS or a misconfiguaration on your part? > > >> > > >> Shouldn't NIS have a "first found" option so that root:wheel doesn't > > >> need NIS resolution? > > > > Max> nope. getpwnam("root") always tries to find "root" in NIS maps > > Max> (and fails after a quite long delay miserably if for example NIS server is > > Max> unreachable) even if root:wheel exists in local passwd/group files. > > > > This doesn't happen here, at least not under 4.0-RELEASE. What's your > > /etc/passwd look like? > > --- cut here --- > root:xxxxxx:0:0::0:0:Charlie &:/root:/bin/tcsh > [...] > +::::::::: > --- cut here --- > > this happens on wide range of FreeBSD versions from 3.3-RELEASE to > 4.1-STABLE (24 Jul 2000) of course it finds "root" entry in local passwd after it fails to find it in NIS maps (I should be more precise). /fjoe To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message