[Bug 8188] Mechanism for taking an rsync server down for maintenance
samba-bugs at samba.org
samba-bugs at samba.org
Thu Jun 2 15:47:32 MDT 2011
https://bugzilla.samba.org/show_bug.cgi?id=8188
--- Comment #4 from Brian K. White <brian at aljex.com> 2011-06-02 21:47:32 UTC ---
(In reply to comment #3)
> (In reply to comment #1)
>
> That's very cute, but not quite what I had in mind.
>
> I just attached a proof of concept patch that I surprised myself by being able
> to hack together the other night.
>
> The real thing probably needs to be configurable, and it'd probably be better
> to get the message from the contents of the file (if there was any).
Someone else emailed me an untested idea to just use exclude file and
place/remove/edit the exclude file to toggle the access.
That doesn't provide the truly graceful/informative response code or message,
but:
* toggles the access
* avoids downing the service even momentarily
* potentially avoids requiring a host admin to even do anything, since a user
may have permission to place/remove the exclude file
* it's at least distinct from failed to connect
* uses already existing features
* does not require any, let alone two different, wrapper layers in the form of
the perl (or other) wrapper script and (x)inetd to run it.
I haven't finished playing around with that to see just how close that can come
to the desired fully graceful process but I felt it should be mentioned as
another workaround option.
--
bkw
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
More information about the rsync
mailing list