>> I think it may be necessary to have a way to tell SMF that a service's
>> stop method must not time out.  Actually, there is a way to do that:
>> with the timeout_seconds attribute of exec_method.  Does svc.startd
>> honor that attribute of stop methods?
The timeout_seconds may be set to -1 or 0, which means infinite timeout, 
and is honored (in my case blocking the shutdown forever).
>
> The problem is not (as I understand it) that his stop is being timed out.
>
> If his stop method succeeds, SMF sees (through the contract) that he 
> lied, and kills his daemon off anyway.
> If his stop method fails, SMF whines about it.
> If his stop method doesn't return (and assuming that he's disabled 
> timeout), then it blocks the shutdown.
Correct.

Reply via email to