Date: Thu, 10 May 2001 20:30:03 -0700 (PDT) From: Dima Dorfman <dima@unixfreak.org> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/27230: Users after NIS lines in /etc/passwd Message-ID: <200105110330.f4B3U3504893@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/27230; it has been noted by GNATS. From: Dima Dorfman <dima@unixfreak.org> To: Thomas Quinot <quinot@inf.enst.fr> Cc: "Jacques A. Vidrine" <n@nectar.com>, FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/27230: Users after NIS lines in /etc/passwd Date: Thu, 10 May 2001 20:27:32 -0700 Thomas Quinot <quinot@inf.enst.fr> writes: > Le 2001-05-10, Dima Dorfman écrivait : > > > > No, NS_UNAVAIL _should_ short-circuit like this. I'll look for a bug > > > in __getpwcompat that returns NS_UNAVAIL inappropriately. > > In this case, it gets returned here: > > > > if(__ypdomain == NULL) { > > if(_yp_check(&__ypdomain) == 0) > > return NS_UNAVAIL; > > } > > > > line 512, rev. 1.59 of getpwent.c. > > As I understand it, your patch and/or changing the returned value would > resolve the faulty 'no such user' error, but not the 75-second hang > that is experienced when rpcbind is not running. I don't think that's a bug. It's the nature of NIS; it should wait in hopes of the server responding. Perhaps the bug is that it doesn't wait when rpcbind is running but ypbind isn't. > > -- > Thomas Quinot ** Département Informatique & Réseaux ** quinot@inf.enst.fr > ENST // 46 rue Barrault // 75634 PARIS CEDEX 13 > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105110330.f4B3U3504893>