I think the answer for registration and un-registration of plug-ins should be quite simple:
- the plug-in framework (GNOME, PAM, PKCS#11, SASL, the GSS-API, ...) provides a service to pibg on registration and unregistration - the plug-in framework provides a protocol for detecting additions and removals, such as scanning a plug-ins directory for whatever configuration information the framework needs So on removal of a pkg that delivers a plug-in the framework's service gets pinged. If the image isn't running then the service will be enabled so that on boot the removal will be discovered. Similarly for additions. The key is that the service being pinged belongs to a different pkg than the one being removed. Nico -- _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
