[Bug 1595558] Re: sudo doesn't have /snap/bin in PATH
Brian Murray
brian at ubuntu.com
Fri Oct 14 15:58:21 UTC 2016
Hello Kyle, or anyone else affected,
Accepted sudo into trusty-proposed. The package will build now and be
available at
https://launchpad.net/ubuntu/+source/sudo/1.8.9p5-1ubuntu1.3 in a few
hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Your feedback will aid us getting this update
out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed. In either case, details of your testing will help
us make a better decision.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Changed in: sudo (Ubuntu Trusty)
Status: In Progress => Fix Committed
** Tags removed: verification-done
** Tags added: verification-needed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to sudo in Ubuntu.
https://bugs.launchpad.net/bugs/1595558
Title:
sudo doesn't have /snap/bin in PATH
Status in snapd package in Ubuntu:
Won't Fix
Status in sudo package in Ubuntu:
Fix Released
Status in snapd source package in Trusty:
Won't Fix
Status in sudo source package in Trusty:
Fix Committed
Status in snapd source package in Xenial:
Won't Fix
Status in sudo source package in Xenial:
Fix Released
Bug description:
[ SRU Justification ]
Snap may contain sysadmin tools as well. They are currently hard to invoke
because /snap/bin is not in the PATH when sudo is used because the default
secure_path of sudoers does not have it.
[ SRU Test Case ]
1. sudo snap install hello-world
2. sudo hello-world
3. verify that this fails with "command not found"
4. install sudo from xenial-proposed
5. verify that sudo hello-world now works
[ Regression Potential ]
- may trigger conffile prompts on upgrade
[Original report]
$ nextcloud.occ
# prints output
$ sudo nextcloud.occ
sudo: nextcloud.occ: command not found
I need to do `sudo /snap/bin/nextcloud.occ` if I want it to run.
$ sudo env | grep PATH
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1595558/+subscriptions
More information about the foundations-bugs
mailing list