static-network-up event waits for 'auto' devs without a config stanza
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ifupdown (Ubuntu) |
Fix Released
|
Medium
|
Scott Moser |
Bug Description
Bug 838968 changed the behavior to block parts of boot waiting for 'auto' network interfaces to come up, by creating a static-network-up upstart event in /etc/network/
There is a bug in that code, though, were it looked only for 'auto' entries in /etc/network interfaces. If there was a stanza like:
auto eth0
then this event would wait for eth0 to come up.
This differed from the behavior of 'ifup -a' as 'ifup -a' would not wait for that device unless it also had a configuration.
For example, ifup -a would wait for:
auto eth0
iface eth0 inet dhcp
but not for:
auto eth0
It turns out that it is not uncommon to have 'auto eth0' in an /etc/network/
This was discussed in ubuntu-devel at [1] and then again at [2].
--
[1] http://
[2] http://
related bugs:
bug 850166: ifquery does not respect mappings
bug 838968: static-network-up event does not wait for interfaces to have an address
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: ifupdown 0.7~alpha5.1ubuntu4
ProcVersionSign
Uname: Linux 3.0.0-10-generic x86_64
ApportVersion: 1.22.1-0ubuntu2
Architecture: amd64
Date: Wed Sep 14 13:58:54 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Beta amd64 (20100318)
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=en_US.UTF-8
SourcePackage: ifupdown
UpgradeStatus: Upgraded to oneiric on 2010-11-15 (302 days ago)
summary: |
- static-network-up script waits for 'auto' devs without a config stanza + static-network-up event waits for 'auto' devs without a config stanza |
This bug was fixed in the package ifupdown - 0.7~alpha5.1ubuntu5
--------------- 1ubuntu5) oneiric; urgency=low
ifupdown (0.7~alpha5.
* use 'ifquery' in if-up.d/upstart rather than parsing interfaces
manually. This fixes issue where devices with 'auto' but without a
config stanza would be blocked on (LP: #850226).
-- Scott Moser <email address hidden> Wed, 14 Sep 2011 14:30:57 -0400