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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]
         QAContact: [EMAIL PROTECTED]


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.
-- 
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 via email to