Bug 2041627 - Set DNS search setting only for enabled IP protocols
Summary: Set DNS search setting only for enabled IP protocols
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: rhel-system-roles
Version: 8.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 8.6
Assignee: Rich Megginson
QA Contact: David Jež
Marc Muehlfeld
URL:
Whiteboard: role:network
Depends On: 2004899
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-17 22:13 UTC by Rich Megginson
Modified: 2022-05-11 06:42 UTC (History)
10 users (show)

Fixed In Version: rhel-system-roles-1.13.0-1.el8
Doc Type: Bug Fix
Doc Text:
.The Networking System Role no longer fails to set a DNS search domain if IPv6 is disabled Previously, the `nm_connection_verify()` function of the `libnm` library did not ignore the DNS search domain if the IPv6 protocol was disabled. As a consequence, when you used the Networking RHEL System Role and set `dns_search` together with `ipv6_disabled: true`, the System Role failed with the following error: ---- nm-connection-error-quark: ipv6.dns-search: this property is not allowed for 'method=ignore' (7) ---- With this update, the `nm_connection_verify()` function ignores the DNS search domain if IPv6 is disabled. As a consequence, you can use `dns_search` as expected, even if IPv6 is disabled.
Clone Of: 2004899
Environment:
Last Closed: 2022-05-10 14:12:50 UTC
Type: Bug
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github linux-system-roles network pull 423/commits/7be75d728a58cd6cf87cdcaadeaa815d59a25e1f 0 None None None 2022-01-28 21:43:19 UTC
Red Hat Issue Tracker RHELPLAN-108355 0 None None None 2022-01-17 22:15:08 UTC
Red Hat Product Errata RHBA-2022:1896 0 None None None 2022-05-10 14:13:03 UTC

Comment 5 Zhiqian Guan 2022-01-21 06:44:56 UTC
postpone to ITM24 as ITM23 will be China public holiday

Comment 15 Zhiqian Guan 2022-02-10 08:12:27 UTC
:: [ 02:59:56 ] :: [   PASS   ] :: Test network/tests_ipv6_dns_search_nm.yml (roles/rhel-system-roles.network/tests/tests_ipv6_dns_search_nm.yml) with ANSIBLE-2.9 against RHEL_6_10_GA (Expected 0, got 0)
:: [ 03:03:06 ] :: [   PASS   ] :: Test network/tests_ipv6_dns_search_nm.yml (roles/rhel-system-roles.network/tests/tests_ipv6_dns_search_nm.yml) with ANSIBLE-2.9 against RHEL_7_9_GA (Expected 0, got 0)
:: [ 03:05:54 ] :: [   PASS   ] :: Test network/tests_ipv6_dns_search_nm.yml (roles/rhel-system-roles.network/tests/tests_ipv6_dns_search_nm.yml) with ANSIBLE-2.9 against RHEL_8_5_0_GA (Expected 0, got 0)
:: [ 03:08:44 ] :: [   PASS   ] :: Test network/tests_ipv6_dns_search_nm.yml (roles/rhel-system-roles.network/tests/tests_ipv6_dns_search_nm.yml) with ANSIBLE-2.9 against RHEL_8_6_TESTING (Expected 0, got 0)
:: [ 03:11:15 ] :: [   PASS   ] :: Test network/tests_ipv6_dns_search_nm.yml (roles/rhel-system-roles.network/tests/tests_ipv6_dns_search_nm.yml) with ANSIBLE-2.9 against RHEL_9_TESTING (Expected 0, got 0)

[root@netqe18 Upstream-testsuite]# rpm -q rhel-system-roles
rhel-system-roles-1.13.0-1.el8.noarch

Results looks good, set this to VERIFIED

Comment 17 errata-xmlrpc 2022-05-10 14:12:50 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 (rhel-system-roles 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/RHBA-2022:1896


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