RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1491582 - [TestOnly] rsync-3.1.2-2 problem: This rsync lacks old-style --compress due to its external zlib.
Summary: [TestOnly] rsync-3.1.2-2 problem: This rsync lacks old-style --compress due t...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: rsync
Version: 7.5
Hardware: All
OS: Linux
high
high
Target Milestone: rc
: 7.5
Assignee: Michal Ruprich
QA Contact: Martin Zelený
URL:
Whiteboard:
Depends On: 1432899
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-09-14 08:23 UTC by Thomas Huth
Modified: 2018-04-10 10:07 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-04-10 10:06:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:0692 0 None None None 2018-04-10 10:07:17 UTC

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


Note You need to log in before you can comment on or make changes to this bug.