[oi-dev] SMF service enabled by default in global zone

Toomas Soome tsoome at me.com
Tue May 7 20:31:41 UTC 2019


You need SMF profile. Google will help, also see /etc/svc/profile.

Sent from my iPhone

> On 7 May 2019, at 23:27, Till Wegmüller <toasterson at gmail.com> wrote:
> 
> Hi
> 
> The only way I know in the IPS framework is to use variants and two
> seperate xml files for zone.global and zone.nonglobal environment
> 
> Greetings
> Till
> 
>> On 07.05.19 22:12, Michal Nowak wrote:
>> Hi,
>> 
>> I want to modify a SMF service so it's enabled by default once it's
>> installed in global zone. In non-global zone the service must be
>> disabled by default and may be enabled by admin manually (e.g. by
>> setting SMF prop value).
>> 
>> How do I do that in SMF? Is there an example of such a service already?
>> 
>> I figured out that '<instance name="default" enabled="true">' does the
>> enablement, but how to limit this to global zone?
>> 
>> Thanks,
>> Michal
>> 
>> _______________________________________________
>> oi-dev mailing list
>> oi-dev at openindiana.org
>> https://openindiana.org/mailman/listinfo/oi-dev
> 
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> https://openindiana.org/mailman/listinfo/oi-dev





More information about the oi-dev mailing list