David Powell wrote:
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?

  It is possible for a service's stop method to return an error, which
  should result in that service being placed in the maintenance state.

  I don't know if disable_fmri reacts to this in any special way,
  though.


If your stop method fails, IPS should fail to uninstall the package
as svcadm disable ... will return 3 or 4 (man svcadm), causing a
ActuatorException to be reported.

- Bart


--
Bart Smaalders                  Solaris Kernel Performance
[email protected]         http://blogs.sun.com/barts
"You will contribute more with mercurial than with thunderbird."
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to