From owner-freebsd-bugs Fri May 11 8: 0: 5 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 EA07637B423 for ; Fri, 11 May 2001 08:00:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id f4BF02k01600; Fri, 11 May 2001 08:00:02 -0700 (PDT) (envelope-from gnats) Date: Fri, 11 May 2001 08:00:02 -0700 (PDT) Message-Id: <200105111500.f4BF02k01600@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: Thomas Quinot , "Jacques A. Vidrine" , FreeBSD-gnats-submit@freebsd.org Subject: Re: bin/27230: Users after NIS lines in /etc/passwd Date: Fri, 11 May 2001 16:50:51 +0200 Le 2001-05-11, Dima Dorfman écrivait : > > 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. In that case perhaps we could change the code to use TCP when trying to connect to the local portmapper, so we can get a 'connection refused' immediately rather than timing out when there is no portmapper running. If this is not possible, then the fact that all '+' lines in /etc/passwd and /etc/groups should be at the end of the file should IMO be documented. Thomas. -- 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