Running rsync against an old server I get: rsync rsync://host/dir rsync: connection unexpectedly closed (0 bytes received so far) [receiver] rsync: error: error in rsync protocol data stream (code 12) at io.c(600) [receiver=3.0.0] This seem to be a problem described in the second paragraph of the release notes. The notes say to use --no-d, but using it seem not to help, and in fact the remote host is still sent the 'd' option: rsync -vv rsync://host/dir shows: sending daemon ards: --server --sender --vvde.L . dir/ With -r --exclude='/*/*' I get the original behavior (and 'd' is not sent). Is this expected behavior now ? Simo. -- Simo Sorce * Red Hat, Inc * New York
On Mon, Mar 24, 2008 at 09:11:43AM -0400, Simo Sorce wrote:> The notes say to use --no-d, but using it seem not to help, and in > fact the remote host is still sent the 'd' option:Yeah, the code was erroneously overriding the --no-d option, so I fixed that in the latest version (see 3.0.1pre1). I also added an easier way to request the backward-compatible "-r --exclude='/*/*'" options by using a new option: --old-d.> Is this expected behavior now ?The -d option was added in 2.6.4, almost exactly 3 years ago. There seems to be a significant amount of 2.6.3 still around (which is 3.5 years old), which is a little sad to see, but I suppose not that unexpected. In 3.0.1pre1, rsync tries to detect if the -d option is the cause of a file-listing failure and suggests the use of the --old-d option to work around the issue. Hopefully the public rsync servers will be upgrading before too long, as there has been a significant amount of security fixing going on in recent months, and it would be good for them to at least be running 2.6.9 (with extra security patches), if not 3.0.1 itself. ..wayne..
> The -d option was added in 2.6.4, almost exactly 3 years ago. There > seems to be a significant amount of 2.6.3 still around (which is 3.5 > years old), which is a little sad to see, but I suppose not that > unexpected.Rsync 2.6.3 is the default on OS X 10.5 Leopard, released in October last year.... :-) Tony M.
Maybe Matching Threads
- [Announce] Samba 3.2.12 Maintenance Release Available for Download
- [Announce] Samba 3.2.12 Maintenance Release Available for Download
- Fw: [cifs-protocol] QUESTION - samba cifs mount - HELP
- [Announce] Samba 3.3.4 Available for Download
- [Announce] Samba 3.3.4 Available for Download