[23495] in Athena Bugs

home help back first fref pref prev next nref lref last post

hesiod-less linux machines

daemon@ATHENA.MIT.EDU (Jonathon Weiss)
Wed Aug 6 23:23:54 2003

Date: Wed, 6 Aug 2003 23:23:52 -0400 (EDT)
Message-Id: <200308070323.XAA17785@bearing-an-hourglass.mit.edu>
To: bugs@MIT.EDU
From: Jonathon Weiss <jweiss@MIT.EDU>


linux machines without hesiod will update from 9.1 to 9.2, but will
not take subsequent patch release because update_ws bombs out
complaining that there is no cluster info.  It is, of cource, correct,
but it shouldn't care.  The problem appears to be in the getclusthv()
function.  Specifically, it calls:

  eval `AUTOUPDATE=false getcluster -b -l /etc/athena/cluster.local "$1" "$2"`

where $1 is "public-linux" (pretending to be a hostname) and $2 is a
version number.  Unfortunately, with the getcluster in 9.2 it ignores
the hostname unless it is proceeded with a -h.  Note that simply
adding the '-h' will break machines that are still running 9.1.
Developing an actual patch is left as an exercise for the reader.

-- 

	Jonathon

home help back first fref pref prev next nref lref last post