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 2004899 - 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 9
Classification: Red Hat
Component: rhel-system-roles
Version: 9.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: 9.0
Assignee: Rich Megginson
QA Contact: Jakub Haruda
Marc Muehlfeld
URL:
Whiteboard: role:network
Depends On:
Blocks: 2041627
TreeView+ depends on / blocked
 
Reported: 2021-09-16 11:49 UTC by Wen Liang
Modified: 2022-05-17 13:20 UTC (History)
10 users (show)

Fixed In Version: rhel-system-roles-1.13.0-1.el9
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:
: 2041627 (view as bug list)
Environment:
Last Closed: 2022-05-17 13:02:56 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github linux-system-roles network issues 418 0 None closed ipv6.dns-search not allowed for method = ignore 2022-01-24 13:11:42 UTC
Github linux-system-roles network pull 423 0 None Merged Set DNS search setting only for enabled IP protocols 2022-01-24 13:11:44 UTC
Github linux-system-roles network pull 432 0 None Merged reject IPv6 `dns` setting if IPv6 is not configured 2022-01-24 13:11:47 UTC
Github linux-system-roles network pull 440 0 None Merged Reject DNS_search setting if no IP family is enabled 2022-01-24 13:11:49 UTC
Github linux-system-roles network pull 451 0 None open tests: do not run test_switch_provider on CentOS/RHEL 9 2022-02-03 20:55:31 UTC
Red Hat Issue Tracker RHELPLAN-97529 0 None None None 2021-09-18 10:14:55 UTC
Red Hat Product Errata RHBA-2022:2443 0 None None None 2022-05-17 13:03:29 UTC

Description Wen Liang 2021-09-16 11:49:55 UTC
Description of problem:

When `dns_search` is specified and ipv6 method is ignore, when called with nm provider, the role relys on 
libnm function`nm_connection_verify()` to validate a configuration, as a result, libnm will emit the error message "nm-connection-error-quark: ipv6.dns-search: this property is not allowed for 'method=ignore' (7)". 
To properly handle this in the network role, the role should silently ignore such dns search setting for ipv6.

Comment 39 Gris Ge 2022-03-16 15:51:01 UTC
The document looks good to me. Thanks!

Comment 42 errata-xmlrpc 2022-05-17 13:02:56 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 (new packages: rhel-system-roles), 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:2443


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