>> 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.
- [smf-discuss] Can SMF stop method decide not to kill the ... Joe Blount
- [smf-discuss] Can SMF stop method decide not to kill... Jordan Brown
- [smf-discuss] Can SMF stop method decide not to ... Joe Blount
- [smf-discuss] Can SMF stop method decide not... Jordan Brown
- [smf-discuss] Can SMF stop method decide not to ... Nicolas Williams
- [smf-discuss] Can SMF stop method decide not... Jordan Brown
- [smf-discuss] Can SMF stop method decide... Nicolas Williams
- [smf-discuss] Can SMF stop method decide... Joe Blount
- [smf-discuss] Can SMF stop method d... Bob Netherton
- [smf-discuss] Can SMF stop meth... Joe Blount
- [smf-discuss] Can SMF stop ... Jordan Brown
- [smf-discuss] Can SMF stop ... Nicolas Williams
- [smf-discuss] Can SMF stop ... Joe Blount
- [smf-discuss] Can SMF stop ... Nicolas Williams
- [smf-discuss] Can SMF stop ... Jordan Brown
- [smf-discuss] Can SMF stop ... Joe Blount
- [smf-discuss] Can SMF stop ... Nicolas Williams
- [smf-discuss] Can SMF stop meth... Jordan Brown