Quoth Jordan Brown (Sun) on Wed, Mar 26, 2008 at 11:29:45AM -0700:
> What happens when the start method returns failure?  Does SMF take any 
> cleanup actions, or does it assume that the service is dead enough already?

For a contract service, svc.startd abandons the method's process
contract and then depending on the exit code and the retry count either
retries the method or transitions the service into the maintenance
state.

> Similarly, what happens when the stop method returns failure?

Same thing, though the main service contract will also be abandoned.


David

Reply via email to