Quoth Marcel Widjaja on Mon, May 22, 2006 at 08:54:05AM -0700: > Thank you. Would it be possible for a service to automatically disable > itself if it fails to start?
Yes. In the start method, if you detect start failure, then you can run "svcadm disable" on yourself. This is a kludge since if the svcadm disable doesn't take effect before you exit, svc.startd will try to restart you, so we usually sleep for bit. A better option will be available after 6245225 RFE: SMF_EXIT_DISABLE and SMF_EXIT_DISABLE_TEMPORARY is fixed. David