Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 147642 - rsync.[de|us].gentoo.org failures with rsync-2.6.8
Summary: rsync.[de|us].gentoo.org failures with rsync-2.6.8
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Mirrors
Classification: Unclassified
Component: Server Problem (show other bugs)
Hardware: All Linux
: High normal
Assignee: Mirror Admins
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-14 21:26 UTC by J.C. Wren
Modified: 2006-12-17 18:31 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description J.C. Wren 2006-09-14 21:26:55 UTC
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.
Comment 1 nm (RETIRED) gentoo-dev 2006-12-05 23:52:45 UTC
(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.
Comment 2 Jeffrey Forman (RETIRED) gentoo-dev 2006-12-17 18:31:00 UTC
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