BIND 10 #400: Race condition in zonemgr

BIND 10 Development do-not-reply at isc.org
Fri Nov 5 12:46:32 UTC 2010


#400: Race condition in zonemgr
-------------------------------+--------------------------------------------
      Reporter:  vorner        |        Owner:  vorner   
          Type:  defect        |       Status:  reviewing
      Priority:  major         |    Milestone:           
     Component:  Unclassified  |   Resolution:           
      Keywords:                |    Sensitive:  0        
Estimatedhours:  0.0           |        Hours:  0        
      Billable:  1             |   Totalhours:  0        
      Internal:  0             |  
-------------------------------+--------------------------------------------
Changes (by jinmei):

  * owner:  jinmei => vorner


Comment:

 Replying to [comment:4 vorner]:
 > Well, I'm little bit nervous about leaving such false alarm there, as it
 could be hard to hunt down if it happens and could harm the zonemanager in
 severe manner (if I remember the code correctly, it would do something
 like half-shutdown, part of the functionality would stop working). Anyway,
 we are trying to solve a problem that happens only in testing conditions
 (the thread is started and shut down immediately and we check it did
 something), while the false alarm could happen in real life.
 >
 In the review of #299 I realized the spurious wakeup can happen in Linux
 due to a kernel bug (sigh, every OS has its own deviant behavior) and my
 proposal won't work.

 So, I'm now okay with your original patch.  Any other solution would look
 equally tricky, so I don't see a benefit to tweak the code further.
 Please go commit your patch, with comment about why we need to do that,
 and also about how the "false alarm" can happen.

-- 
Ticket URL: <http://bind10.isc.org/ticket/400#comment:5>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list