Bug 1727093

Summary: rsync: "ABORTING due to invalid path from sender"
Product: Red Hat Enterprise Linux 8 Reporter: Andrei Stepanov <astepano>
Component: rsyncAssignee: Tomas Korbar <tkorbar>
Status: CLOSED ERRATA QA Contact: Ondrej Mejzlik <omejzlik>
Severity: high Docs Contact:
Priority: medium    
Version: 8.1CC: mprchlik, psklenar, tkorbar
Target Milestone: rcKeywords: AutoVerified, EasyFix, Patch, TestCaseProvided, Triaged
Target Release: 8.1   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rsync-3.1.3-10.el8 Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 14:55:59 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:    
Bug Blocks: 1771008, 1894575    

Description Andrei Stepanov 2019-07-04 12:38:43 UTC
rsync hangs up with next error:  rsync error: protocol incompatibility (code 2) at generator.c(1278) [generator=3.1.3]

rsync-3.1.3-6.el8.x86_64

How reproducible: always

Could be related to: 

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=863334
https://bugzilla.samba.org/show_bug.cgi?id=12569


Steps to Reproduce:
1. mkdir /tmp/emtpy
2. find /usr/bin > /tmp/files_to_remove

# rsync --dry-run --stats --delete -Pav --files-from=/tmp/files_to_remove --ignore-missing-args  --delete-missing-args /tmp/emtpy /
building file list ... 
file has vanished: "/tmp/emtpy/usr"
 0 files...
file has vanished: "/tmp/emtpy/usr"
file has vanished: "/tmp/emtpy/usr/bin"
865 files to consider
ABORTING due to invalid path from sender: usr/bin
rsync error: protocol incompatibility (code 2) at generator.c(1278) [generator=3.1.3]



On Centos 7 rsync-3.1.2-4.el7.x86_64 works as expected

Comment 1 Tomas Korbar 2020-07-08 10:40:52 UTC
Hi Andrei,
i will work on this. As you stated yourself, the upstream is aware
of this issue. Unfortunately they do not have the official fix yet. I
will try to help things move and then we can decide whether this will
be fixed in rhel 8.

Thanks for reporting this bug, i will keep you updated on the progress.

Comment 16 errata-xmlrpc 2021-05-18 14:55:59 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 (rsync bug fix and enhancement update), 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/RHBA-2021:1622