On Wed, Aug 27, 2008 at 02:27:58PM -0700, Jordan Brown wrote:
> Interaction with SMF might well address the possible need for removal 
> vetoes for services-running.  Whether it completely addresses the need 
> for preremove is less clear to me.  For instance, when you go to 
> uninstall Adobe Reader, one of the things that should happen before you 
> actually remove the executable is to remove the entry in /etc/mailcap 
> that refers to it.  (Granted, race conditions still cause problems. 

What's wrong with a single generic service for things like mailcap
updates?

> Still, it seems tidy to keep the system consistent at all times.)  While 

Yes :)

> that (and all such file-type associations) could be modeled as an SMF 
> service, doing so seems like something of a stretch.

pkg removal -> drop a note where that service will find it and
ping the service.  Better: pkg removal -> ping that service and let it
discover what changed.

> My real worry in eliminating scripting is a fear of the unknown. 

It's an ongoing project :)

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

Reply via email to