Comment 3 for bug 432631

Revision history for this message
DSHR (s-heuer) wrote : Re: sudo fails to preserve no_proxy env var

I'm currently using on our company intranet:

Defaults env_reset
Defaults env_keep -= "http_proxy https_proxy no_proxy ftp_proxy"

and use /etc/apt/apt.conf.d/19apt-cacher-ng like this

$ sudo cat /etc/apt/apt.conf.d/19apt-cacher-ng
Acquire::http { Proxy "http://10.176.8.59:3142"; };

to make sure that the user using an http proxy or not is not able to influence the desired system behaviour
(using an APT-Cacher-NG on the campus LAN).

The bug is about the mixed up configuration ...