Bug 2227832
Summary: | Interrupt request processing in ipadb_fill_info3() if connection to 389ds is lost [rhel-7] | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Julien Rische <jrische> |
Component: | ipa | Assignee: | Julien Rische <jrische> |
Status: | CLOSED NOTABUG | QA Contact: | Michal Polovka <mpolovka> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 7.9 | CC: | abokovoy, bgollahe, cheimes, frenaud, gkaihoro, ipa-qe, jrische, jverreng, mjurasek, mpolovka, pkulkarn, rakkumar, rcritten, tmihinto, tscherf |
Target Milestone: | rc | Keywords: | Triaged |
Target Release: | --- | Flags: | pm-rhel:
mirror+
|
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | |
Clone Of: | 2214638 | Environment: | |
Last Closed: | 2023-08-02 12:58:35 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: | 2214638 | ||
Bug Blocks: | 2227831 |
Description
Julien Rische
2023-07-31 15:47:27 UTC
Fixed upstream master: https://pagure.io/freeipa/c/c84c59c66f1b22ebc671960cae90088a024d2d62 Fixed upstream ipa-4-10: https://pagure.io/freeipa/c/fd32e6a3d95f28d2d11d41ee5dabb0d563cb5d51 ipa-4-9: https://pagure.io/freeipa/c/b5793c854035a122ed4c66f917cc427e5024e46a Function is_master_host() is not handling errors properly in IPA 4.6.8[1], just as it is in 4.9 an 4.10. However in 4.6.8's case, the ipadb_fill_info3() function fails immediately in case is_master_host() returns false[2][3]. This should keep the NULL LDAP context issue from happening. For this reason, we won't fix is_master_host() on RHEL7. [1] https://github.com/freeipa/freeipa/blob/release-4-6-8/daemons/ipa-kdb/ipa_kdb_mspac.c#L361-L382 [2] https://github.com/freeipa/freeipa/blob/release-4-6-8/daemons/ipa-kdb/ipa_kdb_mspac.c#L438-L440 [3] https://github.com/freeipa/freeipa/blob/release-4-6-8/daemons/ipa-kdb/ipa_kdb_mspac.c#L487-L489 |