Ubuntu 7.10 /etc/network/interfaces order not honored during boot
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
linux-source-2.6.22 (Ubuntu) |
Won't Fix
|
Undecided
|
Unassigned |
Bug Description
Two problems, related. Very confusing bug.
1: When booting the order of the network interfaces in the file /etc/network/
2: Something else is bringing up the interfaces during boot besides /etc/init.
I have a simple bridging setup where it is crucial that the interfaces are brought up in the correct order:
# cat /etc/network/
auto lo br0 eth0 eth1
iface lo inet loopback
iface br0 inet manual
bridge_ports eth0 eth1
bridge_fd 0
iface eth0 inet dhcp
iface eth1 inet static
address 10.10.10.20
netmask 255.255.255.0
But when I boot the interfaces are brought up in the approximate order (very hard to debug): lo, eth0, eth1, br0.
But what is certain (after extensive debugging) is that br0 is brought up last, and eth0 and eth1 is NOT brought up by /etc/init.
The only way to kludge out of this mess is to put into rc.local:
ifdown -a; ifup -a
And then the network stack is brough up correctly.
The bug is that some other (unknown) process is running up the interfaces before /etc/init.
Casper
Thank you for your report. It will help to make ubuntu a better product.
Could you please provide us with two pieces of information.
What release of [K]Ubuntu you are running with this problem
What manual and page in the manual are you referring to
If it is an electronic manual please describe the steps you used to acccess it.