Public bug reported:

[Impact]

systemd-networkd renames nic just after udev renamed it

e.g

kernel: [ 2.827368] vmxnet3 0000:0b:00.0 ens192: renamed from eth0
kernel: [ 7.562729] vmxnet3 0000:0b:00.0 eth0: renamed from ens192
systemd-networkd[511]: ens192: Interface name change detected, ens192 has been 
renamed to eth0.

This cause netplan or the other network management pkg can't find proper
nic sometimes.

This happens on Bionic

Below commit seems to solve this issue.
https://github.com/systemd/systemd/pull/11881/commits/30de2b89d125a8692c22579ef805b03f2054b30b

There are bunch of related commits but above one the customer tested it
worked.

[Test Plan]

The customer has issue and they could help us to test this.
Internally they already test this and it worked.

[Where problems could occur]

systemd-networkd nic renaming could have issue.

[Others]

** Affects: systemd (Ubuntu)
     Importance: Undecided
         Status: Fix Released

** Affects: systemd (Ubuntu Bionic)
     Importance: Undecided
     Assignee: Seyeong Kim (seyeongkim)
         Status: In Progress

** Affects: systemd (Ubuntu Focal)
     Importance: Undecided
         Status: Fix Released


** Tags: sts

** Also affects: systemd (Ubuntu Focal)
   Importance: Undecided
       Status: New

** Also affects: systemd (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Changed in: systemd (Ubuntu Focal)
       Status: New => Fix Released

** Changed in: systemd (Ubuntu)
       Status: New => Fix Released

** Changed in: systemd (Ubuntu Bionic)
       Status: New => In Progress

** Tags added: sts

** Changed in: systemd (Ubuntu Bionic)
     Assignee: (unassigned) => Seyeong Kim (seyeongkim)

-- 
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/1923115

Title:
  Networkd vs udev nic renaming race condition

Status in systemd package in Ubuntu:
  Fix Released
Status in systemd source package in Bionic:
  In Progress
Status in systemd source package in Focal:
  Fix Released

Bug description:
  [Impact]

  systemd-networkd renames nic just after udev renamed it

  e.g

  kernel: [ 2.827368] vmxnet3 0000:0b:00.0 ens192: renamed from eth0
  kernel: [ 7.562729] vmxnet3 0000:0b:00.0 eth0: renamed from ens192
  systemd-networkd[511]: ens192: Interface name change detected, ens192 has 
been renamed to eth0.

  This cause netplan or the other network management pkg can't find
  proper nic sometimes.

  This happens on Bionic

  Below commit seems to solve this issue.
  
https://github.com/systemd/systemd/pull/11881/commits/30de2b89d125a8692c22579ef805b03f2054b30b

  There are bunch of related commits but above one the customer tested
  it worked.

  [Test Plan]

  The customer has issue and they could help us to test this.
  Internally they already test this and it worked.

  [Where problems could occur]

  systemd-networkd nic renaming could have issue.

  [Others]

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to