DO NOT REPLY [Bug 3945] New: add arbitrary error reporting (with --error, perhaps)

samba-bugs at samba-bugs at
Tue Jul 18 22:40:32 GMT 2006

           Summary: add arbitrary error reporting (with --error, perhaps)
           Product: rsync
           Version: 2.6.8
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: enhancement
          Priority: P3
         Component: core
        AssignedTo: wayned at
        ReportedBy: dogcow at
         QAContact: rsync-qa at

On occasion, it's useful for a remote host to deny rsync'ing; this is trivially
done with ssh keys that force a particular command to be given. However,
there's no easy way to correctly signal back _why_ the error failed. So, I'm
requesting something akin to

rsync --server --error "In failover mode; rsync prohibited"

where it would spew back an appropriate error code and also the given reason.
Since errcode.h doesn't have RERR_ADMINPROHIB, it might be a good thing to
create it - regardless of the decision to implement the flag --error.

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