From owner-freebsd-bugs Thu May 10 4: 0:21 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 8BB5B37B422 for ; Thu, 10 May 2001 04:00:19 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4AB0J268435; Thu, 10 May 2001 04:00:19 -0700 (PDT) (envelope-from gnats) Date: Thu, 10 May 2001 04:00:19 -0700 (PDT) Message-Id: <200105101100.f4AB0J268435@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Thomas Quinot Subject: Re: bin/27230: Users after NIS lines in /etc/passwd Reply-To: Thomas Quinot Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/27230; it has been noted by GNATS. From: Thomas Quinot To: Dima Dorfman Cc: "Jacques A. Vidrine" , quinot@inf.enst.fr, FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/27230: Users after NIS lines in /etc/passwd Date: Thu, 10 May 2001 12:58:23 +0200 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. -- 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