[Bug 1595558] Re: sudo doesn't have /snap/bin in PATH

2016-10-26 Thread Launchpad Bug Tracker
This bug was fixed in the package sudo - 1.8.9p5-1ubuntu1.3 --- sudo (1.8.9p5-1ubuntu1.3) trusty-proposed; urgency=medium * debian/sudoers: - include /snap/bin in the secure_path (LP: #1595558) -- Michael Vogt Mon, 10 Oct 2016 10:10:46 +0200 ** Changed in: sudo (Ubuntu Trus

[Bug 1595558] Re: sudo doesn't have /snap/bin in PATH

2016-10-17 Thread Leo Arias
I tested this in a trusty lxc. Updated sudo to 1.8.9p5-1ubuntu1.3 and: # mkdir -p /snap/bin # cp $(which echo) /snap/bin/echo-test # su ubuntu $ sudo echo-test test test I'm marking it as verified. Thanks Brian. ** Tags removed: verification-needed ** Tags added: verification-done -- You recei

[Bug 1595558] Re: sudo doesn't have /snap/bin in PATH

2016-10-14 Thread Brian Murray
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.

[Bug 1595558] Re: sudo doesn't have /snap/bin in PATH

2016-10-10 Thread Michael Vogt
** Also affects: sudo (Ubuntu Trusty) Importance: Undecided Status: New ** Also affects: snapd (Ubuntu Trusty) Importance: Undecided Status: New ** Changed in: sudo (Ubuntu Trusty) Status: New => In Progress ** Changed in: snapd (Ubuntu Trusty) Status: New => Wo

[Bug 1595558] Re: sudo doesn't have /snap/bin in PATH

2016-08-29 Thread Launchpad Bug Tracker
This bug was fixed in the package sudo - 1.8.16-0ubuntu1.2 --- sudo (1.8.16-0ubuntu1.2) xenial; urgency=medium * debian/sudoers: - include /snap/bin in the secure_path (LP: #1595558) -- Michael Vogt Mon, 15 Aug 2016 18:10:18 +0200 ** Changed in: sudo (Ubuntu Xenial)

[Bug 1595558] Re: sudo doesn't have /snap/bin in PATH

2016-08-29 Thread Oliver Grawert
** Tags removed: verification-needed ** Tags added: verification-done -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1595558 Title: sudo doesn't have /snap/bin in PATH To manage notifications about

[Bug 1595558] Re: sudo doesn't have /snap/bin in PATH

2016-08-17 Thread Mathew Hodson
** Changed in: sudo (Ubuntu) Importance: Undecided => High ** Changed in: snapd (Ubuntu Xenial) Importance: Undecided => High ** Changed in: sudo (Ubuntu Xenial) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscr

[Bug 1595558] Re: sudo doesn't have /snap/bin in PATH

2016-08-17 Thread Chris J Arges
Hello Kyle, or anyone else affected, Accepted sudo into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/sudo/1.8.16-0ubuntu1.2 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See https://wiki.u

[Bug 1595558] Re: sudo doesn't have /snap/bin in PATH

2016-08-16 Thread Launchpad Bug Tracker
This bug was fixed in the package sudo - 1.8.16-0ubuntu3 --- sudo (1.8.16-0ubuntu3) yakkety; urgency=medium * debian/sudoers: - include /snap/bin in the secure_path (LP: #1595558) -- Michael Vogt Mon, 15 Aug 2016 18:08:34 +0200 ** Changed in: sudo (Ubuntu) Status: Ne

[Bug 1595558] Re: sudo doesn't have /snap/bin in PATH

2016-08-15 Thread Michael Vogt
** Patch added: "xenial debdiff" https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/1595558/+attachment/4721314/+files/sudo_1.8.16-0ubuntu1.2.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/

[Bug 1595558] Re: sudo doesn't have /snap/bin in PATH

2016-08-15 Thread Michael Vogt
** Patch added: "yakkety debdiff" https://bugs.launchpad.net/ubuntu/+source/sudo/+bug/1595558/+attachment/4721313/+files/sudo_1.8.16-0ubuntu3.debdiff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1

[Bug 1595558] Re: sudo doesn't have /snap/bin in PATH

2016-08-15 Thread Michael Vogt
Closing the snapd tasks, we will fix it in sudo directly. ** Also affects: sudo (Ubuntu) Importance: Undecided Status: New ** Also affects: sudo (Ubuntu Xenial) Importance: Undecided Status: New ** Also affects: snapd (Ubuntu Xenial) Importance: Undecided Status: Ne

[Bug 1595558] Re: sudo doesn't have /snap/bin in PATH

2016-08-15 Thread Michael Vogt
Should be fixed with: https://github.com/snapcore/snapd/pull/1679 ** Changed in: snapd (Ubuntu) Status: Triaged => In Progress -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1595558 Title: su

[Bug 1595558] Re: sudo doesn't have /snap/bin in PATH

2016-07-11 Thread Michael Vogt
** Changed in: snapd (Ubuntu) Status: Confirmed => Triaged ** Changed in: snapd (Ubuntu) Importance: Undecided => High -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1595558 Title: sudo do

[Bug 1595558] Re: sudo doesn't have /snap/bin in PATH

2016-07-11 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: snapd (Ubuntu) Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1595558 Title: sudo

[Bug 1595558] Re: sudo doesn't have /snap/bin in PATH

2016-06-23 Thread Oliver Grawert
what works is: ogra@styx:~$ sudo cat /etc/sudoers.d/foo Defaults secure_path="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin" ogra@styx:~$ sudo env|grep PATH PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin but you can only replace the f

[Bug 1595558] Re: sudo doesn't have /snap/bin in PATH

2016-06-23 Thread Oliver Grawert
also note the PATH extension comes from an /etc/profile.d snipped (which sudo -i processes as it runs through the whole pam login process) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1595558 Title:

[Bug 1595558] Re: sudo doesn't have /snap/bin in PATH

2016-06-23 Thread Oliver Grawert
seems that sudo by default does neither carry over the existing env nor process a pam login ... it works fine with "sudo -i" ogra@styx:~$ sudo -i env|grep PATH PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin vs ogra@styx:~$ sudo env|grep PATH PATH=/usr/local/sbin:/us

[Bug 1595558] Re: sudo doesn't have /snap/bin in PATH

2016-06-23 Thread Kyle Fazzari
** Description changed: $ 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 --