Comment 5 for bug 432631

Revision history for this message
Martin Pitt (pitti) wrote : Re: sudo fails to preserve no_proxy env var

Michael,

the http_proxy preservation was added to sudo a couple of releases back, as a hideous hack. Admittedly we should preserve all or none of those, so the patch makes sense if we still need $http_proxy through sudo. However, I'd much rather see this disappear entirely again than piling up more and more of those.

Doesn't the installer allow you to configure an apt proxy system wide nowadays? Could we just drop the $http_proxy hack from sudo, to fix this in a much cleaner fashion? Right now, this patch makes our sudo incompatible with Debian's, upstream's, and anyone else's.

Thanks!