On 07/30/09 13:11, Gavin Maltby wrote:
> 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.

Didn't your original question state that the sysevent service doesn't 
exist in a zone and that you therefore don't want fmd in the zone to 
depend on it? If the sysevent service does not exist in a zone, it can't 
ever be in maintenance, can it? (Or I'm completely misunderstanding your 
question, of course).

Menno
-- 
Menno Lageman - Sun Microsystems - http://blogs.sun.com/menno

Reply via email to