On Thu, May 14, 2009 at 11:32:38AM -0500, Todd Pisek wrote:

> I work on the SAM-QFS product. We are going to deliver a version of our 
> product to Open Solaris 2009.06. Our product requires an explicit license 
> acceptance and we also have additional interactive scripts that, using SVR4 
> packaging, we perform at install time. My understanding is that at this 
> time, there is no provision for either explicit license acceptance or 
> interactive scripts in IPS.

Interactivity at install time is unlikely to ever be part of pkg(5).
License acceptance (click-to-accept) should be coming soon, so if that's
all you need interactivity for, then you'll just have to wait a little bit
longer.

> One idea I have is to install a cookie file that is validated by our SMF
> service, and if needed, spit out a message that guides the administrator
> to run our install script. Once this script is run, it modifies (maybe
> deletes) the cookie file, thus allowing the service to proceed. Note that
> all our commands converge to a function that calls svcadm to enable our
> service if the service is not running.

Note that if you're doing this, you might as well set a property in your
SMF instance that you can check on startup, without the need for a cookie
file -- deleting a file that you've installed may come back if someone runs
"pkg fix".  I'm not sure how you'd get the service to communicate with a
user, but I think the SMF folks are working on some things related to that.

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

Reply via email to