[18063] in Athena Bugs

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

Re: 8.4 linux does not syncconf properly

daemon@ATHENA.MIT.EDU (Greg Hudson)
Sat Jul 29 00:42:21 2000

Message-Id: <200007290442.AAA01512@egyptian-gods.MIT.EDU>
To: Bill Cattey <wdc@MIT.EDU>
Cc: bugs@MIT.EDU
In-Reply-To: Your message of "Fri, 28 Jul 2000 22:08:10 EDT."
             <200007290208.WAA14043@hanta-yo.mit.edu> 
Date: Sat, 29 Jul 2000 00:42:15 -0400
From: Greg Hudson <ghudson@MIT.EDU>

> So the current theory is that Linux needs to reboot a second time to
> make the hostname change occurr for real.

It appears that we run syncconf before the network is set up (unlike
on Solaris) but after the system hostname is set.  (Although Athena
thinks of the system hostname as part of the network setup, that's not
really the case from a Unix point of view.)

In theory, something between rc.sysinit and syncconf might read and
store the hostname.  But in practice, I don't think any such thing
exists.  So perhaps the simple answer, rather than introducing the
reboot-on-certain-changes framework, is for syncconf to reset the
hostname.  I'll submit a patch to that effect.

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