Red Hat Bugzilla – Bug 1491582
[TestOnly] rsync-3.1.2-2 problem: This rsync lacks old-style --compress due to its external zlib.
Last modified: 2018-04-10 06:07:17 EDT
Description of problem: rsync refuses to work with the -z parameter if the destination host uses rsync-3.1.2-2 (i.e. the version from RHEL 7.5), but the source host is still using rsync-3.0.9-18 (i.e. the version from RHEL 7.4). Version-Release number of selected component (if applicable): rsync-3.1.2-2.el7.ppc64le (destination) rsync-3.0.9-18.el7.x86_64 (source) How reproducible: 100% Steps to Reproduce: 1. Install rsync-3.1.2-2 on the destination, and rsync-3.0.9-18 on the source 2. rsync -z somefile user@destinationhost: Actual results: rsync: This rsync lacks old-style --compress due to its external zlib. Try -zz. rsync error: syntax or usage error (code 1) at main.c(1567) [server=3.1.2] rsync: connection unexpectedly closed (0 bytes received so far) [sender] rsync error: error in rsync protocol data stream (code 12) at io.c(605) [sender=3.0.9] Expected results: rsync copies the file successfully. Additional info: Using "-zz" as suggested by the error message does not help here. The error stays the same with "-zz"
Hi Thomas, I was a bit too quick about the decision to drop the included zlib. Thanks for pointing this out. I will rebuild the package with the included zlib.
The bug of version 3.1.2-2 is discoverable by TC#554671. Fixed in 3.1.2-4.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHEA-2018:0692