On Wed 04 Nov 2009 at 03:56PM, Danek Duvall wrote:
> Erik Trauschke wrote:
> 
> > http://cr.opensolaris.org/~erisch/pkg-gate1104
> 
> Looks fine.  I assume that you determined conclusively that it's not
> possible to set an environment variable on service instance?  Is that
> considered a bug, or is it intentional?

It is certainly possible to do so-- but I think the idea here was to
offload the burden from the admin-- specifing pkg_env makes this more of
an interface.

Erik-- it occurred to me that the content_root might need to participate
in this scheme as well.  Otherwise, we'll wind up doing:

/my/environment/lib/svc/method/pkg.depotd 

but we'll wind up with content_root set to /usr/share/lib/pkg.
content_root is where the web pages, etc. are stored.

You may have to redefine content_root in terms of a relative
path to the pkg_env.  Ditto with inst_root, although that matters
to a lesser extent since we always override it.

        -dp

-- 
Daniel Price, Solaris Kernel Engineering    http://blogs.sun.com/dp
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to