SUMMARY: ifconfig takes a few minutes at boottime

From: Tomas Stephanson (tomas@medialab.ericsson.se)
Date: Mon Oct 16 1995 - 20:37:10 CDT


The Original Question
>I am running Solaris 2.4, when I boot Solaris 2.4 machines
>the ifconfig of the ethernet interface (in /etc/init.d/rootusr)
>takes a few minutes, this happens on all the machines on
>the subnet, all machines are diskfull and are running NIS+.
>Under Solaris 2.3 the boot was normal and SunOS 4.1.x machines

Well thank you for everybody who responded so quickly, it led me
on the right track.

The answer it turns out is reported in BugId 1091341 and 1152612
The problem is that if you have "dns" before "files" in nsswitch.conf
the machine tries to resolve its host name via dns (which is a
bit difficult as no network interfaces are configured), dns timesout
after a few minutes.

My nsswitch.conf files looks like this now and works.
hosts: nisplus files dns [NOTFOUND=return]

Sun says the bug was fixed in Solaris 2.3, but the problems seems to
still be around in 2.4. Sun says that it is fixed in 2.5.

Thanks to
nobroin@esoc.esa.de (Niall O Broin x 3619)
dave@momentum.com.au (Dave Kelley)
Ric Anderson <ric@rtd.com>

/Tomas Stephanson



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:34 CDT