[Bug 410013] New: diskless booting setup via /lib/mkinitd/* files
https://bugzilla.novell.com/show_bug.cgi?id=410013 Summary: diskless booting setup via /lib/mkinitd/* files Product: openSUSE 11.0 Version: Final Platform: x86-64 OS/Version: openSUSE 11.0 Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: claude.cantin@nrc.ca QAContact: qa@suse.de Found By: Customer I am setting up a cluster made out of one head node, and various working nodes. Those working nodes are booting via PXE, then using a NFS root filesystems broken down in various NFS-mounted filesystems. This requires creating on own "diskless" mkinitrd, based on the /lib/mkinitrd/ files on openSUSE 11.0. In doing so, a colleague found we a number of bugs (changes required in the files). We were able to test them during the building of the cluster. I am listing those changes here. All files are within the /lib/mkinitrd/ tree: 1. setup/11-storage.sh Ensure value of "interface" is not overwritten. dlman> diff 11-storage.sh 11-storage.sh.orig 320c320 < interface=${interface:-default} --- > interface=default dlman> 2. setup/81-nfs.sh Ensure value of "interface" is not overwritten. dlman> diff 81-nfs.sh 81-nfs.sh.orig 7c7 < interface=${interface:-default} --- > interface=default dlman> 3. setup/82-network.sh The quotes ensure a comparison is done. If string value is empty, we get a "expected unary operation" error message! dlman> diff 82-network.sh 82-network.sh.orig 120c120 < if [ "${ifspec##*/}" = "dhcp" ] ; then --- > if [ ${ifspec##*/} = "dhcp" ] ; then 4. boot/11-network.sh Comment says, "dhcp", original test case was for "static" but treated as if it was DHCP... Reading the code makes it obvious it was a "distraction" mistake. dlman> diff 11-network.sh 11-network.sh.orig 64c64 < if [ "$nettype" = "dhcp" ]; then --- > if [ "$nettype" = "static" ]; then dlman> Regards, Claude -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=410013
Cyril Hrubis
https://bugzilla.novell.com/show_bug.cgi?id=410013
User hare@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=410013#c1
Hannes Reinecke
participants (1)
-
bugzilla_noreply@novell.com