On Fri, Jun 05, 2009 at 03:40:17PM -0500, Todd Pisek wrote:
> I have a service that is associated with the disable_fmri actuator. Is 
> there a way for the disable_fmri service's stop method to return failed 
> status back to IPS such that IPS aborts the remove?

If IPS is acting on a image that is not booted, then the disable won't
take effect until later, and, really, the stop method probably won't run
at all (since you're probably removing the service too).  Even if the
image is running, the service might not be.

When the image is running the only thing IPS could know is whether the
service transitioned to maintenance, [likely] as a result of disabling
it.  That's not really a lot of info to go on.

So, IMO, IPS should not act on the result of disabling any service.
(For that matter, the same applies to enabling and refreshing any
service too.)

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

Reply via email to