clean up system/per-user proxy handling
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu Translations |
Fix Released
|
Undecided
|
Unassigned | ||
apt (Ubuntu) |
Fix Released
|
High
|
Michael Vogt | ||
Lucid |
Fix Released
|
High
|
Michael Vogt | ||
gnome-control-center (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt | ||
Lucid |
Fix Released
|
Medium
|
Martin Pitt | ||
sudo (Ubuntu) |
Fix Released
|
Medium
|
Martin Pitt | ||
Lucid |
Fix Released
|
Medium
|
Martin Pitt |
Bug Description
Binary package hint: sudo
It is possibly a good idea to preserve the http_proxy environment variable during sudo.
If http_proxy is preserved, no_proxy, https_proxy and ftp_proxy should be preserved too. Not doing so leads to an unusable variable state after sudo -i. Apt-get for example does not work correctly after setting the proxy in gnome with a list of internal hosts to ignore (10.0.0.0/8 and 192.168.0.0/16).
Can be fixed easily with the attached patch.
ProblemType: Bug
Architecture: i386
Date: Fri Sep 18 19:03:07 2009
DistroRelease: Ubuntu 9.10
Package: sudo 1.7.0-1ubuntu2
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=de_DE.UTF-8
LANGUAGE=
ProcVersionSign
SourcePackage: sudo
Uname: Linux 2.6.31-10-generic i686
Changed in sudo (Ubuntu): | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
Changed in null: | |
status: | New → Invalid |
Changed in gnome-control-center (Ubuntu Lucid): | |
milestone: | ubuntu-10.04-beta-1 → ubuntu-10.04-beta-2 |
Changed in sudo (Ubuntu Lucid): | |
milestone: | ubuntu-10.04-beta-1 → ubuntu-10.04-beta-2 |
Changed in gnome-control-center (Ubuntu Lucid): | |
status: | Triaged → In Progress |
assignee: | Canonical Desktop Team (canonical-desktop-team) → Martin Pitt (pitti) |
affects: | null → ubuntu-translations |
Changed in ubuntu-translations: | |
status: | Invalid → New |
Changed in apt (Ubuntu Lucid): | |
status: | Fix Released → New |
you can tweak default sudoers
and add
Defaults env_keep+ ="no_proxy"