[Bug 1300768] Re: Rsync fails with (very) old server.
rew
1300768 at bugs.launchpad.net
Wed Apr 2 06:01:05 UTC 2014
Yes, the git HEAD also has the problem. You are right. "upstream bug /
by design". I'd think the first, because the commit comment doesn't say
"break compatibility with V21 protocol".
For me personally I need to be able to rsync to/from the ancient machine
this week. I just need to remember to do this from the non 14.04
machines that I have. It's inconvenient, since some of the rsyncs that I
need go to a partition that isn't mounted on the non-14.04 machines. So
it will have to become a two-step procedure. But that's my workaround.
I'll manage.
I report bugs like this with the intention to help fix it for the
future. When I run into a similar situation again in the future, I
prefer to have helped get it fixed as opposed to running into the
problems again.
I'm guessing that some new feature in the protocol was not properly
surrounded with "if (negotiatedprotocol > xxx) .."
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to rsync in Ubuntu.
https://bugs.launchpad.net/bugs/1300768
Title:
Rsync fails with (very) old server.
Status in “rsync” package in Ubuntu:
New
Bug description:
Does not work:
Trusty Tahr.
Rsync version 3.1.0
Protocol version 31
DOES work:
Saucy
rsync version 3.0.9
protocol version 30
In both cases: "server side":
Suse 7.0
version 2.3.2
protocol version 21
with both "client" side rsyncs I of course get:
> Server is very old version of rsync, upgrade recommended.
but with the newer rsync I get:
Warning: No xauth data; using fake authentication data for X11 forwarding.
Server is very old version of rsync, upgrade recommended.
protocol version mismatch - is your shell clean?
(see the rsync man page for an explanation)
rsync: connection unexpectedly closed (0 bytes received so far) [Receiver]
rsync error: error in rsync protocol data stream (code 12) at io.c(226) [Receiver=3.1.0]
According to the manpage I can test the "is your shell clean" with
ssh oldserver /usr/bin/true > out.dat
but I get a clean file (0 bytes).
I just checked: the "no xauth data" doesn't matter:
rsync -e "ssh -x" vsuse:/etc/issue .
has the same problems.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/rsync/+bug/1300768/+subscriptions
More information about the foundations-bugs
mailing list