An interesting shutdown race in messaging

Jeremy Allison jra at samba.org
Tue Jun 13 21:02:32 UTC 2017


On Tue, Jun 13, 2017 at 09:21:50PM +0200, Volker Lendecke via samba-technical wrote:
> On Tue, Jun 13, 2017 at 10:32:41AM -0700, Jeremy Allison via samba-technical wrote:
> > On Tue, Jun 13, 2017 at 12:45:24PM -0400, jim via samba-technical wrote:
> > > Perhaps with a reasonable timeout in case one of the send targets is
> > > unresponsive so shutdown/exit is not blocked for an excessive time.
> > 
> > Yep, allow a milisecond configurable timeout here.
> 
> From an implementation point of view possibly the all-blocking send is
> simpler. If the auth log messages are needed for auditing and
> compliance purposes, maybe they are good candidates for such a safe
> delivery method that is able to return a proper error message
> reliably.

So having a flag on the message send that says "deliver this synchronously" ?



More information about the samba-technical mailing list