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

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


https://bugzilla.samba.org/show_bug.cgi?id=3945

           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 samba.org
        ReportedBy: dogcow at babymeat.com
         QAContact: rsync-qa at samba.org


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: 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.


More information about the rsync mailing list