[Bug 1307429] Re: Existing allow-hotplug devices do not come up
Benjamin Drung
bdrung at posteo.de
Tue May 13 15:24:06 UTC 2014
Update verified for Ubuntu 13.10:
# reboot
# apt-cache policy ifupdown
ifupdown:
Installed: 0.7.44ubuntu3.1
Candidate: 0.7.44ubuntu3.1
Version table:
*** 0.7.44ubuntu3.1 0
500 http://de.archive.ubuntu.com/ubuntu/ saucy-proposed/main amd64 Packages
100 /var/lib/dpkg/status
0.7.44ubuntu3 0
500 http://de.archive.ubuntu.com/ubuntu/ saucy/main amd64 Packages
# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
allow-hotplug eth1
iface eth1 inet dhcp
allow-hotplug eth2
iface eth2 inet dhcp
allow-hotplug eth3
iface eth3 inet dhcp
allow-hotplug eth4
iface eth4 inet dhcp
allow-hotplug eth5
iface eth5 inet dhcp
# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 64000 qdisc pfifo_fast state UP qlen 1000
link/ether 02:01:eb:44:b8:79 brd ff:ff:ff:ff:ff:ff
inet 78.137.99.241/32 brd 78.137.99.241 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::1:ebff:fe44:b879/64 scope link
valid_lft forever preferred_lft forever
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ifupdown in Ubuntu.
https://bugs.launchpad.net/bugs/1307429
Title:
Existing allow-hotplug devices do not come up
Status in “ifupdown” package in Ubuntu:
Fix Released
Status in “ifupdown” source package in Precise:
Fix Committed
Status in “ifupdown” source package in Saucy:
Fix Committed
Status in “ifupdown” source package in Trusty:
Fix Committed
Bug description:
SRU Justification:
[Impact]
Devices that are listed with allow-hotplug in /etc/network/interfaces do not come up when they are hotplugged. "ip addr" shows that these devices are down.
[Test Case]
Steps to reproduce:
1) Install Ubuntu 12.04, 13.10, or 14.04 in a virtual machine (e.g. with libvirt) with one network device.
2) Modify /etc/network/interfaces to
auto lo
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet dhcp
allow-hotplug eth1
iface eth1 inet dhcp
allow-hotplug eth2
iface eth2 inet dhcp
3) Boot your virtual machine.
4) Type "ip addr" to show your network devices. It should show eth0 which should be up (but isn't)
5) Add/Hotplug one NIC to your virtual machine.
6) "ip addr" should show that eth1 is up too (but isn't)
[Regression Potential]
Patch is already in Utopic.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ifupdown/+bug/1307429/+subscriptions
More information about the foundations-bugs
mailing list