I'm trying to use the "*" option, but I think there's still a problem. It looks like when you add the "*" to the hostname, this is passed directly to wget when fetching binary packages. At this point, wget complains about a failed dns lookup for the hostname with an "*". Incidentally, the code in getbinpkg.py around like 121 seems to do the opposite of what you describe in bug 58880 - it uses passive ftp if there *IS* a "*" in the hostname. We are running about 20 servers with Gentoo. One of them acts as an rsync mirror for the rest, and also builds binary packages each night, dropping them into an ftp directory. The rest of the servers connect. Since the other servers have local firewalls and don't run ftp (even as a client) for any other purposes, I've not enabled connection tracking on them - just on the mirror server. So they need to use passive mode. Reproducible: Always Steps to Reproduce: 1.Put a strong local firewall onto a gentoo box (one that forces you to use passive ftp) 2.export PORTAGE_BINHOST=ftp://xxx:yyy@some.host.with.binary.packages/All 3.emerge -kg some_binary_package Actual Results: penguin: auj # export PORTAGE_BINHOST=ftp://gentoo:XXXX@padigol.aber.ac.uk*/All penguin: auj # emerge -kg gzip Fetching binary packages info... Loaded metadata pickle. cache miss: 'x' --- cache hit: 'o' ooooooooooooo -- DONE! Calculating dependencies ...done! >>> emerge (1 of 1) app-arch/gzip-1.3.5-r2 to / Fetching 'app-arch/gzip-1.3.5-r2' --09:37:00-- ftp://gentoo:*password*@padigol.aber.ac.uk*/All/gzip-1.3.5-r2.tbz2 => `/usr/portage/packages/All/gzip-1.3.5-r2.tbz2' Resolving padigol.aber.ac.uk*... failed: Host not found. Fetcher exited with a failure condition. !!! CATEGORY info missing from info chunk, aborting... Expected Results: The binary package should have installed. Portage 2.0.51-r2 (default-x86-1.4, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.4.26- gentoo-r9 i686) ================================================================= System uname: 2.4.26-gentoo-r9 i686 Pentium III (Katmai) Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux-headers-2.4.19-r1,sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O3 -march=i686 -funroll-loops -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3. 1/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/ config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/share/config /usr/ share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/ generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/ qmail/control" CONFIG_PROTECT_MASK="/etc/afs/C /etc/afs/afsws /etc/gconf /etc/terminfo /etc/ env.d" CXXFLAGS="-O3 -march=i686 -funroll-loops -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs buildpkg ccache distlocks sandbox" GENTOO_MIRRORS="http://www.mirrorservice.org/sites/www.ibiblio.org/gentoo/" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://padigol.aber.ac.uk/gentoo-portage" USE="apm arts avi berkdb bitmap-fonts crypt cups encode esd f77 foomaticdb gdbm gif gtk2 imlib java jpeg kde ldap libg++ libwww mad mikmod mmx motif mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png python qt quicktime readline sdl slang spell ssl svga tcltk tcpd tetex truetype x86 xml2 xmms xprint xv zlib"
Fixed on or before 2.0.51.22-r1
Looking through the batch of bugs, I'm not sure that some of these are actually fixed in stable. Others, the requirements have possibly changed after the initial fix was committed. If you think this bug has been closed incorrectly, please reopen or ask that it be reopened.