Package: rsync
Version: 2.6.4-2
Severity: grave
Justification: renders package unusable


Rsync fails to push filters to the the remote host if the remote rsync
is older than the Debian's. I've tried to connect to a remote host
with the following rsync:

rsync  version 2.5.6  protocol version 26
Copyright (C) 1996-2002 by Andrew Tridgell and others
<http://rsync.samba.org/>
Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles,
              IPv6, 64-bit system inums, 64-bit internal inums

(that was a Fedora Core 1 box)

Here is the command I've tried to execute on my Debian system:

rsync -Cavvv ~/ports-utils bfc1:
(bfc1 is the remote Fedora Core 1 host with rsync 2.5.6)

Here is the output from rsync on Debian:

opening connection using /home/feldgendler/bin/ssh bfc1 rsync --server 
-vvvlogDtprC . 
[sender] add_rule(-C )
[sender] add_rule(- RCS) [cvsignore]
[sender] add_rule(- SCCS) [cvsignore]
[sender] add_rule(- CVS) [cvsignore]
[sender] add_rule(- CVS.adm) [cvsignore]
[sender] add_rule(- RCSLOG) [cvsignore]
[sender] add_rule(- cvslog.*) [cvsignore]
[sender] add_rule(- tags) [cvsignore]
[sender] add_rule(- TAGS) [cvsignore]
[sender] add_rule(- .make.state) [cvsignore]
[sender] add_rule(- .nse_depinfo) [cvsignore]
[sender] add_rule(- *~) [cvsignore]
[sender] add_rule(- #*) [cvsignore]
[sender] add_rule(- .#*) [cvsignore]
[sender] add_rule(- ,*) [cvsignore]
[sender] add_rule(- _$*) [cvsignore]
[sender] add_rule(- *$) [cvsignore]
[sender] add_rule(- *.old) [cvsignore]
[sender] add_rule(- *.bak) [cvsignore]
[sender] add_rule(- *.BAK) [cvsignore]
[sender] add_rule(- *.orig) [cvsignore]
[sender] add_rule(- *.rej) [cvsignore]
[sender] add_rule(- .del-*) [cvsignore]
[sender] add_rule(- *.a) [cvsignore]
[sender] add_rule(- *.olb) [cvsignore]
[sender] add_rule(- *.o) [cvsignore]
[sender] add_rule(- *.obj) [cvsignore]
[sender] add_rule(- *.so) [cvsignore]
[sender] add_rule(- *.exe) [cvsignore]
[sender] add_rule(- *.Z) [cvsignore]
[sender] add_rule(- *.elc) [cvsignore]
[sender] add_rule(- *.ln) [cvsignore]
[sender] add_rule(- core) [cvsignore]
[sender] add_rule(- .svn/) [cvsignore]
[sender] parse_filter_file(/home/feldgendler/.cvsignore,8380,0)
[sender] add_rule(- semantic.cache) [cvsignore]
filter rules are too modern for remote rsync.
rsync error: syntax or usage error (code 1) at exclude.c(1119)
_exit_cleanup(code=1, file=exclude.c, line=1119): about to call exit(1)

Even adding --protocol=26 to the above command did not help.

I've also tried the same with another remote Fedora Core 1 host which
had:

rsync  version 2.6.2  protocol version 28
Copyright (C) 1996-2004 by Andrew Tridgell and others
<http://rsync.samba.org/>
Capabilities: 64-bit files, socketpairs, hard links, symlinks, batchfiles,
              IPv6, 64-bit system inums, 64-bit internal inums

....and got a similar error message.

Only installing rsync 2.6.4 (I actually copied the binary from Debian
to Fedora Core 1) resolved the problem.

So, rsync 2.6.4 only works with rsync 2.6.4, and this renders the
package almost unusable because most remote osts run different (older)
versions of rsync.

Alexey.


-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (900, 'testing'), (800, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.11-1-686
Locale: LANG=ru_RU.KOI8-R, LC_CTYPE=ru_RU.KOI8-R (charmap=KOI8-R)

Versions of packages rsync depends on:
ii  libc6                       2.3.2.ds1-20 GNU C Library: Shared libraries an
ii  libpopt0                    1.7-5        lib for parsing cmdline parameters

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to