Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* About to rebuild kernel after renaming my system.
@ 1997-07-18  4:00 Peter Chapin
  0 siblings, 0 replies; only message in thread
From: Peter Chapin @ 1997-07-18  4:00 UTC (permalink / raw)




When I first brought my system up I gave it a temporary name. I'm using
DEC Unix v4.0A. A few weeks later I renamed it to it's final, production
name using the Network Configuration Application from the SysMan
Configuration Checklist. In particular, I revised the hostname in the
Ethernet Interface dialog box.  This seemed to mostly work. I had to tweak
the sendmail configuration file, but otherwise the system seems to run
fine under the new name. 

I am about to rebuild the kernel. However, I notice a number of places
under the /sys directory structure where the old name is still being used.
I could rebuild the kernel using the old system name to identify it, but
that is sort of annoying. I'd rather just update the names under /sys to
reflect the new, true name. Here are the places I've identified as needing
to be changed:

/sys/conf/config-file
  The name of the config-file needs to be changed as does the "ident"
  field in that file.

/sys/conf/config-file.list
  The name of this file reflecting layered products needs to be changed.

/sys/system-name
  The name of this directory needs to be changed.

/sys/system-name/system-name.mod
  The name of this binary file needs to be changed. I'm not sure what
  this file is for.

/sys/system-name/sysconfigtab
  This file needs to be edited so that the .mod file above is correctly
  mentioned.

/sys/system-name/sysconfigtab.system-name
  The name of this file needs to be changed and it needs to be edited. It
  appears to be identical to /sys/system-name/sysconfigtab. I'm not quite
  certainly why this is so. Perhaps this file is copied into the
  sysconfigtab file during the rebuilding process?

I can probably do all of these things manually and then attempt a rebuild
to see if it works. However, I thought I'd post a message to this group
first to see if I'm missing something important. Is there a better way to
do this? Is there some utility that I should be using to update the system
name? If I do have to do this manually, have I found all the places that I
need to change? I hope I don't have to go into the binary data inside
/sys/system-name/system-name.mod and change anything in there!

I understand that it's not strictly necessary for me to change these
things. My impression is that the system name used under /sys is just for
the purposes of identifying the system during the rebuild and that it has
nothing to do with the name the system thinks it has when it's running
(true?) But it offends my sense of cleanliness to have the wrong
(temporary) name on all those files!

TIA

*****************************************************************************
Peter                                    http://twilight.vtc.vsc.edu/~pchapin
pchapin@twilight.vtc.vsc.edu	  Paganism: Ancient beliefs in a modern world




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-07-18  4:00 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1997-07-18  4:00 About to rebuild kernel after renaming my system Peter Chapin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox