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

Basically you should do something like:

        echo "No BMC device found: disabling."
        svcadm disable -t $SMF_FMRI

regards
john

Reply via email to