On 12/11/08 02:42, Alan Maguire wrote:
> If I recall, general/enabled is an "immediate" property,
> such that if I change it without refreshing, SMF will
> notice and change the state of the instance appropriately.
> Is the same true of general_ovr/enabled (the
> property set when I temporarily enable/disable an
> instance)? I think so, but just wanted to check.
> The context is some code that carries out instance refreshes
> after temporary enable/disables - these are supposedly
> there to ensure that general_ovr/enabled gets into
> the running snapshot, but I suspect these refresh actions
> can be removed since general_ovr/enabled is immediate,
> but wanted to be 100% sure first. Thanks!
>
> Alan
> _______________________________________________
> smf-discuss mailing list
> smf-discuss at opensolaris.org
>   
Alan,

You are correct.  svc.startd does listen and monitor the property 
changes in the following 'framework' type group:

  general
  general_ovr
  options
  options_ovr
  restarter
  restarter_actions

Any change event occurs will trigger one of its thread to handle the 
event.  Note those events are put and handled from
a queue.

Steve


Reply via email to