On Wed, 2007-02-21 at 19:12 -0700, Jason J. W. Williams wrote:
> Hello,
> 
> I'm having a heck of time finding the definitions/expectations for the
> SMF return codes:

Is the info in man smf_method not sufficient ?

> SMF_EXIT_OK=0
> SMF_EXIT_ERR_FATAL=95
> SMF_EXIT_ERR_CONFIG=96
> SMF_EXIT_MON_DEGRADE=97
> SMF_EXIT_MON_OFFLINE=98
> SMF_EXIT_ERR_NOSMF=99
> SMF_EXIT_ERR_PERM=100
> 

examples: 

     SMF_EXIT_OK            0           Method exited, performing its
                                        operation successfully.
     SMF_EXIT_ERR_FATAL     95          Method failed fatally and  is
                                        unrecoverable  without admin-
                                        istrative intervention.
     SMF_EXIT_ERR_CONFIG    96          Unrecoverable   configuration
                                        error.   A  common  condition
                                        that returns this exit status
                                        is  the  absence  of required
                                        configuration  files  for  an
                                        enabled service instance.





Reply via email to