[Bug 682445] Re: configure_networking doesn't wait for udev to populate available nics

Launchpad Bug Tracker 682445 at bugs.launchpad.net
Mon Jul 9 12:47:04 UTC 2012


** Branch linked: lp:debian/initramfs-tools

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to initramfs-tools in Ubuntu.
https://bugs.launchpad.net/bugs/682445

Title:
  configure_networking doesn't wait for udev to populate available nics

Status in “initramfs-tools” package in Ubuntu:
  New

Bug description:
  Binary package hint: initramfs-tools

  Been seeing that since Karmic, and just reproduced it with Natty.

  In /usr/share/initramfs-tools/scripts/functions, function configure_networking() is called from the initramfs to setup a network connection for e.g. diskless booting.
  This function doesn't call `udevadm settle` or anything similar to wait until the NICs are made available by udev.
  So many times booting fails with messages like "ipconfig: no devices to configure" etc.

  Attaching a screenshot that displays the problem. configure_networking
  tried to call ipconfig before the NIC was available, so booting
  failed. After a couple of secs udev initialized the NIC.

  A workaround is to pass "break=mount" in the kernel options, wait
  until udev initializes, and then press Ctrl+D to continue booting.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/682445/+subscriptions




More information about the foundations-bugs mailing list