[Bug 12522] New: [PATCH] Send last error messages to sender

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[Bug 12522] New: [PATCH] Send last error messages to sender

samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=12522

            Bug ID: 12522
           Summary: [PATCH] Send last error messages to sender
           Product: rsync
           Version: 3.1.2
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P5
         Component: core
          Assignee: [hidden email]
          Reporter: [hidden email]
        QA Contact: [hidden email]

Created attachment 12832
  --> https://bugzilla.samba.org/attachment.cgi?id=12832&action=edit
Send last error messages to sender

Hello,

Here is a patch which sends last error messages to sender for a file-transfer
which failed.

It helps especially with protocol < 31.

This can be useful for example to know that a FS is full.

Thank you !

Ben



### Without :

/repository/mybigfile.iso
        539.26M   6%   11.21MB/s    0:11:01  
rsync: [sender] write error: Broken pipe (32)
rsync error: error in file IO (code 11) at io.c(831) [sender=3.1.2]



### With (of course the interesting message here is the first one) :

/repository/mybigfile.iso
        539.26M   6%   11.21MB/s    0:11:01  
rsync: write failed on "/repository/mybigfile.iso" (in bkp): Disc quota
exceeded (69)
rsync error: error in file IO (code 11) at receiver.c(400) [receiver=3.1.2]
rsync error: error in file IO (code 11) at io.c(1633) [generator=3.1.2]
rsync: [sender] write error: Broken pipe (32)
rsync error: error in file IO (code 11) at io.c(831) [sender=3.1.2]

--
You are receiving this mail because:
You are the QA Contact for the bug.

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Reply | Threaded
Open this post in threaded view
|

[Bug 12522] [PATCH] Send last error messages to sender

samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=12522

Ben RUBSON <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #12832|0                           |1
        is obsolete|                            |

--- Comment #1 from Ben RUBSON <[hidden email]> ---
Created attachment 12838
  --> https://bugzilla.samba.org/attachment.cgi?id=12838&action=edit
Send last error messages to sender

Nicer / smarter version.

--
You are receiving this mail because:
You are the QA Contact for the bug.

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html
Reply | Threaded
Open this post in threaded view
|

[Bug 12522] [PATCH] Send last error messages to sender

samba-bugs
In reply to this post by samba-bugs
https://bugzilla.samba.org/show_bug.cgi?id=12522

Ben RUBSON <[hidden email]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #12838|0                           |1
        is obsolete|                            |

--- Comment #2 from Ben RUBSON <[hidden email]> ---
Created attachment 12841
  --> https://bugzilla.samba.org/attachment.cgi?id=12841&action=edit
Send last error messages to sender

Error correction on sender side.

--
You are receiving this mail because:
You are the QA Contact for the bug.

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html