What's the output of:

$ networkctl status enp3s0

specifically, what's the 'Link File'.  Change the name of the interface
if needed, of course.

I am guessing it's "/lib/systemd/network/99-default.link".  That's
because your link file is named "myname123.link", and "m" is after "9",
so 99-default.link matches first (because it matches "OriginalName=*").
If this is the case, try renaming your link file so it's lower
(alphabetically) than 99-, e.g. "50-myname123.link".

Alternately, if networkctl shows your interface link file is
"/run/systemd/network/10-netplan-enp3s0.link", it's because you have it
configured using netplan, which also creates a link file for some
operations (like setting interface name).  Check your /etc/netplan/ dir
for *.yaml files.

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1879770

Title:
  Renaming interfaces using *.link file does not work

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to