We have multiple network interfaces, which are all configured through DHCP. Now a problem arises when the SystemImager initrd does a "start_network", which is that dhclient is called for _all_ ethernet interfaces.
This causes in turn a race condition: whichever network responds first to the dhcp requests, is used to (try to) install the node. This is turn doesn't work when the network with incorrect dhcp settings wins.
However according to the wiki page the kernel/environment argument DEVICE=<something> should be used to contact the imageserver.
This can be fixed/prevented easily by using $DEVICE as cmdline argument to dhclient in the initrd functions, attached my patch for this. That way only $DEVICE gets configured through dhcp (during installation).
Kind regards, - Ramon. -- ing. R. Bastiaans Systems Programmer / High Performance Computing & Visualisation / SARA Computing and Networking Services Kruislaan 415 PO Box 194613 1098 SJ Amsterdam 1090 GP Amsterdam --- There are really only three types of people: Those who make things happen, those who watch things happen and those who say, "What happened?"
---
/usr/share/systemimager/boot/i386/standard/initrd_template/etc/init.d/functions.orig
2007-03-14 16:05:24.000000000 +0100
+++
/usr/share/systemimager/boot/i386/standard/initrd_template/etc/init.d/functions
2007-03-14 16:05:36.000000000 +0100
@@ -1014,7 +1014,7 @@
# get info via dhcp
logmsg
logmsg "dhclient"
- dhclient
+ dhclient $DEVICE
if [ ! -s ${DHCLIENT_DIR}/dhclient.leases ]; then
logmsg
logmsg "I couldn't configure the network interface using DHCP."
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ sisuite-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/sisuite-devel
