BIND 10 #2962: cmdctl test failure due to race in certificate keypair creation

BIND 10 Development do-not-reply at isc.org
Fri Aug 2 10:41:36 UTC 2013


#2962: cmdctl test failure due to race in certificate keypair creation
-------------------------------------+-------------------------------------
            Reporter:  muks          |                        Owner:  muks
                Type:  defect        |                       Status:
            Priority:  medium        |  reviewing
           Component:  cmd-ctl       |                    Milestone:
            Keywords:                |  Sprint-20130806
           Sensitive:  0             |                   Resolution:
         Sub-Project:  DNS           |                 CVSS Scoring:
Estimated Difficulty:  5             |              Defect Severity:  N/A
         Total Hours:  0.22          |  Feature Depending on Ticket:
                                     |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
Changes (by vorner):

 * owner:  vorner => muks
 * totalhours:  0 => 0.22


Comment:

 I agree with the fix (and with the fact that this could have the described
 effect, so it probably fixes the problem).

 However, may we use some command that exists generally?

 {{{
 /bin/sed -e "s|@@SYSCONFDIR@@|/tmp/bind10//bind10-1.install/etc|"
 cmdctl.spec.pre >cmdctl.spec
   CXX      b10_certgen-b10-certgen.o
   CXXLD    b10-certgen
 ./b10-certgen -q -w
 noop

 /bin/bash: noop: command not found
 }}}

 Maybe even touch of the target would be good, this way, if the
 cmdctl-certfile.pem is older than cmdctl-keyfile.pem for some reason, make
 will
 try to run the rule every time.

 I think this can be merged afterwards.

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


More information about the bind10-tickets mailing list