Using rsync-2.6.0-r6, rsync.de.gentoo.org works. Using rsync-2.6.0-r6, rsync.us.gentoo.org fails with: @ERROR: chroot failed rsync: connection unexpectedly closed (369 bytes read so far) rsync error: error in rsync protocol data stream (code 12) at io.c(189) Using rsync-2.6.8, rsync.de.gentoo.org fails with: rsync: on remote machine: --no-specials: unknown option rsync error: requested action not supported (code 4) at clientserver.c(520) rsync: read error: Connection reset by peer (104) rsync error: error in rsync protocol data stream (code 12) at io.c(616) [receiver=2.6.8] Using rsync-2.6.8, rsync.us.gentoo.org fails with: @ERROR: chroot failed rsync error: error starting client-server protocol (code 5) at main.c(1296) [receiver=2.6.8] I used the options straight out of gentoo-rsync-mirror-1.0-r5. Adding -D to the rsync command allows the .de site to work with 2.6.8. This is mentioned in the http://www.gentoo.org/doc/en/rsync.xml page for the rsync-gentoo-portage.sh script. However, this script is provided in the gentoo-rsync-mirror-1.0-r5 ebuild, so the user shouldn't have to type it in. Adding -D does not (nor would I expect it to!) fix the issue with .us. Basically, the xml page and the ebuild don't jive, and ebuild doesn't work out of the box.
(In reply to comment #0) > Using rsync-2.6.0-r6, rsync.de.gentoo.org works. > > Using rsync-2.6.0-r6, rsync.us.gentoo.org fails with: > > @ERROR: chroot failed > rsync: connection unexpectedly closed (369 bytes read so far) > rsync error: error in rsync protocol data stream (code 12) at io.c(189) > > Using rsync-2.6.8, rsync.de.gentoo.org fails with: > > rsync: on remote machine: --no-specials: unknown option > rsync error: requested action not supported (code 4) at clientserver.c(520) > rsync: read error: Connection reset by peer (104) > rsync error: error in rsync protocol data stream (code 12) at io.c(616) > [receiver=2.6.8] > > Using rsync-2.6.8, rsync.us.gentoo.org fails with: > > @ERROR: chroot failed > rsync error: error starting client-server protocol (code 5) at main.c(1296) > [receiver=2.6.8] > > I used the options straight out of gentoo-rsync-mirror-1.0-r5. > > Adding -D to the rsync command allows the .de site to work with 2.6.8. This is > mentioned in the http://www.gentoo.org/doc/en/rsync.xml page for the > rsync-gentoo-portage.sh script. However, this script is provided in the > gentoo-rsync-mirror-1.0-r5 ebuild, so the user shouldn't have to type it in. > Adding -D does not (nor would I expect it to!) fix the issue with .us. > > Basically, the xml page and the ebuild don't jive, and ebuild doesn't work out > of the box. > Okay, your initial report is somewhat confusing. Can you please rephrase it to be more direct and succinct? If I understand it correctly, it sounds more like there's a problem with the ebuild (or possibly the mirror itself). I'm not sure what this chroot error is (are you running rsync from within a chroot? if so, that's a whole 'nother problem that has nothing to do with the document), but I would put my money on a problem with the ebuild if it doesn't work out of the box. Because if it's not working in some way, then it probably won't play nice with anything the document says to do.
As of today, 12/17/06, there is a new version of rsync available. * net-misc/rsync Latest version available: 2.6.9-r1 Latest version installed: 2.6.9.r1 Size of files: 792 kB Homepage: http://rsync.samba.org/ Description: File transfer program to keep remote files into sync License: GPL-2 Please upgrade to that version, since it has shown success for others. -jforman