[Bug 1319267] [NEW] ubuntu template: don't set $http_proxy from $HTTP_PROXY
Martin Pitt
martin.pitt at ubuntu.com
Wed May 14 06:48:44 UTC 2014
Public bug reported:
I'm using apt-cacher-ng on my workstation, so my local apt specifies
Acquire::http { Proxy "http://127.0.0.1:3142"; };
That won't work in a container, because there the IP is 10.0.3.1.
But with lxc-ubuntu's choose_container_proxy() there is no way to get it
right:
- If I specify HTTP_PROXY=http://10.0.3.1:3142 then the container's apt
config is correct, but bootstrapping fails because it also sets "export
http_proxy=$HTTP_PROXY"
- If I specify HTTP_PROXY=http://127.0.0.1:3142, then bootstrapping
works, but the container's apt config is broken
Please do either of:
- Don't set http_proxy to $HTTP_PROXY
- Allow specifying/overriding $http_proxy and $APT_PROXY separately
Thanks!
** Affects: lxc (Ubuntu)
Importance: Undecided
Status: Invalid
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1319267
Title:
ubuntu template: don't set $http_proxy from $HTTP_PROXY
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1319267/+subscriptions
More information about the Ubuntu-server-bugs
mailing list