[18956] in Athena Bugs
Larry Stone: athena 9.0 (current) install bug
daemon@ATHENA.MIT.EDU (Greg Hudson)
Thu May 17 13:58:59 2001
Message-Id: <200105171758.NAA10776@egyptian-gods.MIT.EDU>
To: bugs@MIT.EDU
Date: Thu, 17 May 2001 13:58:48 -0400
From: Greg Hudson <ghudson@MIT.EDU>
------- Forwarded Message
Replied: Thu, 17 May 2001 10:16:24 -0400
Replied: "lcs@MIT.EDU "
Return-Path: <lcs@MIT.EDU>
Received: from central-city-carrier-station.mit.edu by po12.mit.edu (8.9.2/4.7) id VAA09117; Wed, 16 May 2001 21:24:26 -0400 (EDT)
Received: from melbourne-city-street.mit.edu (MELBOURNE-CITY-STREET.MIT.EDU [18.7.21.86])
by central-city-carrier-station.mit.edu (8.9.2/8.9.2) with ESMTP id VAA20760;
Wed, 16 May 2001 21:24:25 -0400 (EDT)
Received: from defiant.mit.edu (DEFIANT.MIT.EDU [18.18.1.78])
by melbourne-city-street.mit.edu (8.9.2/8.9.2) with ESMTP id VAA19900;
Wed, 16 May 2001 21:24:25 -0400 (EDT)
Received: (from lcs@localhost) by defiant.mit.edu (8.9.3)
id VAA13733; Wed, 16 May 2001 21:24:25 -0400 (EDT)
Date: Wed, 16 May 2001 21:24:25 EDT
From: Larry Stone <lcs@MIT.EDU>
Reply-To: <lcs@MIT.EDU>
To: miki@MIT.EDU, ghudson@MIT.EDU, amb@MIT.EDU
Cc: wdc@MIT.EDU
Subject: athena 9.0 (current) install bug
Message-ID: <CMM.0.90.4.990062665.lcs@defiant.mit.edu>
Here's an odd problem in the install (current as of 16-may 17:00) on
solaris that precipitated some other problems:
1. A vanilla install onto a sparc ultra 5 (orchestrated by miki) got
to the point of dumping me in the single-user shell for modifications,
so I set up a couple things, edited (carefully!) /etc/athena/rc.conf,
etc. At the time, I didn't notice anything wrong with that file,
but there was...
2. When the system rebooted, right after the kernel's configuration
spewage was the message:
configuring IPv4 interfaces: ifconfig: hangar-queen.mit.edu: bad address
hme0.
...and some other breakage. I discovered this was because the
/etc/inet/hosts line for hangar-queen was *missing* the IP address,
the line was simply:
hangar-queen.mit.edu hangar-queen
This, in turn, was caused by a missing IP address in the /etc/athena/rc.conf
file; it had a line simply
ADDR=; export ADDR #* Internet address
So, I corrected this, and the host table, but the system *still*
wouldn't finish booting. It got into the rc.whatever stage and said:
/etc/athena/syncconf: test: argument expected
Need to reboot for configuration changes...
This ugly loop was caused by two problems:
1. syncconf writes a script, /var/athena/rc.conf.sync, that will fail
if any of the rc.conf variables is an empty string. It should wrap
quotes around the literal value of the variable in the test to prevent
this. Try setting ADDR= in rc.conf and you'll see what I mean.
2. the rc script that calls syncconf uses an exit code of 1 as the
signal to reboot -- but /bin/sh syntax errors cause an "exit 1".
Perhaps it should use a different value as the signal, since reboot
loops are annoying.
After fixing the /var/athena/rc.conf.sync script by hand, reboot worked
and the install is finished.
-- Larry
------- End of Forwarded Message