Comment 4 for bug 1610292

Revision history for this message
Sylvain Pineau (sylvain-pineau) wrote :

It was indeed plainbox calling pkexec (the one from the snap). I've landed a change to lower the score of the pkexec execution controller when snappy is detected to always use sudo when we have to run job commands as root.

The updated plainbox is available on pypi: https://pypi.python.org/pypi/plainbox/0.30.post1

I've rebuilt our checkbox snap and with --devmode, we can now run jobs as root without having to call our app with sudo.

I'm setting this as Invalid for snapd.

Thanks a lot for your help and pointers to diagnose this bug.