Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1272869

Summary: dig + dnssec does not display signature of freshly created root zone
Product: Red Hat Enterprise Linux 7 Reporter: Martin Kosek <mkosek>
Component: ipaAssignee: IPA Maintainers <ipa-maint>
Status: CLOSED WORKSFORME QA Contact: Namita Soman <nsoman>
Severity: unspecified Docs Contact: Aneta Šteflová Petrová <apetrova>
Priority: unspecified    
Version: 7.2CC: mbasti, pspacek, rcritten
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Known Issue
Doc Text:
DNS zones with recently generated DNSSEC keys are not signed properly IdM does not properly sign DNS zones with recently generated DNS Security Extensions (DNSSEC) keys. The named-pkcs11 service logs the following error in this situation: The attribute does not exist: 0x00000002 The bug is caused by a race condition error in the DNSSEC key generation and distribution process. The race condition prevents named-pkcs11 from accessing new DNSSEC keys. To work around this problem, restart named-pkcs11 on the affected server. After the restart, the DNS zone is properly signed. Note that the bug might reappear after the DNSSEC keys are changed again.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-12-19 12:12:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1281702    

Description Martin Kosek 2015-10-19 06:14:45 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/freeipa/ticket/5348

On a freshly installed ipa configured to be dnssec-master:
{{{
ipa-dns-install --dnssec-master
}}}
When I create a dnssec-signed root zone with one record in it

{{{
ipa dnszone-add --dnssec true .
ipa dnsrecord-add "." rhts.englab.brq.redhat.com. --ns-rec=dell-pe1950-06.rhts.englab.brq.redhat.com
}}}

And then query dnssec info for this zone:
{{{
dig +dnssec @localhost "." SOA
}}}

The response does NOT contain the key. After I restart named-pkcs11.service the key starts to be shown

Comment 1 Martin Kosek 2015-10-19 06:16:22 UTC
As noted in https://fedorahosted.org/freeipa/ticket/5348#comment:1, this issue can be worked around with restart of the named-pkcs11 service:

# systemctl restart named-pkcs11.service

Comment 3 Martin Bašti 2016-12-19 12:12:46 UTC
Cannot reproduce upstream anymore, feel free to reopen if problems persist.