This is very annoying. I have modified cntlm proxy to work with basic
auth. And everything was working fine till this bug appeared. I do no su
ever. So exporting my variables with sudo worked okay. And when I tried
to do an apt-get it just failed to resolve the host names. I started
debugging my local proxy when I realized that apt-get does not send any
requests to it at all.

Why in the name of )==() does this pass through unnoticed? If the
solution is as simple as Geraldo comments, I suggest it is released in a
patch pretty soon. Atleast all the proxy environment variables should be
saved.

My work around for the solution was to explicitly add a proxy line in
apt.conf. But now I need to remove it everytime I get out from behind
the proxy and start using direct connections.

Hope this gets fixed soon.

-- 
sudo does not keep http_proxy environment variable
https://bugs.launchpad.net/bugs/556293
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to