So I used multipass to launch a core18 instance, refreshed the core and kernel snaps (with a reboot after each), installed network-manager, connected all of its interfaces (including network-setup-control), then ran:
ubuntu@venerated-surfperch:~$ sudo snap set network-manager defaultrenderer=true
ubuntu@venerated-surfperch:~$
ubuntu@venerated-surfperch:~$ networkctl
IDX LINK TYPE OPERATIONAL SETUP
1 lo loopback carrier unmanaged
2 eth0 ether routable configured
2 links listed.
Looks like it doesn't work. A quick peek at the snap logs show an Apparmor denial when network-manager tries the send to netplan. Maybe network-setup-control doesn't cover allow sends to the Netplan DBus interface?
---
2019-12-18T00:55:31Z network-manager.networkmanager[1107]: + printf network:\n renderer: NetworkManager\n
2019-12-18T00:55:31Z network-manager.networkmanager[1107]: + dbus-send --system --type=method_call --print-reply --dest=io.netplan.Netplan /io/netplan/Netplan io.netplan.Netplan.Apply
2019-12-18T00:55:31Z network-manager.networkmanager[1107]: Error org.freedesktop.DBus.Error.AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.9" (uid=0 pid=1233 comm="dbus-send --system --type=method_call --print-repl" label="snap.network-manager.networkmanager (enforce)") interface="io.netplan.Netplan" member="Apply" error name="(unset)" requested_reply="0" destination="io.netplan.Netplan" (bus)
So I used multipass to launch a core18 instance, refreshed the core and kernel snaps (with a reboot after each), installed network-manager, connected all of its interfaces (including network- setup-control) , then ran:
ubuntu@ venerated- surfperch: ~$ sudo snap set network-manager defaultrenderer =true venerated- surfperch: ~$ venerated- surfperch: ~$ networkctl
ubuntu@
ubuntu@
IDX LINK TYPE OPERATIONAL SETUP
1 lo loopback carrier unmanaged
2 eth0 ether routable configured
2 links listed.
Looks like it doesn't work. A quick peek at the snap logs show an Apparmor denial when network-manager tries the send to netplan. Maybe network- setup-control doesn't cover allow sends to the Netplan DBus interface?
---
2019-12- 18T00:55: 31Z network- manager. networkmanager[ 1107]: + printf network:\n renderer: NetworkManager\n 18T00:55: 31Z network- manager. networkmanager[ 1107]: + dbus-send --system --type=method_call --print-reply --dest= io.netplan. Netplan /io/netplan/Netplan io.netplan. Netplan. Apply 18T00:55: 31Z network- manager. networkmanager[ 1107]: Error org.freedesktop .DBus.Error. AccessDenied: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.9" (uid=0 pid=1233 comm="dbus-send --system --type=method_call --print-repl" label=" snap.network- manager. networkmanager (enforce)") interface= "io.netplan. Netplan" member="Apply" error name="(unset)" requested_reply="0" destination= "io.netplan. Netplan" (bus)
2019-12-
2019-12-