Newsgroups: comp.sys.apollo
Path: utzoo!utgpu!news-server.csri.toronto.edu!helios.physics.utoronto.ca!alchemy.chem.utoronto.ca!system
From: system@alchemy.chem.utoronto.ca (System Admin (Mike Peterson))
Subject: Re: /etc/resolv.conf help needed
Message-ID: <1990Sep13.001955.29487@alchemy.chem.utoronto.ca>
Organization: University of Toronto Chemistry Department
References: <1504@wet.UUCP> <1990Sep7.142444.4305@ccs.carleton.ca> <29304@netnews.upenn.edu>
Date: Thu, 13 Sep 90 00:19:55 GMT

In article <29304@netnews.upenn.edu> lau@kings.wharton.upenn.edu (Yan K. Lau) writes:
>In article <1990Sep7.142444.4305@ccs.carleton.ca> holtz@cascade.carleton.ca (Neal Holtz) writes:
>>It works for me (DN2500 on domain ring, BSD4.3).  In /etc/rc.local I have:
><
><if [ -f /etc/nmconfig ]; then
>>	/etc/nmconfig -h hostent_bind  
><fi
>I have noticed one problem.  I got an error,
>"Network is unreachable" when I tried to ftp/telnet to localhost.  However,
>when I moved the /etc/nmconfig-h hostend_bind line further down in the
>/etc/rc.local file, say after the route commands, then localhost works fine.
>I wonder if anyone else has a similar experience?

You were very lucky the only problem you had was "localhost"
disappearing - on a DN10000 system, the boot will likely hang forever
at the '/etc/hostid' command in /etc/rc.local if you enable
nameservices. The system will probably boot OK until it crashes, then
you will not be able to reboot until going in a Phase II and changing the
/etc/rc.local file back to /etc/hosts address resolution.
As mentioned above, the solution is to move the '/etc/nmconfig' command
after the startup of 'named' (even if you don't run a local named),
and move the '/etc/hostid' command somewhere after that. This should all
be corrected in SR10.3[.p], since we are using a /etc/rc.local file
derived from SR10.3 (supposedly).
This problem kept our DN10K next to useless for 10 days when we first
switched to SR10.2.p, since the only way we could get it to boot was to
disable ALL TCP/IP related daemons/services, but all our logins come
via telnet/rlogin from a terminal server...
-- 
Mike Peterson, System Administrator, U/Toronto Department of Chemistry
E-mail: system@alchemy.chem.utoronto.ca
Tel: (416) 978-7094                  Fax: (416) 978-8775
