Peter Poeml wrote:
On Wed, Feb 11, 2009 at 11:27:51AM -0600, David C. Rankin wrote:
An interesting note. There appears to be a difference in the way rsync passes information between the version on 10.3 and the later versions. On 10.3 when you try and use the rsync:// protocol with a filename after the module, the server responds with the following error no matter how you quote or escape the ':' after X11:
11:24 ripper~/linux/ati/compiz> rsync -avz rsync://rsync.opensuse.org/buildservice-repos-main/X11\:/XGL/openSUSE_10.3/i586 . rsync: getaddrinfo: rsync.opensuse.org/buildservice-repos-main/X11 873: Name or service not known rsync error: error in socket IO (code 10) at clientserver.c(105) [receiver=2.6.9]
This is a known limitation in some rsync version, in combination with some other rsync version. I don't remember the actual detail (when the change came and until which point rsync was affected) but you can get away with a simple rule of thumb; try rsync rsync://hostname/path/ and if it doesn't work, try rsync hostname::path/
The good thing is, that (I claim so) one of them *always* works, regardless of combination of client rsync version and server rsync version. And trying to quote anything will just make you loose hair.
Btw, openSUSE servers run rsync 3.x.
Another problem that you might run into when the server runs an extremely old rsync version is that module/file listing doesn't work with 3.x client: rsync: connection unexpectedly closed (0 bytes received so far) [receiver] rsync error: error in rsync protocol data stream (code 12) at io.c(632) [receiver=3.0.4] The server will log rsync: on remote machine: -de.: unknown option Syncing still works. And the --old-d in 3.x is there to work around, see the man page.
Peter
Excellent Peter, That just proves I'm not crazy -- maybe.. -- David C. Rankin, J.D.,P.E. Rankin Law Firm, PLLC 510 Ochiltree Street Nacogdoches, Texas 75961 Telephone: (936) 715-9333 Facsimile: (936) 715-9339 www.rankinlawfirm.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org