OpenSolaris

You are not signed in. Sign in or register.

Build 44

There is a bug related to network installations in this build:

6453083  rmclient bug fix causes regression in addclient and removes /etc/ethers entry in snv_43 and snv44

There is a Workaround for the bug, please see section after description below.

Description

On our install server ins3525-svr, the /etc/ethers is a local file and we do not use NIS administer this. We usually will update the /etc/ethers whenever we had new systems in the lab.

If I do this on the ins3525-svr to add PXE client from any snv43 or snv44 images, it removes the ethernet address of the client:
root@ins3525-svr# pwd /export/nv/solarisdvd.nvxdvd/latest/Solaris11/Tools root@ins3525-svr# root@ins3525-svr# ls Boot addclient.sparc rmclient Installers addclient.x86 rmclient.sparc addinstallclient dial rmclient.x86 addclient rminstallclient setupinstallserver root@ins3525-svr# grep line3-colfax2 /etc/ethers 00:e0:81:2a:a0:38 line3-colfax2 root@ins3525-svr# ./addclient -d -e 00:e0:81:2a:a0:38 i86pc cleaning up preexisting install client "00:e0:81:2a:a0:38" cleaning /etc/ethers removing 00:e0:81:2a:a0:38 from ethers
To disable 00:e0:81:2a:a0:38 in the DHCP server, remove the entry with Client ID 0100E0812AA038 copying boot file to /tftpboot/pxegrub.I86PC.Solaris11-11
If not already configured, enable PXE boot by creating a macro named 0100E0812AA038 with: Boot server IP (BootSrvA) : 10.6.35.8 Boot file (BootFile) : 0100E0812AA038
root@ins3525-svr# grep line3-colfax2 /etc/ethers root@ins3525-svr#

With the rminstallclient fix, we forget that addclient will call rmclient first and then call addclient. Then the ethers entry for the client will be gone forever. This causes corruption in the /etc/ethers and is a major headache for system administer. I will replace the rminstallclient with the one from snv42 until this problem is looked at.

This regression was caused by the fix to rmclient by bugid 4638062.

Workaround

I use setupinstallserver to setup an image for testing purpose:
root@ins3525-svr# pwd /export/nv/solarisdvd.nvxdvd/latest/Solaris11/Tools root@ins3525-svr# cd /export/nv/dvdx root@ins3525-svr# ls 28 32 36 40 42a 44jato 29 33 37 41 43 jan38 30 34 38 41test 44 latest 31 35 39 42 44vulcan root@ins3525-svr# cd latest root@ins3525-svr# cd So*/To* root@ins3525-svr# ./setupinstallserver /export/nv/dvdx/44rmclient Verifying target directory… Calculating the required disk space for the Solaris11 product Calculating space required for the installation boot image Copying the CD image to disk… Copying Install Boot Image hierarchy… Copying /boot x86 netboot hierarchy… Install Server setup complete you have mail root@ins3525-svr# root@ins3525-svr# diff /etc/ethers.orig /etc/ethers 5d4 < 00:e0:81:2a:a0:38 line3-colfax2 root@ins3525-svr# grep line3-colfax2 /etc/ethers 00:e0:81:2a:a0:38 line3-colfax2 root@ins3525-svr# ./addclient -d -e 00:e0:81:2a:a0:38 i86pc cleaning up preexisting install client "00:e0:81:2a:a0:38" cleaning /etc/ethers removing 00:e0:81:2a:a0:38 from ethers
To disable 00:e0:81:2a:a0:38 in the DHCP server, remove the entry with Client ID 0100E0812AA038
If not already configured, enable PXE boot by creating a macro named 0100E0812AA038 with:
  Boot server IP (BootSrvA) : 10.6.35.8
  Boot file      (BootFile) : 0100E0812AA038
root@ins3525-svr# grep line3-colfax /etc/ethers root@ins3525-svr#
Then replace /etc/ethers and rm
installclient from build 42 (or a previous build) of SXCR.
root@ins3525-svr# cp /etc/ethers.orig /etc/ethers root@ins3525-svr# ls Boot addclient.sparc rmclient Installers addclient.x86 rmclient.sparc add
installclient dial rmclient.x86 addclient rminstallclient setupinstallserver root@ins3525-svr# cp rminstallclient rminstallclient.44 root@ins3525-svr# cp /export/nv/dvdx/42/So*/To*/rminstallclient rminstallclient.42 root@ins3525-svr# ls Boot addclient.x86 rmclient Installers dial rmclient.sparc addinstallclient rminstallclient rmclient.x86 addclient rminstallclient.42 setupinstallserver addclient.sparc rminstallclient.44 root@ins3525-svr# cp rminstallclient.42 rminstall_client root@ins3525-svr# grep line3-colfax2 /etc/ethers 00:e0:81:2a:a0:38 line3-colfax2 root@ins3525-svr# ./addclient -d -e 00:e0:81:2a:a0:38 i86pc cleaning up preexisting install client "00:e0:81:2a:a0:38"
To disable 00:e0:81:2a:a0:38 in the DHCP server, remove the entry with Client ID 0100E0812AA038
If not already configured, enable PXE boot by creating a macro named 0100E0812AA038 with: Boot server IP (BootSrvA) : 10.6.35.8 Boot file (BootFile) : 0100E0812AA038
root@ins3525-svr# grep line3-colfax2 /etc/ethers 00:e0:81:2a:a0:38 line3-colfax2 root@ins3525-svr#