On May 15, 2006 5:41:21 PM -0700 David Powell <David.Powell at sun.com> wrote:
>   Is there a reason you can't just place the manifest in the zone and
>   let SMF import it for you at boot time?

Because if it's a running zone I want it imported immediately.  Part
of the post-install does this.  My packaging tool isn't zone-aware,
so it must run chrooted in the zone root.

On May 15, 2006 6:02:45 PM -0700 David Bustos <David.Bustos at sun.com> wrote:
> You can use smf_present() from /lib/svc/share/smf_include.sh , though.

Well I found i.manifest and ended up using that.  I see smf_present()
does a slightly different test than i.manifest, perhaps i.manifest should
source smf_include.sh.  Or is it not guaranteed to be present (install
ordering issue).

i.manifest also fixed another problem I was having: on reboot the manifest
was being reimported.  Well, not so much a problem as much as a curiosity.

-frank

Reply via email to