Bug 1727093 - rsync: "ABORTING due to invalid path from sender"
Summary: rsync: "ABORTING due to invalid path from sender"
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: rsync
Version: 8.1
Hardware: Unspecified
OS: Unspecified
Target Milestone: rc
: 8.1
Assignee: Tomas Korbar
QA Contact: Ondrej Mejzlik
Depends On:
Blocks: 1771008 1894575
TreeView+ depends on / blocked
Reported: 2019-07-04 12:38 UTC by Andrei Stepanov
Modified: 2021-05-18 14:56 UTC (History)
3 users (show)

Fixed In Version: rsync-3.1.3-10.el8
Doc Type: No Doc Update
Doc Text:
Clone Of:
Last Closed: 2021-05-18 14:55:59 UTC
Type: Bug
Target Upstream Version:

Attachments (Terms of Use)

System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2021:1622 0 None None None 2021-05-18 14:56:05 UTC

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]


How reproducible: always

Could be related to: 


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.


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