Bug 718048 - RedHat 5.7 Snapshot 5 - rsync fails
Summary: RedHat 5.7 Snapshot 5 - rsync fails
Keywords:
Status: CLOSED DUPLICATE of bug 724041
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: rsync
Version: 5.7
Hardware: Unspecified
OS: Linux
unspecified
high
Target Milestone: rc
: ---
Assignee: Vojtech Vitek
QA Contact: BaseOS QE Security Team
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-30 19:37 UTC by Need Real Name
Modified: 2015-03-04 23:57 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-27 06:03:03 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Need Real Name 2011-06-30 19:37:49 UTC
Description of problem:
This is on RedHat 5.7 Snapshot 5.
rsync fails with the error indicated below.


Version-Release number of selected component (if applicable):
rsync-3.0.6-4.el5

How reproducible:
The rsync command I am using:
rsync -arC -q -e rsh --progress -r 190.0.0.215:/cvs/unix_qa/stable/scripts/* /scripts/



Steps to Reproduce:
1.
2.
3.
  
Actual results:
Error message I get:
  rsync: writefd_unbuffered failed to write 4 bytes to socket [receiver]: Broken pipe (32)
  rsync error: error in rsync protocol data stream (code 12) at io.c(1525) [receiver=3.0.6]



Expected results:


Additional info:
I install my source copy of rsync-3.0.8 and everything works fine.

Comment 1 Phil Perry 2011-07-22 21:47:05 UTC
Me too, in RHEL-5.7 release.

$ rpm -q rsync
rsync-3.0.6-4.el5.x86_64

Simple reproducer:

$ rsync 192.168.0.2:
usage: ssh [-1246AaCfgkMNnqsTtVvXxY] [-b bind_address] [-c cipher_spec]
           [-D [bind_address:]port] [-e escape_char] [-F configfile]
           [-i identity_file] [-L [bind_address:]port:host:hostport]
           [-l login_name] [-m mac_spec] [-O ctl_cmd] [-o option] [-p port]
           [-R [bind_address:]port:host:hostport] [-S ctl_path]
           [-w tunnel:tunnel] [user@]hostname [command]
rsync: connection unexpectedly closed (0 bytes received so far) [receiver]
rsync error: unexplained error (code 255) at io.c(600) [receiver=3.0.6]

Comment 2 Marco De la Cruz 2011-07-25 14:14:33 UTC
I can confirm the behaviour as described in Comment 1. My current workaround was to downgrade from rsync 3.0.6-4.el5 to 2.6.8-3.1 via the command:

$ yum downgrade rsync

RHEL-5.7 release, on both 32 and 64-bit Intel/AMD platforms using the latest openssh (4.3p2-72.el5_6.3).

Comment 3 Marco De la Cruz 2011-07-25 14:27:59 UTC
(In reply to comment #2)
> I can confirm the behaviour as described in Comment 1. My current workaround
> was to downgrade from rsync 3.0.6-4.el5 to 2.6.8-3.1 via the command:
> 
> $ yum downgrade rsync
> 
> RHEL-5.7 release, on both 32 and 64-bit Intel/AMD platforms using the latest
> openssh (4.3p2-72.el5_6.3).

Nevermind, see Bug 724041. Still, not looking forward to rewriting dozens of scripts, downgrading for now.

Comment 4 Ondrej Vasik 2011-07-27 06:03:03 UTC

*** This bug has been marked as a duplicate of bug 724041 ***


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