John Levon wrote:
> On Fri, Nov 17, 2006 at 12:58:50PM -0800, Cathy Thomas wrote:
> 
>> So is it a "maintenance" state that my service should go into if no
>> BMC is available, or a "disable" state?  I'm afraid that a person
>> would see the service "disabled" and keep trying to start it.
> 
> Maintenance is the wrong state. Nothing is actually wrong and svcs -x should 
> be
> empty (and it's a pity that it's not by default, see 5100134).
> 
>> Do you know what the correct action would be in this case?
> 
> You need to disable yourself temporarily. See
> 
> 6245225 RFE: SMF_EXIT_DISABLE and SMF_EXIT_DISABLE_TEMPORARY

open for 20 months with no activity?...

> Basically you should do something like:
> 
>       echo "No BMC device found: disabling."
>       svcadm disable -t $SMF_FMRI

Why temporarily?  This is likely to be an unresolvable condition (i.e. the 
service will never be able to run on this machine).


Reply via email to