Hi,

Menno Lageman wrote:
> On 07/30/09 08:55, Gavin Maltby wrote:

>> The service has a require_all dependency on services that
>> are not part of a non-global zone: svc:/system/dumpadm
>> and svc:/system/sysevent.  How do I express this dependency
>> in a "we're dependent on it if the service exists" manner?
> 
> I think you're looking for optional_all:
> 
>      optional_all    Satisfied if the cited services are  running
>                      (online or degraded) or will not run without
>                      administrative  action  (disabled,   mainte-
>                      nance,  not  present, or offline waiting for
>                      dependencies which will  not  start  without
>                      administrative action).

Not sure ... if, say, the sysevent service enters maintenance then there's
no point in trying to start the fmd service yet.  I'll try it out
and see.

Thanks

Gavin

Reply via email to