On (2011-07-28 10:22), Antoine Jacoutot wrote:
> On Thu, 28 Jul 2011, David Coppa wrote:
> 
> > On Thu, 28 Jul 2011, Robert Nagy wrote:
> > 
> > > It seems that SIGTERM is not enough for mountd, according to the code
> > > SIGTERM only sends a RPCMNT_UMNTALL broadcast to the clients.
> > > So I think what we should do in this case is to first send a SIGTERM to 
> > > mountd,
> > > and then SIGKILL it in rc_stop().
> > 
> > Something like this? the sleep is just paranoia, don't know if it's 
> > useful...
> 
> Why not use rc_post for SIGKILL?

Because rc_post() does not get called if rc_stop() fails and it does
because mountd does not die after the SIGTERM.

Reply via email to