[Bug 1046197] New: rsync 3.1.2 breaks backward compatibility with older versions
http://bugzilla.opensuse.org/show_bug.cgi?id=1046197 Bug ID: 1046197 Summary: rsync 3.1.2 breaks backward compatibility with older versions Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: x86-64 OS: SUSE Other Status: NEW Severity: Major Priority: P5 - None Component: Samba Assignee: samba-maintainers@SuSE.de Reporter: pvh@oma.be QA Contact: samba-maintainers@SuSE.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 Build Identifier: Using compression when doing an rsync between a system with rsync 3.1.1 or newer (as is used on Tumbleweed now) and a system with an older rsync version no longer works. The workaround is to compile rsync with "--with-included-zlib=yes" Reproducible: Always Steps to Reproduce: 1. When using rsync with the -z option you'll get a message telling you to use -zz and compression will be disabled. 2. When using rsync with the -zz option you'll get an error from the remote server as it doesn't understand this option. 3. Actual Results: Only uncompressed rsync is possible. Expected Results: You should be able to use compression when talking to an older system. There are already numerous threads on this problem on the web. One good example with lots of details and other links is https://bugs.mageia.org/show_bug.cgi?id=13669 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1046197
Noel Power
http://bugzilla.opensuse.org/show_bug.cgi?id=1046197
http://bugzilla.opensuse.org/show_bug.cgi?id=1046197#c1
--- Comment #1 from Tomáš Chvátal
From what I can see it is used in a couple of places when using the system version and thus token.c needs to be tweaked.
options.c 1869:#ifdef EXTERNAL_ZLIB configure.ac 813: AC_DEFINE(EXTERNAL_ZLIB, 1, [Define to 1 if using external zlib]) token.c 408:#ifndef EXTERNAL_ZLIB 582:#ifndef EXTERNAL_ZLIB I will check out how much work would be to build the "bundled code" together with the external one for time being... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=1046197
http://bugzilla.opensuse.org/show_bug.cgi?id=1046197#c2
--- Comment #2 from Peter van Hoof
http://bugzilla.opensuse.org/show_bug.cgi?id=1046197
Tomáš Chvátal
http://bugzilla.opensuse.org/show_bug.cgi?id=1046197
http://bugzilla.opensuse.org/show_bug.cgi?id=1046197#c3
Ralf Friedl
http://bugzilla.opensuse.org/show_bug.cgi?id=1046197
http://bugzilla.opensuse.org/show_bug.cgi?id=1046197#c4
Christian Boltz
Silly question - why does bundled vs. external zlib influence the commandline parameters at all? I don't see why a user would have to use a different commandline parameter just because an internal detail of rsync changed. According to this https://bugzilla.samba.org/show_bug.cgi?id=10372#c14 there is some problem with the system libz, so the new compression scheme was created to work with system libz. Unfortunately it is incompatible to the previous compression. There seem to be some modifications necessary to libz to support
http://bugzilla.opensuse.org/show_bug.cgi?id=1046197
http://bugzilla.opensuse.org/show_bug.cgi?id=1046197#c5
--- Comment #5 from Ralf Friedl
http://bugzilla.opensuse.org/show_bug.cgi?id=1046197
http://bugzilla.opensuse.org/show_bug.cgi?id=1046197#c6
--- Comment #6 from Peter van Hoof
participants (1)
-
bugzilla_noreply@novell.com