Code review comment for ~alfonsosanchezbeato/network-manager:call-netplan-apply

Revision history for this message
Tony Espy (awe) wrote :

OK, I figured it out...

The set-config.sh is script is run by the networkmanager wrapper, so when the snap is first side-loaded, NM is started, and set-config.sh runs *before* I connected the required snap interfaces. It then must leave some state changed, as my 1st call to 'snap set...defaultrenderer=true' is ignored, so dbus-send isn't called. If I call 'snap set...' twice to toggled the renderer to false, and back to true, the right thing happens.

If you concur @Alfonso with this theory, then I'll go ahead and approve.

« Back to merge proposal