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 1845537 - IPA bind configuration issue
Summary: IPA bind configuration issue
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: ipa
Version: 8.2
Hardware: All
OS: Linux
unspecified
low
Target Milestone: rc
: 8.0
Assignee: Thomas Woerner
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-06-09 13:25 UTC by aheverle
Modified: 2023-12-15 18:08 UTC (History)
7 users (show)

Fixed In Version: ipa-4.8.7-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-11-04 02:51:04 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
upgrade-test-result.txt (3.68 KB, text/plain)
2020-08-12 08:43 UTC, Mohammad Rizwan
no flags Details
installation-test-result.txt (1.88 KB, text/plain)
2020-08-12 08:44 UTC, Mohammad Rizwan
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FREEIPA-10659 0 None None None 2023-12-15 18:08:13 UTC

Description aheverle 2020-06-09 13:25:08 UTC
Description of problem:

When configuring DNS forwarding in bind service bundled with RHEL 8.2 IDM (free IPA), the file "/etc/named/ipa-ext.conf" cannot be customised, because it contains an options {} list that overlap with the one found in the file "/etc/named.conf". Hence the workaround I used was to configure all "options" modifications  in the file "/etc/named.conf" (and comment the inclusion of "/etc/named/ipa-ext.conf"). The issue is it won't be resilient across updates. I think this should be fixed or at least better documented.

Version-Release number of selected component (if applicable):

ipa 4.8.4

Comment 1 Alexander Bokovoy 2020-06-09 16:24:36 UTC
This is currently being addressed upstream with 

https://pagure.io/freeipa/issue/8287
and
https://pagure.io/freeipa/issue/8363

Comment 2 Alexander Bokovoy 2020-06-30 11:12:34 UTC
It should be fixed in 8.3 once it is released.

Comment 3 Alexander Bokovoy 2020-06-30 11:15:04 UTC
master:

379b560 Fix named.conf update bug NAMED_DNSSEC_VALIDATION
cddd07f Remove named_validate_dnssec update step
996a220 Fix named.conf named_conf_include_re
43dd1e8 More upgrade tests
f52a15b Overhaul bind upgrade process

ipa-4-8:

aa2f932 Fix named.conf update bug NAMED_DNSSEC_VALIDATION
6ddaead More upgrade tests
03abb28 Remove named_validate_dnssec update step
1d3649e Fix named.conf named_conf_include_re
b2c3c04 Overhaul bind upgrade process

This is already in RHEL 8.3:

git tag --contains aa2f932
release-4-8-7

Comment 7 Mohammad Rizwan 2020-08-12 08:41:37 UTC
version:
ipa-server-4.8.7-8.module+el8.3.0+7513+a375844a.x86_64


============================= test session starts ==============================
platform linux -- Python 3.6.8, pytest-3.10.1, py-1.9.0, pluggy-0.13.1 -- /usr/libexec/platform-python
cachedir: /home/cloud-user/.pytest_cache
metadata: {'Python': '3.6.8', 'Platform': 'Linux-4.18.0-232.el8.x86_64-x86_64-with-redhat-8.3-Ootpa', 'Packages': {'pytest': '3.10.1', 'py': '1.9.0', 'pluggy': '0.13.1'}, 'Plugins': {'metadata': '1.10.0', 'html': '1.22.1', 'multihost': '3.0', 'sourceorder': '0.5'}}
rootdir: /usr/lib/python3.6/site-packages/ipatests, inifile:
plugins: metadata-1.10.0, html-1.22.1, multihost-3.0, sourceorder-0.5
collecting ... collected 6 items

test_integration/test_upgrade.py::TestUpgrade::test_invoke_upgrader PASSED [ 16%]
test_integration/test_upgrade.py::TestUpgrade::test_double_encoded_cacert PASSED [ 33%]
test_integration/test_upgrade.py::TestUpgrade::test_named_conf_crypto_policy FAILED [ 50%]
test_integration/test_upgrade.py::TestUpgrade::test_current_named_conf PASSED [ 66%]
test_integration/test_upgrade.py::TestUpgrade::test_update_named_conf_simple PASSED [ 83%]
test_integration/test_upgrade.py::TestUpgrade::test_update_named_conf_old PASSED [100%]

[..]
-- Docs: https://docs.pytest.org/en/latest/warnings.html
=============== 1 failed, 5 passed, 6 warnings in 715.40 seconds ===============


test_current_named_conf, test_update_named_conf_simple, test_update_named_conf_old passed.

============================= test session starts ==============================
platform linux -- Python 3.6.8, pytest-3.10.1, py-1.9.0, pluggy-0.13.1 -- /usr/libexec/platform-python
cachedir: /home/cloud-user/.pytest_cache
metadata: {'Python': '3.6.8', 'Platform': 'Linux-4.18.0-232.el8.x86_64-x86_64-with-redhat-8.3-Ootpa', 'Packages': {'pytest': '3.10.1', 'py': '1.9.0', 'pluggy': '0.13.1'}, 'Plugins': {'metadata': '1.10.0', 'html': '1.22.1', 'multihost': '3.0', 'sourceorder': '0.5'}}
rootdir: /usr/lib/python3.6/site-packages/ipatests, inifile:
plugins: metadata-1.10.0, html-1.22.1, multihost-3.0, sourceorder-0.5
collecting ... collected 3 items

test_integration/test_installation.py::TestInstallMasterDNS::test_install_master PASSED [ 33%]
test_integration/test_installation.py::TestInstallMasterDNS::test_server_install_lock_bind_recursion PASSED [ 66%]
test_integration/test_installation.py::TestInstallMasterDNS::test_install_kra PASSED [100%]

---------------- generated xml file: /home/cloud-user/junit.xml ----------------
----------- generated html file: file:///home/cloud-user/report.html -----------
========================== 3 passed in 733.24 seconds ==========================

Automation passed. Hence marking the bug as verified.

Comment 8 Mohammad Rizwan 2020-08-12 08:43:51 UTC
Created attachment 1711153 [details]
upgrade-test-result.txt

Comment 9 Mohammad Rizwan 2020-08-12 08:44:46 UTC
Created attachment 1711154 [details]
installation-test-result.txt

Comment 12 errata-xmlrpc 2020-11-04 02:51:04 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: idm:DL1 and idm:client security, bug fix, and enhancement update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2020:4670


Note You need to log in before you can comment on or make changes to this bug.