I have an application in my snap which handles the network configuration of the system (update IP address, add new interfaces, …). The configuration itself is stored as a netplan configuration file.
By using the network-setup-control connection, I am able to read/write to /etc/netplan/xx-config.yaml successfully. Nevertheless, I am not able to apply the new settings because I can’t call the netplan binary from inside my snap (Permission denied) when running in strict mode. Am I missing something here? A quick look into network-setup-control.go on Github showed that the slot indeed does not grant access to the netplan binary. What would be the recommended way to apply network settings?