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

dann frazier 682445 at bugs.launchpad.net
Wed Jun 3 16:07:24 UTC 2020


This was fixed long ago.

initramfs-tools (0.100) unstable; urgency=low

  Release "singing in the snow ☃☃☃"

[...]
  [ Alkis Georgopoulos ]
  * [b938c7e] configure_networking() wait for udev to populate available
    nics (LP: #682445)
[...]

 -- Michael Prokop <mika at debian.org>  Tue, 14 Feb 2012 14:42:23 +0100


** Changed in: initramfs-tools (Ubuntu)
       Status: New => Fix Released

-- 
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:
  Fix Released

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