← Back to team overview

kernel-packages team mailing list archive

[Bug 1235162] Re: Regression: Persistent net names via /etc/udev/rules.d/70-persistent-net.rules fail

 

Improved extract from udev.log showing the DEVPATH_OLD values:

$ egrep -A 3 'move.*(eth|rename)[[:digit:]]' /var/log/udev
KERNEL[19.167867] move     /devices/pci0000:00/0000:00:07.0/net/rename4 (net)
ACTION=move
DEVPATH=/devices/pci0000:00/0000:00:07.0/net/rename4
DEVPATH_OLD=/devices/pci0000:00/0000:00:07.0/net/eth2
--
KERNEL[19.449910] move     /devices/pci0000:00/0000:00:09.0/0000:02:00.0/0000:03:01.0/0000:05:00.1/net/rename6 (net)
ACTION=move
DEVPATH=/devices/pci0000:00/0000:00:09.0/0000:02:00.0/0000:03:01.0/0000:05:00.1/net/rename6
DEVPATH_OLD=/devices/pci0000:00/0000:00:09.0/0000:02:00.0/0000:03:01.0/0000:05:00.1/net/eth4
--
KERNEL[19.472417] move     /devices/pci0000:00/0000:00:09.0/0000:02:00.0/0000:03:00.0/0000:04:00.0/net/eth2 (net)
ACTION=move
DEVPATH=/devices/pci0000:00/0000:00:09.0/0000:02:00.0/0000:03:00.0/0000:04:00.0/net/eth2
DEVPATH_OLD=/devices/pci0000:00/0000:00:09.0/0000:02:00.0/0000:03:00.0/0000:04:00.0/net/eth0
--
KERNEL[19.488425] move     /devices/pci0000:00/0000:00:09.0/0000:02:00.0/0000:03:01.0/0000:05:00.0/net/eth4 (net)
ACTION=move
DEVPATH=/devices/pci0000:00/0000:00:09.0/0000:02:00.0/0000:03:01.0/0000:05:00.0/net/eth4
DEVPATH_OLD=/devices/pci0000:00/0000:00:09.0/0000:02:00.0/0000:03:01.0/0000:05:00.0/net/eth3
--
KERNEL[19.504160] move     /devices/pci0000:00/0000:00:07.0/net/eth0 (net)
ACTION=move
DEVPATH=/devices/pci0000:00/0000:00:07.0/net/eth0
DEVPATH_OLD=/devices/pci0000:00/0000:00:07.0/net/rename4
--
KERNEL[19.528341] move     /devices/pci0000:00/0000:00:09.0/0000:02:00.0/0000:03:01.0/0000:05:00.1/net/eth3 (net)
ACTION=move
DEVPATH=/devices/pci0000:00/0000:00:09.0/0000:02:00.0/0000:03:01.0/0000:05:00.1/net/eth3
DEVPATH_OLD=/devices/pci0000:00/0000:00:09.0/0000:02:00.0/0000:03:01.0/0000:05:00.1/net/rename6
--
UDEV  [26.859211] move     /devices/pci0000:00/0000:00:07.0/net/rename4 (net)
ACTION=move
DEVPATH=/devices/pci0000:00/0000:00:07.0/net/rename4
DEVPATH_OLD=/devices/pci0000:00/0000:00:07.0/net/eth2
--
UDEV  [26.878494] move     /devices/pci0000:00/0000:00:09.0/0000:02:00.0/0000:03:01.0/0000:05:00.1/net/rename6 (net)
ACTION=move
DEVPATH=/devices/pci0000:00/0000:00:09.0/0000:02:00.0/0000:03:01.0/0000:05:00.1/net/rename6
DEVPATH_OLD=/devices/pci0000:00/0000:00:09.0/0000:02:00.0/0000:03:01.0/0000:05:00.1/net/eth4
--
UDEV  [26.880061] move     /devices/pci0000:00/0000:00:09.0/0000:02:00.0/0000:03:00.0/0000:04:00.0/net/eth2 (net)
ACTION=move
DEVPATH=/devices/pci0000:00/0000:00:09.0/0000:02:00.0/0000:03:00.0/0000:04:00.0/net/eth2
DEVPATH_OLD=/devices/pci0000:00/0000:00:09.0/0000:02:00.0/0000:03:00.0/0000:04:00.0/net/eth0
--
UDEV  [26.881605] move     /devices/pci0000:00/0000:00:09.0/0000:02:00.0/0000:03:01.0/0000:05:00.0/net/eth4 (net)
ACTION=move
DEVPATH=/devices/pci0000:00/0000:00:09.0/0000:02:00.0/0000:03:01.0/0000:05:00.0/net/eth4
DEVPATH_OLD=/devices/pci0000:00/0000:00:09.0/0000:02:00.0/0000:03:01.0/0000:05:00.0/net/eth3
--
UDEV  [26.883240] move     /devices/pci0000:00/0000:00:07.0/net/eth0 (net)
ACTION=move
DEVPATH=/devices/pci0000:00/0000:00:07.0/net/eth0
DEVPATH_OLD=/devices/pci0000:00/0000:00:07.0/net/rename4
--
UDEV  [26.884382] move     /devices/pci0000:00/0000:00:09.0/0000:02:00.0/0000:03:01.0/0000:05:00.1/net/eth3 (net)
ACTION=move
DEVPATH=/devices/pci0000:00/0000:00:09.0/0000:02:00.0/0000:03:01.0/0000:05:00.1/net/eth3
DEVPATH_OLD=/devices/pci0000:00/0000:00:09.0/0000:02:00.0/0000:03:01.0/0000:05:00.1/net/rename6

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1235162

Title:
  Regression: Persistent net names via /etc/udev/rules.d/70-persistent-
  net.rules fail

Status in “linux” package in Ubuntu:
  Invalid
Status in “systemd” package in Ubuntu:
  Triaged

Bug description:
  systemd-udev 204.

  Installing 13.10 amd64 on a multi-homed server. There are 5 ethernet
  interfaces, one on the mobo and four on a PCIe adapter.

  udev created "/etc/udev/rules.d/70-persistent-net.rules" and I later
  edited the NAME= assignments to match the device naming required.

  These rules are apparently ignored but it transpires that the kernel
  is returning -EEXIST from net/core/dev.c::dev_get_valid_name().

  This renaming works in earlier versions, specifically on a 12.04 LTS
  server with ten Ethernet interfaces, and is therefore a regression.

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