Subject: Re: ypbind hangs as of current from midday yesterday (kern+user)
To: Wraukon the Excellent <firstname.lastname@example.org>
From: Hauke Fath <hauke@Espresso.Rhein-Neckar.DE>
Date: 07/03/2007 23:58:06
At 14:31 Uhr -0700 3.7.2007, Wraukon the Excellent wrote:
>On 7/1/07, Manuel Bouyer <email@example.com> wrote:
>> Do you have NIS or DNS enabled for hosts in /etc/nsswitch.conf ? It could
>> be the cause of the hang. Especially if NIS is enabled and the hosts
>> involved in NIS startup aren't listed in /etc/hosts (with the proper names),
>> there will be a deadlock.
>> Are the hosts in the ypservers map and /var/yp/binding/<domain>.ypservers
>> properly recorded in /etc/hosts ?
>Hint: Don't use NIS for groups. If NIS can't find its server, you
>won't even be able to log in as root.
Hint: Please don't top post when taking part in a discussion.
Instead of dumping NIS, the lookup for root's group membership should be
made an option, defaulting to off. Furthermore, there should be a
timeout-and-ignore option for nsswitch.conf, to at least have the option of
avoiding indefinite hangs.
"It's never straight up and down" (DEVO)