Quoth Jordan Brown (Sun) on Mon, Apr 21, 2008 at 05:25:49PM -0700:
> Why does the log file sometimes say
>       [ Apr 21 16:38:37 Disabled. ]
> and sometimes say
>       [ Apr 21 12:48:28 Stopping because service disabled. ]
> ?
> 
> Hmm.  It looks like "Disabled." doesn't mean what it seems like it does. 
>   I only see it in cases where the service was *already* shut down.

>From a brief look at the code it appears that svc.startd says
"Disabled." when it first sees a disabled service (transition from the
uninitialized state to the disabled state), and when a service which
was enabled but not running is disabled (offline -> disabled).  It
appears that svc.startd says "Stopping because service disabled." when
it stops a running service in response to a disable request (online
& degraded -> disabled).


David

Reply via email to