Hello,

I have one SMF service delivered by the package ZZZZZ with attribute in the SMF ZZZZZ.xml file:

<create_default_instance enabled='false' />

The IPS action in the package ZZZZZ imports this as SMF service application/ZZZZZ, because the system/manifest-import SMF service is restarted:

file b2ee1bd44a3c4d40b8154cb03e9c7c49455b99fa chash=237b7adb1e704f342fc91e9566ee670d6b9ce4fd group=sys mode=0444 owner=root path=lib/svc/manifest/application/ZZZZZ.xml pkg.csize=1212 pkg.size=2454 restart_fmri=svc:/system/manifest-import:default

This works fine, but by default this service is in OFFLINE state.

What should I do to enable this service while installing ANOTHER package YYYYY.

So the use cese would be as follows:

- installing ZZZZZ will create SMF service which will be in the OFFLINE state (current situation)

 - installing YYYYY would bring this SMF service into ONLINE state


would the restart_fmri=svc:/application/ZZZZZ flag in the package YYYYY do the job, what would be the recommended way of doing it or it's not yet supported and I need to deliver SMF service in the YYYYY package with create_default_instance enabled='true' flag?

--
best
Michal Pryc
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to