[Bug 1312267] [NEW] wget does not honour proxy inside sudo
Jan Groenewald
jan at aims.ac.za
Thu Apr 24 16:02:15 UTC 2014
Public bug reported:
On precise wget honours the proxy inside sudo:
0 jan at tunis:/tmp$lsb_release -d
Description: Ubuntu 12.04.4 LTS
0 jan at tunis:/tmp$sudo echo $http_proxy
http://proxy.aims.ac.za:3128/
0 jan at tunis:/tmp$sudo wget www.ubuntu.com
--2014-04-24 18:01:02-- http://www.ubuntu.com/
Resolving proxy.aims.ac.za (proxy.aims.ac.za)... 192.168.42.2
Connecting to proxy.aims.ac.za (proxy.aims.ac.za)|192.168.42.2|:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 17268 (17K) [text/html]
Saving to: `index.html.1'
100%[======================================>] 17 268 --.-K/s in
0,001s
2014-04-24 18:01:02 (12,9 MB/s) - `index.html.1' saved [17268/17268]
0 jan at tunis:/tmp$
On trusty, it does not:
ift at gift-laptop:~$ lsb_release -d
Description: Ubuntu 14.04 LTS
gift at gift-laptop:~$ sudo echo $http_proxy
[sudo] password for gift:
http://proxy.aims.ac.za:3128/
gift at gift-laptop:~$ sudo wget www.ubuntu.com
--2014-04-24 19:04:22-- http://www.ubuntu.com/
Resolving www.ubuntu.com (www.ubuntu.com)... 91.189.89.103
Connecting to www.ubuntu.com (www.ubuntu.com)|91.189.89.103|:80... failed: Connection refused.
gift at gift-laptop:~$
This is going to break most of the advice on the internet to e.g. sudo
wget somesite/some-apt-key.
** Affects: wget (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to wget in Ubuntu.
https://bugs.launchpad.net/bugs/1312267
Title:
wget does not honour proxy inside sudo
Status in “wget” package in Ubuntu:
New
Bug description:
On precise wget honours the proxy inside sudo:
0 jan at tunis:/tmp$lsb_release -d
Description: Ubuntu 12.04.4 LTS
0 jan at tunis:/tmp$sudo echo $http_proxy
http://proxy.aims.ac.za:3128/
0 jan at tunis:/tmp$sudo wget www.ubuntu.com
--2014-04-24 18:01:02-- http://www.ubuntu.com/
Resolving proxy.aims.ac.za (proxy.aims.ac.za)... 192.168.42.2
Connecting to proxy.aims.ac.za (proxy.aims.ac.za)|192.168.42.2|:3128... connected.
Proxy request sent, awaiting response... 200 OK
Length: 17268 (17K) [text/html]
Saving to: `index.html.1'
100%[======================================>] 17 268 --.-K/s in
0,001s
2014-04-24 18:01:02 (12,9 MB/s) - `index.html.1' saved [17268/17268]
0 jan at tunis:/tmp$
On trusty, it does not:
ift at gift-laptop:~$ lsb_release -d
Description: Ubuntu 14.04 LTS
gift at gift-laptop:~$ sudo echo $http_proxy
[sudo] password for gift:
http://proxy.aims.ac.za:3128/
gift at gift-laptop:~$ sudo wget www.ubuntu.com
--2014-04-24 19:04:22-- http://www.ubuntu.com/
Resolving www.ubuntu.com (www.ubuntu.com)... 91.189.89.103
Connecting to www.ubuntu.com (www.ubuntu.com)|91.189.89.103|:80... failed: Connection refused.
gift at gift-laptop:~$
This is going to break most of the advice on the internet to e.g. sudo
wget somesite/some-apt-key.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/wget/+bug/1312267/+subscriptions
More information about the foundations-bugs
mailing list