I agree that the /usr/lib/NetworkManager/conf.d/10-globally-managed-
devices.conf should be deleted from Ubuntu's network-manager package.

Especially, as it is being overwritten in any normal Ubuntu Desktop 
installation, using the following netplan YAML:
```
network:
  version: 2
  renderer: NetworkManager
```

If we use a global "renderer: NetworkManager" stanza (as is the default
on Ubuntu Desktop, where NM is part of the default installation) netplan
will create an empty file in /run/NetworkManager/conf.d/10-globally-
managed-devices.conf, to override that file anyway.

But we should be aware that it could introduce a change of default
behavior on Ubuntu server where network-manager is being installed
additionally. But netplan generates
/run/NetworkManager/conf.d/netplan.conf to specifically ignore devices
that are not supposed to be handled by NM, so we should be fine there,
too.

I've recently updated the allow- and deny-list logic in netplan to be
more generic and instruct NetworkManager to ignore/manage devices based
on specific udev rules. With this PR I'm also changing the 10-globally-
managed-devices.conf logic to override Ubuntu's default anytime a
NetworkManager interface is being defined in netplan YAML (not just if
it's defined as the global renderer).

https://github.com/canonical/netplan/pull/276

** Changed in: netplan.io (Ubuntu)
     Assignee: (unassigned) => Lukas Märdian (slyon)

** Changed in: netplan.io (Ubuntu)
       Status: Triaged => In Progress

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

Title:
  can't use NM for ethernet device on 20.04 LTS because it is 'strictly
  unmanaged'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/netplan.io/+bug/1951653/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to