[Bug 905828] Re: init-bottom/23networking causes 2 minute delay

Stéphane Graber stgraber at stgraber.org
Wed Oct 3 18:23:28 UTC 2012


** Changed in: casper (Ubuntu)
       Status: New => Fix Committed

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

Title:
  init-bottom/23networking causes 2 minute delay

Status in “casper” package in Ubuntu:
  Fix Committed

Bug description:
  Caspers initrd script init-bottom/23networking has a piece which
  causes a couple of, possibly non-existant interfaces to be added to
  /etc/network/interfaces if NetworkManager is not installed, regardless
  of whether they actually exist or not.

  Writing non-existant interfaces to that file, on the other hand,
  delays the boot through the failsafe.conf upstart job for about 2
  minutes, which lives unless shut down due to notice by the static-
  network-up event.

  if [ ! -x /root/usr/sbin/NetworkManager ]; then
      for i in eth0 eth1 eth2 ath0 wlan0; do
          grep -q "iface $i" $IFFILE && continue
          cat >> "$IFFILE" <<EOF
  auto $i
  iface $i inet dhcp

  EOF
      done
  fi

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/casper/+bug/905828/+subscriptions




More information about the foundations-bugs mailing list