Tony Nguyen wrote:
> Sebastien Roy wrote:
>> I'm skeptical about this suggested change.  Won't it be possible for 
>> the svcprop command to exit with status 0 after svc.startd has created 
>> the restarter property group but before it has set the state property 
>> to "online"?  If so, we still need to wait for the restarter/state 
>> property to be set to "online" by svc.startd by going through the loop 
>> again...
>>
> 
> Ah. I believe state is set to uninitialized when restarter pg is 
> created. Yes, there may be a window where state hasn't been properly 
> set.

Right.

> On the other hand, the bigger problem is when state doesn't get set 
> to "online"(e.g maintenance), we'd loop for awhile :) Not too efficient 
> but may not worth the extra logic make it so. I'm fine with the current 
> code :)

Okay, thanks.

-Seb

Reply via email to