-----Original Message-----
From: smf-discuss-boun...@opensolaris.org
[mailto:smf-discuss-bounces at opensolaris.org] On Behalf Of Menno Lageman
Sent: Thursday, July 30, 2009 4:55 PM
To: Gavin Maltby
Cc: smf-discuss at opensolaris.org
Subject: Re: [smf-discuss] different dependencies in a non-global zone

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
_______________________________________________
smf-discuss mailing list
smf-discuss at opensolaris.org

Please do not print this email unless it is absolutely necessary. 

The information contained in this electronic message and any attachments to 
this message are intended for the exclusive use of the addressee(s) and may 
contain proprietary, confidential or privileged information. If you are not the 
intended recipient, you should not disseminate, distribute or copy this e-mail. 
Please notify the sender immediately and destroy all copies of this message and 
any attachments. 

WARNING: Computer viruses can be transmitted via email. The recipient should 
check this email and any attachments for the presence of viruses. The company 
accepts no liability for any damage caused by any virus transmitted by this 
email. 

www.wipro.com

Reply via email to