OpenSolaris

You are not signed in. Sign in or register.

Flag Day for those who maintain private copies of bfu; Heads up for everyone else]

Date: Sat, 27 Sep 2008 14:03:10 -0500
From: Ken Erickson <kene at macolaris dot sfbay dot sun dot com>
To: onnv-gate at onnv dot eng dot sun dot com, on-all at sun dot com
Subject: Flag Day for those who maintain private copies of bfu; Heads up for everyone else]

The putback of 6559979 - Replace sysinit ELF file with simpler
mechanism on x86 boxes, changes the hostid (system serial number)
mechanism on x86 systems (sparc is unaffected).  This change should be
in the nightly archives as of Sunday 9/28/08.

FLAG DAY for those who maintain private copies of bfu.  You must
rebuild and install the SUNWonbld package to get a new binary called
/opt/onbld/bin/`uname -p`/extract_hostid.  This is a helper program
that bfu will use to get the existing hostid from
/kernel/misc/sysinit.

Prior to this change, the hostid was stored in /kernel/misc/sysinit,
in binary format.  It has now been moved to /etc/hostid, in a rot-47
encoded ascii format.

bfu has been modified to migrate the existing hostid from the sysinit
file to the /etc/hostid file.  We intentionally leave behind the
existing sysinit file, so backwards bfu will not break.

For new installations, the /etc/hostid file is generated on first
boot.  The x86 kernel now generates the hostid value.  Previously it
was generated by suninstall.

One potential issue we identified during the project is described in
bug 6716241, where a ZFS root filesystem will not be mounted if the
system hostid changes value since the last time the filesystem was
mounted.

This shouldn't be an issue, since bfu will not change the hostid, and
newly installed systems will never have this happen, but you should be
aware of it anyway, until that bug is fixed.


-- 
Ken Erickson                                     | kene at Eng dot Sun dot COM
Sun Microsystems, Inc., Solaris OS Engineering   | Voice: (847)663-9471
4150 Network Circle MS UITA01                    | Cell:  (312)401-6254
Santa Clara, CA 95054                            | 

If you want me to read something, don't send it as
a StarOffice or HTML attachment.