Quoth Tony Nguyen on Thu, Apr 05, 2007 at 01:37:12PM -0700:
> In rcapadm, I call smf_maintain_instance when there's an error in 
> reading rcap configuration. Looking at the instance log file, there are 
> two identical messages generated
> 
> [ Apr  5 13:12:49 Stopping for maintenance due to administrative_request. ]
> [ Apr  5 13:12:49 Stopping for maintenance due to administrative_request. ]
> 
> In restarter.c, we only call log_instance once for everyone 
> maintain_instance call. Does this mean smf_maintain_instance triggers 
> two events(RESTARTER_EVENT_TYPE_ADMIN_MAINT_ON and 
> RESTARTER_EVENT_TYPE_ADMIN_MAINT_ON_IMMEDIATE) which results in two 
> calls to maintain_instance? If not, why would we get two identical log 
> messages?

I suspect

  6236609 svc.startd resets auxiliary state on svcadm mark maintenance

has something to do with this.


David

Reply via email to