Activity log for bug #982684

Date Who What changed Old value New value Message
2012-04-15 23:58:06 Steve Langasek bug added bug
2012-04-15 23:58:13 Steve Langasek sudo (Ubuntu): status New Triaged
2012-04-15 23:58:14 Steve Langasek sudo (Ubuntu): importance Undecided Medium
2012-04-27 12:44:24 Anand Karthikeyan bug added subscriber Anand Karthikeyan
2012-04-30 22:59:56 Steve Langasek nominated for series Ubuntu Precise
2012-04-30 22:59:56 Steve Langasek bug task added sudo (Ubuntu Precise)
2012-04-30 22:59:56 Steve Langasek nominated for series Ubuntu Quantal
2012-04-30 22:59:56 Steve Langasek bug task added sudo (Ubuntu Quantal)
2012-04-30 23:00:02 Steve Langasek sudo (Ubuntu Precise): importance Undecided Medium
2012-04-30 23:00:05 Steve Langasek sudo (Ubuntu Precise): status New Triaged
2012-04-30 23:00:07 Steve Langasek sudo (Ubuntu Precise): assignee Steve Langasek (vorlon)
2012-04-30 23:00:09 Steve Langasek sudo (Ubuntu Quantal): assignee Steve Langasek (vorlon)
2012-04-30 23:00:11 Steve Langasek sudo (Ubuntu Quantal): status Triaged In Progress
2012-05-11 10:09:24 Graham Inggs bug added subscriber Graham Inggs
2012-05-13 15:30:29 Marc Deslauriers bug added subscriber Marc Deslauriers
2012-05-15 21:48:42 Steve Langasek sudo (Ubuntu Quantal): assignee Steve Langasek (vorlon) Tyler Hicks (tyhicks)
2012-05-15 21:49:41 Launchpad Janitor branch linked lp:~vorlon/ubuntu/quantal/sudo/lp.982684
2012-05-15 22:02:15 Steve Langasek summary sudo doesn't apply global environment settings from /etc/environment sudo, pkexec don't apply global environment settings from /etc/environment
2012-05-15 22:02:26 Steve Langasek bug task added policykit-1 (Ubuntu)
2012-05-15 22:03:07 Steve Langasek policykit-1 (Ubuntu Precise): status New Triaged
2012-05-15 22:03:10 Steve Langasek policykit-1 (Ubuntu Quantal): status New In Progress
2012-05-15 22:03:12 Steve Langasek policykit-1 (Ubuntu Precise): importance Undecided Medium
2012-05-15 22:03:14 Steve Langasek policykit-1 (Ubuntu Quantal): importance Undecided Medium
2012-05-15 22:03:16 Steve Langasek policykit-1 (Ubuntu Precise): assignee Steve Langasek (vorlon)
2012-05-15 22:03:19 Steve Langasek policykit-1 (Ubuntu Quantal): assignee Steve Langasek (vorlon)
2012-05-15 22:25:24 Launchpad Janitor branch linked lp:ubuntu/policykit-1
2012-05-15 22:35:12 Launchpad Janitor policykit-1 (Ubuntu Quantal): status In Progress Fix Released
2012-05-15 23:10:23 Steve Langasek description In connection with the recent update-notifier changes (https://wiki.ubuntu.com/Specs/UpdateNotifierPackageDataDownloader), some users who were previously able to download the flashplugin via the apt proxy settings are now unable to download it when running, e.g., 'sudo apt-get install'. The reason for this is that, even though a global proxy may be configured in /etc/environment, sudo does not allow $http_proxy to be inherited by default and does not reapply the environment from /etc/environment (and from /etc/default/locale) via pam_env. The first part is reasonable, but I question the second part. Since these are global config files, I believe it's safe for sudo to apply the environment settings by default just as 'su' does; and the settings are intended to apply globally, which would include to sudo sessions. This would make update-notifier work more reliably for users with proxies, and would probably help with a variety of other cases where global variables are currently not being set as expected for sudo. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: sudo 1.8.3p1-1ubuntu3 ProcVersionSignature: Ubuntu 3.2.0-22.35-generic 3.2.14 Uname: Linux 3.2.0-22-generic x86_64 ApportVersion: 2.0.1-0ubuntu3 Architecture: amd64 CheckboxSubmission: 017452a27eca3c8b498abbfa5ef91db9 CheckboxSystem: ecaaad6fa1e0799a0aa1126bf620f39e Date: Sun Apr 15 16:41:17 2012 InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1) ProcEnviron: TERM=xterm PATH=(custom, user) LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: sudo UpgradeStatus: Upgraded to precise on 2011-11-08 (159 days ago) [Impact] In connection with the recent update-notifier changes (https://wiki.ubuntu.com/Specs/UpdateNotifierPackageDataDownloader), some users who were previously able to download the flashplugin via the apt proxy settings are now unable to download it when running, e.g., 'sudo apt-get install'. The reason for this is that, even though a global proxy may be configured in /etc/environment, sudo does not allow $http_proxy to be inherited by default and does not reapply the environment from /etc/environment (and from /etc/default/locale) via pam_env. The first part is reasonable, but I question the second part. Since these are global config files, I believe it's safe for sudo to apply the environment settings by default just as 'su' does; and the settings are intended to apply globally, which would include to sudo sessions. This would make update-notifier work more reliably for users with proxies, and would probably help with a variety of other cases where global variables are currently not being set as expected for sudo. [Test Case] 1. Set 'http_proxy=invalid' in /etc/environment 2. Run 'sudo wget http://www.ubuntu.com/', 'pkexec wget http://www.ubuntu.com/' 3. Verify that the commands return successfully 4. Install updated sudo, policykit-1 packages from precise-proposed 5. Repeat the commands from step 2 6. Verify that the commands now fail with an error about invalid proxies 7. Remove the http_proxy line from /etc/environment [Regression potential] Some users may consider it a feature that global settings from /etc/environment are not applied to sudo and/or pkexec. However, this is not by design; the cost of not being able to correctly support proxies for users is greater than the cost of changing this behavior in an SRU and breaking expectations of users regarding undocumented behavior. ProblemType: Bug DistroRelease: Ubuntu 12.04 Package: sudo 1.8.3p1-1ubuntu3 ProcVersionSignature: Ubuntu 3.2.0-22.35-generic 3.2.14 Uname: Linux 3.2.0-22-generic x86_64 ApportVersion: 2.0.1-0ubuntu3 Architecture: amd64 CheckboxSubmission: 017452a27eca3c8b498abbfa5ef91db9 CheckboxSystem: ecaaad6fa1e0799a0aa1126bf620f39e Date: Sun Apr 15 16:41:17 2012 InstallationMedia: Ubuntu 10.04.1 LTS "Lucid Lynx" - Release amd64 (20100816.1) ProcEnviron:  TERM=xterm  PATH=(custom, user)  LANG=en_US.UTF-8  SHELL=/bin/bash SourcePackage: sudo UpgradeStatus: Upgraded to precise on 2011-11-08 (159 days ago)
2012-05-15 23:11:57 Steve Langasek policykit-1 (Ubuntu Precise): status Triaged In Progress
2012-05-17 07:32:13 Chris Halse Rogers policykit-1 (Ubuntu Precise): status In Progress Fix Committed
2012-05-17 07:32:19 Chris Halse Rogers bug added subscriber Ubuntu Stable Release Updates Team
2012-05-17 07:32:21 Chris Halse Rogers bug added subscriber SRU Verification
2012-05-17 07:32:24 Chris Halse Rogers tags amd64 apport-bug precise amd64 apport-bug precise verification-needed
2012-05-17 07:40:28 Launchpad Janitor branch linked lp:ubuntu/precise-proposed/policykit-1
2012-05-21 07:15:46 Tyler Hicks attachment added sudo_1.8.3p1-1ubuntu6.debdiff https://bugs.launchpad.net/ubuntu/quantal/+source/sudo/+bug/982684/+attachment/3155575/+files/sudo_1.8.3p1-1ubuntu6.debdiff
2012-05-21 07:19:11 Tyler Hicks attachment added sudo_1.8.3p1-1ubuntu3.3.debdiff https://bugs.launchpad.net/ubuntu/quantal/+source/sudo/+bug/982684/+attachment/3155576/+files/sudo_1.8.3p1-1ubuntu3.3.debdiff
2012-05-21 07:20:48 Tyler Hicks branch linked lp:~tyhicks/qa-regression-testing/lp.982684
2012-05-23 16:05:20 Launchpad Janitor branch linked lp:ubuntu/sudo
2012-05-23 16:50:52 Launchpad Janitor sudo (Ubuntu Quantal): status In Progress Fix Released
2012-06-01 03:51:11 Chris Halse Rogers sudo (Ubuntu Precise): status Triaged Fix Committed
2012-06-01 04:11:19 Launchpad Janitor branch linked lp:ubuntu/precise-proposed/sudo
2012-06-01 21:00:21 Stéphane Graber tags amd64 apport-bug precise verification-needed amd64 apport-bug precise verification-done
2012-06-04 00:46:17 Launchpad Janitor policykit-1 (Ubuntu Precise): status Fix Committed Fix Released
2012-06-08 05:46:48 Gert-Jan van der Heiden bug added subscriber Gert-Jan van der Heiden
2012-06-08 11:18:17 Launchpad Janitor sudo (Ubuntu Precise): status Fix Committed Fix Released
2012-06-11 08:00:19 maletin bug added subscriber maletin
2012-11-02 22:01:34 Launchpad Janitor branch linked lp:ubuntu/policykit-1
2013-03-08 10:59:26 Martin Pitt bug watch added https://bugs.freedesktop.org/show_bug.cgi?id=62016
2013-03-08 10:59:26 Martin Pitt bug task added policykit
2013-03-12 09:17:24 Bug Watch Updater policykit: status Unknown Incomplete
2013-03-12 09:17:24 Bug Watch Updater policykit: importance Unknown Medium
2013-04-12 15:19:17 Bug Watch Updater policykit: status Incomplete Fix Released