[Bug 1738085] Re: Bridge gets created while the network interfaces are still being renamed

Launchpad Bug Tracker 1738085 at bugs.launchpad.net
Mon Aug 27 04:18:59 UTC 2018


[Expired for bridge-utils (Ubuntu) because there has been no activity
for 60 days.]

** Changed in: bridge-utils (Ubuntu)
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to bridge-utils in Ubuntu.
Matching subscriptions: foundations-bugs
https://bugs.launchpad.net/bugs/1738085

Title:
  Bridge gets created while the network interfaces are still being
  renamed

Status in bridge-utils package in Ubuntu:
  Expired
Status in netplan.io package in Ubuntu:
  Expired
Status in systemd package in Ubuntu:
  Expired

Bug description:
  I have a problem with bridge configuration for the interfaces on my
  system that I also happen to rename explicitly.

  Specifically, I have following network configuration:

  # WAN interface
  auto wan
  iface wan inet dhcp

  # LAN interfaces
  iface wlan inet manual
  iface lan1 inet manual
  iface lan2 inet manual
  iface lan3 inet manual

  # LAN bridge
  auto lan
  iface lan inet static
          address 10.0.0.1
          netmask 255.255.255.0
          bridge_ports wlan lan1 lan2 lan3

  I use systemd .link files for renaming each of the 5 bridged
  interfaces, e.g.

  cat /etc/systemd/network/10-lan1.link
  [Match]
  MACAddress=90:e2:ba:ae:e8:21

  [Link]
  Name=lan1

  (BTW, I previously used udev rules to handle the renaming, before I
  migrated to systemd .link files hoping for improvement)

  Upon system boot, I see following messages:

  Dec 13 16:03:38 trout kernel: [    2.619999] r8169 0000:03:00.0 lan3: renamed from eth0
  Dec 13 16:03:38 trout kernel: [    2.729493] igb 0000:01:00.0 wlan: renamed from eth1
  Dec 13 16:03:38 trout kernel: [    2.867121] igb 0000:01:00.2 lan2: renamed from eth2
  Dec 13 16:03:38 trout kernel: [    2.879221] igb 0000:01:00.1 lan1: renamed from eth0
  Dec 13 16:03:38 trout kernel: [    2.899203] igb 0000:01:00.3 wan: renamed from eth3
  Dec 13 16:03:38 trout kernel: [   20.572747] bridge: automatic filtering via arp/ip/ip6tables has been deprecated. Update your scripts t
  o load br_netfilter if you need this.
  Dec 13 16:03:38 trout kernel: [   20.575364] device lan1 entered promiscuous mode
  Dec 13 16:03:38 trout kernel: [   20.705483] IPv6: ADDRCONF(NETDEV_UP): lan1: link is not ready
  Dec 13 16:03:38 trout kernel: [   21.097073] rename7: renamed from lan
  Dec 13 16:04:29 trout systemd-udevd[466]: seq 2799 '/devices/virtual/net/lan' is taking a long time
  Dec 13 16:04:59 trout systemd-udevd[540]: error changing net interface name 'lan' to 'lan1': File exists
  Dec 13 16:04:59 trout systemd-udevd[540]: could not rename interface '7' from 'lan' to 'lan1': File exists
  Dec 13 16:04:59 trout systemd[1]: Started ifup for lan.
  Dec 13 16:04:59 trout systemd[1]: sys-subsystem-net-devices-lan1.device: Dev sys-subsystem-net-devices-lan1.device appeared twice with different sysfs paths /sys/devices/pci0000:00/0000:00:02.1/0000:01:00.1/net/lan1 and /sys/devices/virtual/net/lan
  Dec 13 16:04:59 trout systemd[1]: sys-subsystem-net-devices-lan1.device: Dev sys-subsystem-net-devices-lan1.device appeared twice with different sysfs paths /sys/devices/pci0000:00/0000:00:02.1/0000:01:00.1/net/lan1 and /sys/devices/virtual/net/rename7
  Dec 13 16:04:59 trout systemd-udevd[543]: Could not generate persistent MAC address for lan: No such file or directory
  Dec 13 16:04:59 trout systemd[1]: Started ifup for lan.
  Dec 13 16:04:59 trout systemd[1]: Found device /sys/subsystem/net/devices/lan.
  Dec 13 16:04:59 trout kernel: [  111.797526] device wlan entered promiscuous mode
  Dec 13 16:04:59 trout ifup[1753]: /sbin/ifup: waiting for lock on /run/network/ifstate.lan
  Dec 13 16:04:59 trout kernel: [  111.943158] device lan3 entered promiscuous mode
  Dec 13 16:05:00 trout kernel: [  112.240052] r8169 0000:03:00.0 lan3: link down
  Dec 13 16:05:00 trout kernel: [  112.240081] r8169 0000:03:00.0 lan3: link down
  Dec 13 16:05:00 trout kernel: [  112.242397] IPv6: ADDRCONF(NETDEV_UP): lan: link is not ready
  Dec 13 16:05:00 trout sh[1689]: Waiting for lan to get ready (MAXWAIT is 32 seconds).
  Dec 13 16:05:00 trout CRON[1841]: (root) CMD ([ -x /usr/sbin/dma ] && /usr/sbin/dma -q1)
  Dec 13 16:05:01 trout kernel: [  113.610184] igb 0000:01:00.2 lan2: igb: lan2 NIC Link is Up 100 Mbps Full Duplex, Flow Control: RX
  Dec 13 16:05:01 trout kernel: [  113.610324] lan: port 2(lan2) entered forwarding state
  Dec 13 16:05:01 trout kernel: [  113.610365] lan: port 2(lan2) entered forwarding state
  Dec 13 16:05:01 trout kernel: [  113.610486] IPv6: ADDRCONF(NETDEV_CHANGE): lan: link becomes ready

  And after the boot process completes, the bridge is not configured as requested:
  # brctl show
  bridge name     bridge id               STP enabled     interfaces
  lan             8000.7085c2026d54       no              lan2
                                                          lan3
                                                          wlan
  rename7         8000.90e2baaee821       no              lan1

  Note that while the "rename7" name of the bridge seems to be constant,
  the interface bridged is not.

  ProblemType: Bug
  DistroRelease: Ubuntu 16.04
  Package: systemd 229-4ubuntu21
  ProcVersionSignature: Ubuntu 4.4.0-103.126-generic 4.4.98
  Uname: Linux 4.4.0-103-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.14
  Architecture: amd64
  Date: Wed Dec 13 16:11:11 2017
  InstallationDate: Installed on 2016-07-28 (503 days ago)
  InstallationMedia: Ubuntu-Server 16.04.1 LTS "Xenial Xerus" - Release amd64 (20160719)
  MachineType: To Be Filled By O.E.M. To Be Filled By O.E.M.
  ProcEnviron:
   SHELL=/bin/bash
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-4.4.0-103-generic root=/dev/mapper/hostname--vg-root ro
  SourcePackage: systemd
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 10/27/2014
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: P1.00
  dmi.board.name: QC5000-ITX/PH
  dmi.board.vendor: ASRock
  dmi.chassis.asset.tag: To Be Filled By O.E.M.
  dmi.chassis.type: 3
  dmi.chassis.vendor: To Be Filled By O.E.M.
  dmi.chassis.version: To Be Filled By O.E.M.
  dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvrP1.00:bd10/27/2014:svnToBeFilledByO.E.M.:pnToBeFilledByO.E.M.:pvrToBeFilledByO.E.M.:rvnASRock:rnQC5000-ITX/PH:rvr:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.:
  dmi.product.name: To Be Filled By O.E.M.
  dmi.product.version: To Be Filled By O.E.M.
  dmi.sys.vendor: To Be Filled By O.E.M.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/bridge-utils/+bug/1738085/+subscriptions



More information about the foundations-bugs mailing list