[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#744777: live-boot-initramfs-tools: breaks foreach device loop after first ethernet device got a carrier



Package: live-boot-initramfs-tools
Severity: important

Dear Maintainer,

during a netboot startup live-boot is looking for connected interfaces and saves them to /conf/param.conf.
This is done in the file 9990-select-eth-device.sh
Here you are looping maximum 5 times and try to get an interface that has got a carrier. After the first
one is found its name is written to param.conf and the loop will be terminated.
This is OK as long as your first interface that came up has got a route to your nfsroot.
I have multiple interfaces with seperate DHCP servers. And the one with the correct route might not be the
first one. So I need to wait until all interfaces got a carrier.
My work around is to add a "sleep 5" before the loop, so all interfaces have enough time to come available.

I think this is a serious bug as soon as you have more than one device with a DHCP!

Regards,
Malte


System Information:
Debian Release: 7.4
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash


Reply to: