samba-bugs at samba.org
2010-Feb-10 03:06 UTC
DO NOT REPLY [Bug 7124] New: Error exit causes I/O error
https://bugzilla.samba.org/show_bug.cgi?id=7124 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 samba.org ReportedBy: matt at mattmccutchen.net QAContact: rsync-qa at samba.org 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, iobuf.in.buf 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) [sender=3.1.0dev] 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: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug, or are watching the QA contact.
https://bugzilla.samba.org/show_bug.cgi?id=7124 Wayne Davison <wayned at samba.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |ASSIGNED --- Comment #1 from Wayne Davison <wayned at samba.org> 2011-12-24 20:44:05 UTC --- Rsync doesn't try to close down nicely early on in the setup (such as the case you cite) since the protocol hasn't even started. It might be nice to try to make this case better, but I'm not going to worry about it for 3.1.0. -- Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug.
Possibly Parallel Threads
- DO NOT REPLY [Bug 7109] New: Need to define NO_SYMLINK_XATTR on Linux
- DO NOT REPLY [Bug 7809] New: I/O errors other than IOERR_GENERAL should not suppress deletion
- [Bug 8666] New: --debug=all9 fail
- DO NOT REPLY [Bug 5644] New: Option to recheck basis dirs for existing dest files
- DO NOT REPLY [Bug 6916] New: Avoid bundling a modified zlib