Possible 3.0.4 bug with -s (--protect-args) - protocol error

Giuliano Procida giuliano.procida at googlemail.com
Thu Oct 9 17:44:20 GMT 2008


Hi.

Two different hosts with 3.0.4 compiled from source, no patches.

It seems fine except that -s causes protocol failures. See below.

Local host is Sparc (Solaris 5.8), remote is Sparc (Solaris 5.10) or i686 Linux.

Regards,
Giuliano.

userX at hostA$ /home/userX/tools/bin/rsync -v -v -v -v -v -n
--rsync-path /home/userX/tools/bin/rsync -s . hostB:
FILE_STRUCT_LEN=16, EXTRA_LEN=4
cmd=<NULL> machine=hostB user=<NULL> path= cmd[0]=ssh cmd[1]=hostB
cmd[2]=/home/userX/tools/bin/rsync cmd[3]=--server cmd[4]=-svvvvvne.s
cmd[5]=(NULL) cmd[6]=. cmd[7]=
opening connection using: ssh hostB /home/userX/tools/bin/rsync
--server -svvvvvne.s
note: iconv_open("646", "646") failed (22) -- using isprint() instead
of iconv().
protected args: .
FILE_STRUCT_LEN=16, EXTRA_LEN=4
(Server) Protocol versions: remote=7680, negotiated=30
protocol version mismatch -- is your shell clean?
(see the rsync man page for an explanation)
_exit_cleanup(code=2, file=compat.c, line=171): entered
rsync error: protocol incompatibility (code 2) at compat.c(171)
[receiver=3.0.4]
_exit_cleanup(code=2, file=compat.c, line=171): about to call exit(2)
(Client) Protocol versions: remote=30, negotiated=30
rsync: connection unexpectedly closed (4 bytes received so far) [sender]
_exit_cleanup(code=12, file=io.c, line=632): entered
rsync error: error in rsync protocol data stream (code 12) at io.c(632)
[sender=3.0.4]
_exit_cleanup(code=12, file=io.c, line=632): about to call exit(12)

Local version:

rsync  version 3.0.4  protocol version 30
Copyright (C) 1996-2008 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
    64-bit files, 64-bit inums, 32-bit timestamps, 64-bit long ints,
    socketpairs, hardlinks, symlinks, no IPv6, batchfiles, inplace,
    append, ACLs, no xattrs, iconv, no symtimes

rsync comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
are welcome to redistribute it under certain conditions.  See the GNU
General Public Licence for details.

Remote version:

rsync  version 3.0.4  protocol version 30
Copyright (C) 1996-2008 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
    64-bit files, 64-bit inums, 32-bit timestamps, 64-bit long ints,
    socketpairs, hardlinks, symlinks, no IPv6, batchfiles, inplace,
    append, ACLs, no xattrs, iconv, no symtimes

rsync comes with ABSOLUTELY NO WARRANTY.  This is free software, and you
are welcome to redistribute it under certain conditions.  See the GNU
General Public Licence for details.


More information about the rsync mailing list