Comment 4 for bug 1926442

Revision history for this message
Ian Johnson (anonymouse67) wrote : Re: cannot execute 'netplan generate' from within a snap

What is the use case for running netplan generate from a strict snap? Probably if you need this and as commented in the PR you need access to /run/systemd/system, the way forward is to add a Generate D-Bus call to netplan and make netplan generate do the same trick that apply does, so that netplan generate in snapd policy is just allowed as a d-bus call to Generate() which just executes the real `netplan generate` outside of confinement