On Wed, Oct 14, 2009 at 01:29:13PM -0500, Shawn Walker wrote: > Venky wrote: > >On Wed, Oct 14, 2009 at 09:17:08AM -0700, Bart Smaalders wrote: > >>The service should be transient; it should (cheaply) check that > >>there is nothing to do and exit. For daemons and other persistent > >>programs, they can most easily do this in their existing start > >>methods. > > > >Yes, this will be a cheap transient service. But it is strictly not > >necessary after the first time. Should not add much overhead even > >if it runs every time, though. Just unnecessary, that's all. > > > >Anyway, so I guess the answer is, we aim to keep the service > >transient and cheap. Works for me. > > If it only *ever* __really needs to run once__, I believe it can > disable itself, right?
Right. That is the option we are considering right now. Though I just might end up keeping this around. Bart's point about upgrades would apply here. If an upgrade delivers a new CUPS manifest, it would make sense to keep this service around to ensure CUPS remains the default print service. (The default print service is configured by an SMF property in the CUPS manifest.) Thanks, Venky. _______________________________________________ pkg-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/pkg-discuss
