Bundling in the nmcli does work as expected in my local development environment, but I get an AppArmor error when installing/running the snap on my Ubuntu Core device.
Error:
(process:6665): nmcli-CRITICAL **: Error: Could not create NMClient object: An AppArmor policy prevents this sender from sending this message to this recipient; type="method_call", sender=":1.36" (uid=1000 pid=6665 comm="/snap/machineshop-edge/x15/bin/nmcli c show ") interface="org.freedesktop.DBus.Properties" member="GetAll" error name="(unset)" requested_reply="0" destination=":1.7" (uid=0 pid=1578 comm="/snap/network-manager/115/usr/sbin/NetworkManager ").
Local machine:
- snap 2.23.6
- snapd 2.23.6
- series 16
- ubuntu 16.04
- kernel 4.8.0-48-generic
Ubuntu Core machine:
- snap 2.23.1
- snapd 2.23.1
- series 16
- kernel 4.4.0-1003-caracalla
All of the same interfaces are connected in the same way as in my local environment. Any ideas?