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.

** Changed in: snapd (Ubuntu)
       Status: New => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1610292

Title:
  Snap installed with --devmode can't use sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/snappy/+bug/1610292/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to