Bug 1435270

Summary: Race condition between zone_maintenance and fwd_zone_configure/activate_zones makes bind to crash
Product: Red Hat Enterprise Linux 8 Reporter: Arpit Tolani <atolani>
Component: bind-dyndb-ldapAssignee: Alexander Bokovoy <abokovoy>
Status: NEW --- QA Contact: ipa-qe <ipa-qe>
Severity: medium Docs Contact:
Priority: medium    
Version: ---CC: abokovoy, atolani, frenaud, ftrivino, gparente, ldelouw, mkosek, pemensik, psklenar, pvoborni, rjeffman, tscherf
Target Milestone: rcKeywords: Patch, Triaged
Target Release: ---Flags: pemensik: needinfo+
tapazogl: needinfo+
tapazogl: needinfo+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
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: 1420851, 1465887, 1465928, 1534569, 1534812, 1549614    

Comment 1 Martin Kosek 2017-03-27 11:47:57 UTC
This is a crash in bind-dyndb-ldap, moving to Tomas Krizek's attention.

Comment 3 Tomas Krizek 2017-03-28 10:56:10 UTC
The issue seems to be related to the data retrieved by SyncRepl from LDAP. If the customer would be willing to share their DNS records from LDAP, it might help me to reproduce the issue and find the root cause.

The ldif containing the DNS subtree can be exported from LDAP using this command:

$ db2ldif -s "cn=dns,dc=example,dc=com" -a /tmp/dns.ldif

Comment 6 Tomas Krizek 2017-04-21 11:48:31 UTC
I've examined this bug from the bind-dyndb-ldap side, but I can't trace the problem back to this component and I'm not able to reproduce it.

The crash happens in fctx_start. Meanwhile, the other thread is waiting for a lock to process SyncRepl update. I wasn't able to find any evidence that the fctx_start call is caused by or related to bind-dyndb-ldap.

Petr, could you please take a look at this bug and evaluate whether my assumption is correct?

Comment 7 Tomas Krizek 2017-05-29 15:24:17 UTC
[Public summary]

Description of problem:
named-pkcs11 crashes frequently

Version-Release number of selected component (if applicable):
bind-pkcs11-9.9.4-38.el7_3.2.x86_64
bind-dyndb-ldap-10.0-5.el7.x86_64

Comment 18 Tomáš Hozza 2018-06-13 15:17:15 UTC
*** Bug 1545351 has been marked as a duplicate of this bug. ***

Comment 35 Petr Čech 2021-03-02 20:32:55 UTC
Thank you taking your time and submitting this request for Red Hat Enterprise Linux 7.
Red Hat Enterprise Linux 7 is in Maintenance Support 2 Phase. This bug was reevaluated and will be postponed to RHEL 8.
Thank you for understanding.
Red Hat Enterprise Linux Identity Management Team

Comment 41 Trivino 2022-05-10 07:37:30 UTC
Our wish would be to fix it in 8.7 but due to non-trivial nature of this bug and our capacity, the target release is planned to 8.8.

Comment 42 Trivino 2023-02-21 12:25:05 UTC
moving target release to 8.9.0