BIND 10 #2962: cmdctl test failure (doesn't happen regularly)
BIND 10 Development
do-not-reply at isc.org
Thu Aug 1 07:12:00 UTC 2013
#2962: cmdctl test failure (doesn't happen regularly)
-------------------------------------+-------------------------------------
Reporter: muks | Owner:
Type: defect | UnAssigned
Priority: medium | Status:
Component: cmd-ctl | reviewing
Keywords: | Milestone:
Sensitive: 0 | Sprint-20130806
Sub-Project: DNS | Resolution:
Estimated Difficulty: 5 | CVSS Scoring:
Total Hours: 0 | Defect Severity: N/A
| Feature Depending on Ticket:
| Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
Changes (by muks):
* owner: muks => UnAssigned
* status: assigned => reviewing
Comment:
This issue was due to the following in `Makefile.am`:
{{{
# Generate the initial certificates immediately
cmdctl-certfile.pem: b10-certgen
./b10-certgen -q -w
cmdctl-keyfile.pem: b10-certgen
./b10-certgen -q -w
}}}
A parallel `make` will cause these two `b10-certgen` commands to get
executed at the same time resulting in corrupted PEM files (as you can
notice in the attached keyfile at the bottom), or where the key pair do
not match each other.
This has been fixed using a hack as there's no portable and correct way to
serialize it, or have it execute just once for that matter.
Up for review.
--
Ticket URL: <https://bind10.isc.org/ticket/2962#comment:9>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list