Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Steven N. Hirsch <shirsch@ibm.net>
Subject: Re: glibc and hung UDB
Date: Thu, 20 Feb 1997 07:43:17 -0500 (EST)	[thread overview]
Message-ID: <08cf68e2b1eeee882e8c4b077802ff9f.axp-list@archive.invalid> (raw)
In-Reply-To: <Pine.LNX.3.95.970219230533.15888A-100000@lacrosse.redhat.com>

On Wed, 19 Feb 1997, Erik Troan wrote:

> On Wed, 19 Feb 1997, John E. Ray wrote:
> 
> > I had the same problem... noticed alot of activity on my gateway upon
> > rebooting... removed the nsswitch.conf file (as I figure that it was the
> > only network related thing that changed), and everything was back to
> > normal.
> 
> Shoot -- I didn't want to hear that :-( I'll make a new glibc tomarrow
> w/o the nsswitch.conf file.
> 
> Erik

Erik,

I commented on this over a month ago.  This broken behavior has been in
every version of glibc that purports to have NIS built-in.

The work-around is to have an nsswitch.conf that looks like:

--------------------------- Cut Here

#
# /etc/nsswitch.conf
#
# An example Name Service Switch config file. This file should be
# sorted with the most-used services at the beginning.
#
# The entry '[NOTFOUND=return]' means that the search for an
# entry should stop if the search in the previous entry turned
# up nothing. Note that if the search failed due to some other reason
# (like no NIS server responding) then the search continues with the
# next entry.
#
# Legal entries are:
#
#	nisplus or nis+		Use NIS+ (NIS version 3)
#	nis or yp		Use NIS (NIS version 2), also called YP
#	dns			Use DNS (Domain Name Service)
#	files			Use the local files
#	[NOTFOUND=return]	Stop searching if not found so far
#

passwd: files nis
group: files nis
hosts: dns [!UNAVAIL=return] files nis

--------------------------- Cut Here

Apparently, the DNS module followed by the !UNAVAIL keyword is the trick.

This works great on the 2.0.x kernels.  On 2.1.x it creates a LOOOOng hang
on boot, but eventually comes up.

Steve

--
To unsubscribe: send e-mail to axp-list-request@redhat.com with
'unsubscribe' as the subject.  Do not send it to axp-list@redhat.com

  parent reply	other threads:[~1997-02-20 12:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.3.95.970219230533.15888A-100000@lacrosse.redhat.com>
1997-02-20 11:07 ` glibc and hung UDB Andrea Dell'Amico
1997-02-20 12:43 ` Steven N. Hirsch [this message]
     [not found] <Pine.LNX.3.95.970220100343.8208A-100000@linux.aatech.com>
1997-02-22  1:28 ` Bernd
     [not found] <Pine.LNX.3.95.970220115723.14286B-100000@icaro.zia.ms.it>
1997-02-20 15:07 ` RHS Linux User
1997-02-20  7:48 John E. Ray
     [not found] <9702200748.AA08078@bigmac.ag.ohio-state.edu>
1997-02-20  4:05 ` Erik Troan
  -- strict thread matches above, loose matches on Subject: below --
1997-02-20  3:43 Stephen Williams
     [not found] <v03010d03af316b110cac@[140.247.69.102]>
1997-02-20  3:18 ` Erik Troan
     [not found] <Pine.LNX.3.95.970219212206.13195A-100000@lacrosse.redhat.com>
1997-02-20  2:46 ` Britt Bolen
1997-02-20  0:29 Britt Bolen
1997-02-20  2:22 ` Erik Troan
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox