can't use NM for ethernet device on 20.04 LTS because it is 'strictly unmanaged'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
netplan.io (Ubuntu) |
Fix Released
|
High
|
Lukas Märdian | ||
network-manager (Ubuntu) |
Confirmed
|
High
|
Unassigned |
Bug Description
I have tried to tell netplan to let my ethernet device be managed by NetworkManager, so that I can then configure a pppoe connection on top of this device.
This fails with:
# nmcli c up netplan-wan
Error: Connection activation failed: No suitable device found for this connection (device lo not available because device is strictly unmanaged).
#
I don't know why it mentions 'lo' in that message, but the wan interface is unmanaged (as are all devices on the system, but this one is supposed to be managed):
# nmcli d status | grep wan
wan ethernet unmanaged --
#
After much searching, I've figured out that this comes from /usr/lib/
keyfile]
unmanaged-
Even though I've told netplan to use the NM renderer for this device, the configuration emitted by netplan is insufficient to override this.
Using the workaround from https:/
I would argue that the 10-globally-
Changed in netplan.io (Ubuntu): | |
importance: | Undecided → High |
Changed in network-manager (Ubuntu): | |
importance: | Undecided → High |
Changed in netplan.io (Ubuntu): | |
status: | In Progress → Fix Committed |
Yes, indeed. NetworkManager tries to control all interfaces that are available by default and netplan implemented some quirks in the past to avoid this. But we should review those quirks and rather implement a per-interface/ netdef deny- or accept-list.