[Bug 964775] [NEW] Boot is delayed due to missing static network interface

Michael Hope 964775 at bugs.launchpad.net
Sun Mar 25 20:45:28 UTC 2012


Public bug reported:

/etc/init/failsafe.conf gets stuck waiting for the static interfaces in
/etc/network/interfaces to come up as one of them is a hotplug device.

I have a BeagleBone which shows up as a USB Ethernet gadget and a rule
in interfaces to set the IP addresses when it's plugged in.  The rule
is:

auto usb9
iface usb9 inet static
        address 192.168.7.1
        netmask 255.255.255.0
        up echo 1 > /proc/sys/net/ipv4/ip_forward
        up iptables -P FORWARD ACCEPT
        up iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.7.0/24
        down echo 0 > /proc/sys/net/ipv4/ip_forward
        down iptables -t nat -F POSTROUTING

upstart waits for ths interface to be configured but as the device isn't
there it never gets configured.  Eventually failsafe kicks in but it
adds 2 minutes to the boot.

ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: upstart 1.4-0ubuntu9
ProcVersionSignature: Ubuntu 3.2.0-19.30-generic 3.2.11
Uname: Linux 3.2.0-19-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.94.1-0ubuntu2
Architecture: amd64
Date: Mon Mar 26 09:40:56 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120219)
ProcEnviron:
 SHELL=/bin/bash
 TERM=xterm
 LANG=en_NZ.UTF-8
 LANGUAGE=en_NZ:en
SourcePackage: upstart
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: upstart (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug precise

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

Title:
  Boot is delayed due to missing static network interface

Status in “upstart” package in Ubuntu:
  New

Bug description:
  /etc/init/failsafe.conf gets stuck waiting for the static interfaces
  in /etc/network/interfaces to come up as one of them is a hotplug
  device.

  I have a BeagleBone which shows up as a USB Ethernet gadget and a rule
  in interfaces to set the IP addresses when it's plugged in.  The rule
  is:

  auto usb9
  iface usb9 inet static
          address 192.168.7.1
          netmask 255.255.255.0
          up echo 1 > /proc/sys/net/ipv4/ip_forward
          up iptables -P FORWARD ACCEPT
          up iptables -A POSTROUTING -t nat -j MASQUERADE -s 192.168.7.0/24
          down echo 0 > /proc/sys/net/ipv4/ip_forward
          down iptables -t nat -F POSTROUTING

  upstart waits for ths interface to be configured but as the device
  isn't there it never gets configured.  Eventually failsafe kicks in
  but it adds 2 minutes to the boot.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: upstart 1.4-0ubuntu9
  ProcVersionSignature: Ubuntu 3.2.0-19.30-generic 3.2.11
  Uname: Linux 3.2.0-19-generic x86_64
  NonfreeKernelModules: fglrx
  ApportVersion: 1.94.1-0ubuntu2
  Architecture: amd64
  Date: Mon Mar 26 09:40:56 2012
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120219)
  ProcEnviron:
   SHELL=/bin/bash
   TERM=xterm
   LANG=en_NZ.UTF-8
   LANGUAGE=en_NZ:en
  SourcePackage: upstart
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list