← Back to team overview

touch-packages team mailing list archive

[Bug 1293722] Re: renaming net interfaces sometimes gives "renameX" names

 

*** This bug is a duplicate of bug 1315218 ***
    https://bugs.launchpad.net/bugs/1315218

** Summary changed:

- write_net_rules incorrectly names extra nics
+ renaming net interfaces sometimes gives "renameX" names

** This bug has been marked a duplicate of bug 1315218
   persistant network naming and devbiosname concurrency issue

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1293722

Title:
  renaming net interfaces sometimes gives "renameX" names

Status in “systemd” package in Ubuntu:
  Confirmed

Bug description:

  I have a machine with three NICs in it. One is built-in, the other two
  are PCIe cards. If I boot the machine I get eth0, eth1, and rename2.
  I'd expect eth0, eth1, and eth2.

  $ ip link
  1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default 
      link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
  2: rename2: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
      link/ether c0:4a:00:02:2f:fd brd ff:ff:ff:ff:ff:ff
  3: eth1: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
      link/ether c0:4a:00:02:02:31 brd ff:ff:ff:ff:ff:ff
  4: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
      link/ether 1c:6f:65:3d:11:51 brd ff:ff:ff:ff:ff:ff
  5: virbr0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default 
      link/ether 52:9e:fc:29:a2:82 brd ff:ff:ff:ff:ff:ff

  $ cat /etc/udev/rules.d/70-persistent-net.rules 
  # PCI device 0x10ec:0x8168 (r8169)
  SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="1c:6f:65:3d:11:51", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth0"

  # PCI device 0x10ec:0x8168 (r8169)
  SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="c0:4a:00:02:2f:fd", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

  # PCI device 0x10ec:0x8168 (r8169)
  SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{address}=="c0:4a:00:02:02:31", ATTR{dev_id}=="0x0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

  Workaround is to rename the second NAME="eth1" to "eth2", then reboot
  the machine.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: udev 204-5ubuntu13
  ProcVersionSignature: Ubuntu 3.13.0-17.37-generic 3.13.6
  Uname: Linux 3.13.0-17-generic x86_64
  ApportVersion: 2.13.3-0ubuntu1
  Architecture: amd64
  Date: Mon Mar 17 13:02:49 2014
  InstallationDate: Installed on 2014-03-17 (0 days ago)
  InstallationMedia: Ubuntu-Server 14.04 LTS "Trusty Tahr" - Alpha amd64 (20140313)
  MachineType: Gigabyte Technology Co., Ltd. GA-890GPA-UD3H
  ProcEnviron:
   TERM=xterm
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-17-generic root=UUID=83165089-cae3-4389-b8bf-4b31b91d0e90 ro
  SourcePackage: systemd
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 07/23/2010
  dmi.bios.vendor: Award Software International, Inc.
  dmi.bios.version: FD
  dmi.board.name: GA-890GPA-UD3H
  dmi.board.vendor: Gigabyte Technology Co., Ltd.
  dmi.chassis.type: 3
  dmi.chassis.vendor: Gigabyte Technology Co., Ltd.
  dmi.modalias: dmi:bvnAwardSoftwareInternational,Inc.:bvrFD:bd07/23/2010:svnGigabyteTechnologyCo.,Ltd.:pnGA-890GPA-UD3H:pvr:rvnGigabyteTechnologyCo.,Ltd.:rnGA-890GPA-UD3H:rvr:cvnGigabyteTechnologyCo.,Ltd.:ct3:cvr:
  dmi.product.name: GA-890GPA-UD3H
  dmi.sys.vendor: Gigabyte Technology Co., Ltd.

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