Bug 1491582

Summary: [TestOnly] rsync-3.1.2-2 problem: This rsync lacks old-style --compress due to its external zlib.
Product: Red Hat Enterprise Linux 7 Reporter: Thomas Huth <thuth>
Component: rsyncAssignee: Michal Ruprich <mruprich>
Status: CLOSED ERRATA QA Contact: Martin Zelený <mzeleny>
Severity: high Docs Contact:
Priority: high    
Version: 7.5CC: carl, ksrot, mruprich, mzeleny, thozza
Target Milestone: rcKeywords: TestOnly
Target Release: 7.5   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-04-10 10:06:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1432899    
Bug Blocks:    

Description Thomas Huth 2017-09-14 08:23:04 UTC
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"

Comment 2 Michal Ruprich 2017-09-14 10:34:14 UTC
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.

Comment 6 Martin Zelený 2017-11-13 09:57:41 UTC
The bug of version 3.1.2-2 is discoverable by TC#554671. Fixed in 3.1.2-4.

Comment 9 errata-xmlrpc 2018-04-10 10:06:32 UTC
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