In my university I must connect through a proxy to have rsync, so portage can be synced. I used: "RSYNC_PROXY=proxy.ua.pt:3128 sudo emerge --sync" Recently though, only this works: "sudo -s" "RSYNC_PROXY=proxy.ua.pt:3128 emerge --sync" This is happening with versions of sudo >=app-admin/sudo-1.6.9_p13, the version app-admin/sudo-1.6.8_p12-r1 was the last that worked well, as it is now. Reproducible: Always Steps to Reproduce: 1.update sudo to app-admin/sudo-1.6.9_p13 or more recent 2.RSYNC_PROXY=*Whatever* sudo emerge --sync 3. Actual Results: rsync doesn't connect to the proxy Expected Results: should connect to the proxy
As hinted in red letters, "Gentoo Bugzilla" is not the correct product to file bugs regarding ebuilds. Please use "New -> Gentoo Linux -> Component: Ebuilds" in future.
From sudo's CHANGES file: 594) The env_reset option is now enabled by default. Commands run through sudo now receive a minimal environment with certain variables passed through and/or checked. The list of variables allowed is configurable via the env_keep and env_check options in sudoers. this is for 1.6.9p0 release. The default behaviour that was used previously has been changed upstream, and I don't really want to get around that in the default configuration as I can easily wee why they chose this way.