Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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

Summary: Set DNS search setting only for enabled IP protocols
Product: Red Hat Enterprise Linux 9 Reporter: Wen Liang <wenliang>
Component: rhel-system-rolesAssignee: Rich Megginson <rmeggins>
Status: CLOSED ERRATA QA Contact: Jakub Haruda <jharuda>
Severity: unspecified Docs Contact: Marc Muehlfeld <mmuehlfe>
Priority: unspecified    
Version: 9.0CC: djez, ferferna, fge, gfialova, jharuda, nhosoi, rmeggins, spetrosi, till, zhguan
Target Milestone: rcKeywords: Triaged
Target Release: 9.0Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: role:network
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.
Story Points: ---
Clone Of:
: 2041627 (view as bug list) Environment:
Last Closed: 2022-05-17 13:02:56 UTC 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: 2041627    

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