Public bug reported:

When installing a snap that has scripts that call sudo (in this case,
checkbox-snappy, available in the store on edge channel), any call to
sudo fails with "pkexec must be setuid root" when run on a classic 16.04
or 16.10 system.  Calling the snap itself with sudo fixes the issue, but
for other reasons we would prefer to elevate to sudo only on scripts
where it is required.


snapd: 2.11+16.10
snap-confine: 1.0.38-3
Ubuntu 16.04 + 16.10

Expected results:

A snap installed with --devmode should be able to run sudo

Actual results:

Any call to sudo fails with the error "pkexec must be setuid root"

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: snapd 2.11+16.10
ProcVersionSignature: Ubuntu 4.4.0-33.52-generic 4.4.15
Uname: Linux 4.4.0-33-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.3-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Fri Aug  5 11:08:14 2016
InstallationDate: Installed on 2015-04-24 (468 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
SourcePackage: snapd
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: snapd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug yakkety

-- 
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 (pkexec must be setuid
  root)

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

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

Reply via email to