Mirrorselect fails to retrieve the mirror list when behind a proxy. Previously fixed in bug 17983 Reproducible: Always Steps to Reproduce: 1. mirrorselect --deep --http --servers 5 --blocksize 10 Actual Results: ERROR: Could not get mirror list. Check your internet connection. Expected Results: * Downloading a list of mirrors... Got 221 mirrors. Portage 2.2.8 (hardened/linux/amd64, gcc-4.8.2, glibc-2.17, 3.12.6-hardened-r2 x86_64) ================================================================= System uname: Linux-3.12.6-hardened-r2-x86_64-Intel-R-_Xeon-R-_CPU_E5-2680_0_@_2.70GHz-with-gentoo-2.2 KiB Mem: 8164392 total, 1462124 free KiB Swap: 4194300 total, 4194300 free Timestamp of tree: Thu, 30 Jan 2014 15:15:01 +0000 ld GNU ld (GNU Binutils) 2.24 ccache version 3.1.9 [disabled] app-shells/bash: 4.2_p45 dev-lang/python: 2.7.6, 3.2.5-r3, 3.3.3 dev-util/ccache: 3.1.9-r3 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.69 sys-devel/automake: 1.12.6, 1.14.1 sys-devel/binutils: 2.24 sys-devel/gcc: 4.8.2 sys-devel/gcc-config: 1.8 sys-devel/libtool: 2.4.2 sys-devel/make: 4.0-r1 sys-kernel/linux-headers: 3.12 (virtual/os-headers) sys-libs/glibc: 2.17 Repositories: gentoo ctc-overlay ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* -@EULA" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -mtune=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt /var/bind" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo" CXXFLAGS="-march=native -mtune=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--color=y --with-bdeps=y" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs buildpkg clean-logs compress-build-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j18 -s" PKGDIR="/usr/portage/packages" PORTAGE_COMPRESS="xz" PORTAGE_COMPRESS_FLAGS="-9" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="https://github.com/entoo/portage.git" USE="acl amd64 audit bash-completion bashlogger berkdb big-tables bzip2 caps cli cracklib creds crypt cscope cxx fam fbcondecor gd gdbm gmp gpm hardened hwdb iconv ithreads justify logrotate logwatch lzma max-idx-128 mmx modules multicall multilib multiuser ncurses network-cron nls nptl openmp pam pax_kernel pcre perl priority python readline session smux snmp sockets sse sse2 ssl suhosin tcpd threads threadsafe tos truetype unicode urandom vim-syntax xattr xml zlib" ABI_X86="64" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" GRUB_PLATFORMS="pc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en en_US" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby18" USERLAND="GNU" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON Proxy Vars: # env | grep -i proxy NO_PROXY=localhost,localdomain,local,mydomain.local,my_other_domain.local http_proxy=10.0.218.39:3128 ftp_proxy=10.0.218.39:3128 FTP_PROXY=10.0.218.39:3128 all_proxy=10.0.218.39:3128 ALL_PROXY=10.0.218.39:3128 https_proxy=10.200.218.39:3128 HTTPS_PROXY=10.200.218.39:3128 no_proxy=localhost,localdomain,local,ctcis.local,ctcois-01.local HTTP_PROXY=10.200.218.39:3128
Fail on attempting to hide proxy variables, correct list: # env | grep -i proxy NO_PROXY=localhost,localdomain,local,ctcis.local,ctcois-01.local http_proxy=10.200.218.39:3128 ftp_proxy=10.200.218.39:3128 FTP_PROXY=10.200.218.39:3128 all_proxy=10.200.218.39:3128 ALL_PROXY=10.200.218.39:3128 https_proxy=10.200.218.39:3128 HTTPS_PROXY=10.200.218.39:3128 no_proxy=localhost,localdomain,local,ctcis.local,ctcois-01.local HTTP_PROXY=10.200.218.39:3128
Modern version uses ssl-fetch lib which supports proxies