[udev] saucy botching network configuration

Bug #1237188 reported by gregrwm
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
systemd (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

saucy network configuration is behaving strangely. i've installed saucy via netboot, selecting openssh-server only. saucy netboot found and used my cable modem just fine, but the network configuration it installed does not find my cable modem. precise works fine, so i brought forward /etc/network/interfaces and /etc/udev/rules.d/70-persistent-net.rules from precise. surprisingly, this didn't work.

details below. precise properly obtains an address for eth0 from the cable modern. saucy doesn't, and inserts a bizarre local address instead.

under precise, which works:
precise$ uname -a
Linux nana 3.2.0-41-lowlatency #45-Ubuntu SMP PREEMPT Fri Apr 26 11:06:24 UTC 2013 i686 i686 i386 GNU/Linux

precise$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:08:c7:d9:55:3f
          inet addr:71.195.45.129 Bcast:255.255.255.255 Mask:255.255.252.0
          UP BROADCAST RUNNING MULTICAST MTU:576 Metric:1
          RX packets:72876 errors:0 dropped:0 overruns:0 frame:0
          TX packets:45675 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:19570389 (19.5 MB) TX bytes:5011797 (5.0 MB)

eth1 Link encap:Ethernet HWaddr 00:04:5a:55:cf:29
          inet addr:192.168.0.6 Bcast:192.168.0.255 Mask:255.255.255.0
          inet6 addr: fe80::204:5aff:fe55:cf29/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:2201 errors:0 dropped:0 overruns:0 frame:0
          TX packets:1785 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:693375 (693.3 KB) TX bytes:674011 (674.0 KB)
          Interrupt:11 Base address:0x2400

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:16436 Metric:1
          RX packets:60728 errors:0 dropped:0 overruns:0 frame:0
          TX packets:60728 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:17205585 (17.2 MB) TX bytes:17205585 (17.2 MB)

precise$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 71.195.44.1 0.0.0.0 UG 100 0 0 eth0
71.195.44.0 0.0.0.0 255.255.252.0 U 0 0 0 eth0
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 eth1
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1

precise$ cat /etc/network/interfaces
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto eth1
iface eth1 inet static
        netmask 255.255.255.0
        address 192.168.0.6

precise$ cat /etc/udev/rules.d/70-persistent-net.rules
# PCI device 0x8086:0x1229 (e100) (mobo) (bottom)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:08:c7:d9:55:3f", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x1317:/sys/devices/pci0000:00/0000:00:0f.0 (tulip)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:04:5a:55:cf:29", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
# PCI device 0x10b7:0x9050 (3c59x) (top)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:60:08:bf:e3:2d", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"

precise$ cat /etc/network/interfaces~0riginal
auto lo
iface lo inet loopback

precise$ cat /~/etc^udev^rules.d^70-persistent-net.rules~0riginal
# PCI device 0x10b7:/sys/devices/pci0000:00/0000:00:10.0 (3c59x)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:60:08:bf:e3:2d", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"
# PCI device 0x8086:/sys/devices/pci0000:00/0000:00:0d.0 (e100)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:08:c7:d9:55:3f", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x1317:/sys/devices/pci0000:00/0000:00:0f.0 (tulip)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:04:5a:55:cf:29", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"

under saucy:
saucy$ ls /boot/vm*
/boot/vmlinuz-3.11.0-11-generic

saucy$ ifconfig
eth0 Link encap:Ethernet HWaddr 00:04:5a:55:cf:29
          inet addr:192.168.0.11 Bcast:192.168.0.255 Mask:255.255.255.0
          inet6 addr: fe80::204:5aff:fe55:cf29/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:273 errors:0 dropped:0 overruns:0 frame:0
          TX packets:33 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:17678 (17.6 KB) TX bytes:2878 (2.8 KB)

eth1 Link encap:Ethernet HWaddr 00:08:c7:d9:55:3f
          inet addr:192.168.0.6 Bcast:192.168.0.255 Mask:255.255.255.0
          inet6 addr: fe80::208:c7ff:fed9:553f/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
          RX packets:3498 errors:0 dropped:0 overruns:0 frame:0
          TX packets:30 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:227655 (227.6 KB) TX bytes:1516 (1.5 KB)

lo Link encap:Local Loopback
          inet addr:127.0.0.1 Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING MTU:65536 Metric:1
          RX packets:28 errors:0 dropped:0 overruns:0 frame:0
          TX packets:28 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0
          RX bytes:2432 (2.4 KB) TX bytes:2432 (2.4 KB)

saucy$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.0.1 0.0.0.0 UG 0 0 0 eth0
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth1
192.168.0.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0

saucy$ cat /etc/network/interfaces~0riginal
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
iface eth0 inet6 dhcp

saucy$ cat /~/etc^udev^rules.d^70-persistent-net.rules~0riginal
# PCI device 0x10b7:0x9050 (3c59x)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:60:08:bf:e3:2d", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth2"
# PCI device 0x1317:0x0985 (tulip)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:04:5a:55:cf:29", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"
# PCI device 0x8086:0x1229 (e100)
SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="00:08:c7:d9:55:3f", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1237188/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
gregrwm (gregrwm)
affects: ubuntu → ifupdown (Ubuntu)
Revision history for this message
gregrwm (gregrwm) wrote :

ifupdown 0.7.44ubuntu3 i386

tags: added: saucy
Revision history for this message
gregrwm (gregrwm) wrote :

aha, look at HWaddr under precise and saucy. seems saucy udev isn't honoring /etc/udev/rules.d/70-persistent-net.rules.

i'd reassign to udev, but perhaps someone else has permission to do that..

udev 204-0ubuntu15 i386

affects: ifupdown (Ubuntu) → udev (Ubuntu)
Revision history for this message
Martin Pitt (pitti) wrote :

Sounds a lot like bug 1235162 which was fixed yesterday. Can you please try with udev 204-0ubuntu16 and check if it's working now?

Changed in udev (Ubuntu):
status: New → Incomplete
summary: - saucy botching network configuration
+ [udev] saucy botching network configuration
affects: udev (Ubuntu) → systemd (Ubuntu)
Revision history for this message
gregrwm (gregrwm) wrote :

works now, thank you.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

Bug watches keep track of this bug in other bug trackers.