On Aug 19, 2009, at 1:24 PM, Shawn Walker wrote:
Jonathan Edwards wrote:
(2) Decent pre/post-install methodologies:
I do understand the desire to containerize this sort of thing
within SMF, but i do not believe that there is a current mechanism
defined to start/stop SMF services around a package installation ..
also somewhat problematic for driver installs, or device rebuilds
There are mechanisms to manage services. See 'Actuators' in the pkg.
5 man page. As for driver installs, all of the functionality you
need should either be covered for them already or is in progress,
see 'man pkg.5' under 'Driver Actions' for details.
I see the following:
- reboot_on_update .. which seems a little extreme for many cases
where you probably want to keep your system running
- disable_fmri, suspend_fmri .. one for removal, one for installation
- ok
- refresh_fmri, restart_fmri .. seems to only affect existing FMRIs -
how about packages that install an FMRI and want to import it?
it seems to me that there should be an actuator to do a import_fmri
and possibly an enable_fmri? is there a reason those are being left
out?
thanks in advance
---
.je
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org