DO NOT REPLY [Bug 7124] New: Error exit causes I/O error

samba-bugs at samba-bugs at
Tue Feb 9 20:06:19 MST 2010

           Summary: Error exit causes I/O error
           Product: rsync
           Version: 3.1.0
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P3
         Component: core
        AssignedTo: wayned at
        ReportedBy: matt at
         QAContact: rsync-qa at

Error exits that happen early in the rsync run appear to cause an I/O error on
the client.  For example, passing an unknown option:

$ rsync-dev -M--blop blort
rsync: on remote machine: --blop: unknown option
rsync error: syntax or usage error (code 1) at pipe.c(149) [Receiver=3.1.0dev]
need to read 1024 bytes, is only 0 bytes.
rsync: connection unexpectedly closed (0 bytes received so far) [sender]
rsync error: error in rsync protocol data stream (code 12) at io.c(223)

This would seem to indicate that the new code to report an error exit
gracefully in 3.1.0 is not working properly.

Configure bugmail:
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.

More information about the rsync mailing list