On Tue, Jan 20, 2009 at 04:32:21PM -0800, Kohsuke Kawaguchi wrote:
> Nicolas Williams wrote:
> >You could do it by delivering a service whose start method adds the
> >necessary lines to logadm.conf if they are missing.  But things get
> >complicated on uninstall.
> 
> Somehow it didn't feel right to use SMF for running one-off things like 
> this. It feels like a hack to work around the lack of script support in IPS.

This is best taken to pkg-discuss.

IPS has no scripting int he context of pkg(5) itself.  Software with
needs like yours need to be self-assembling and/or, if possible,
solutions like the one you suggested (blowing up editable files into
directories or moving them wholesale to SMF) can be pursued to avoid
some of the self-assembly.

> Are there precedents in Solaris that do this kind of things?

You'll find better answers to that question over on pkg-discuss.

Reply via email to