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? Thanks, tony