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 2115171

Summary: SSSD: duplicate dns_resolver_* option in man sssd.conf
Product: Red Hat Enterprise Linux 9 Reporter: Sunny Wu <suwu>
Component: sssdAssignee: jstephen
Status: CLOSED ERRATA QA Contact: shridhar <sgadekar>
Severity: low Docs Contact:
Priority: unspecified    
Version: 9.1CC: aboscatt, atikhono, pasik, pbrezina
Target Milestone: rcKeywords: Triaged
Target Release: ---Flags: pm-rhel: mirror+
Hardware: All   
OS: All   
Whiteboard: sync-to-jira
Fixed In Version: sssd-2.8.1-1.el9 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-09 08:19:51 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:

Description Sunny Wu 2022-08-04 02:42:04 UTC
Description of problem:

In "man sssd.conf", dns_resolver_server_timeout and dns_resolver_op_timeout options are printed twice:

~~~
dns_resolver_server_timeout (integer)
   Defines the amount of time (in milliseconds) SSSD would try to talk
   to DNS server before trying next DNS server.

   The AD provider will use this option for the CLDAP ping timeouts as
   well.

   Please see the section “FAILOVER” for more information about the
   service resolution.

   Default: 1000

dns_resolver_op_timeout (integer)
   Defines the amount of time (in seconds) to wait to resolve single
   DNS query (e.g. resolution of a hostname or an SRV record) before
   try next hostname or DNS discovery.

   Please see the section “FAILOVER” for more information about the
   service resolution.

   Default: 3

dns_resolver_server_timeout (integer)
   Defines the amount of time (in milliseconds) SSSD would try to talk
   to DNS server before trying next DNS server.

   Please see the section “FAILOVER” for more information about the
   service resolution.

   Default: 1000

dns_resolver_op_timeout (integer)
   Defines the amount of time (in seconds) to wait to resolve single
   DNS query (e.g. resolution of a hostname or an SRV record) before
   try next hostname or DNS discovery.

   Please see the section “FAILOVER” for more information about the
   service resolution.

   Default: 3
~~~

Looks like the change was introduced by:

https://github.com/SSSD/sssd/commit/7190f6b5d5b523e18e8c320df73c44b082c4d99b
https://github.com/SSSD/sssd/commit/43b9b0922aa24a03ea466c673646d5e3079403fe

Version-Release number of selected component (if applicable):
# rpm -qa | grep sssd | sort
python3-sssdconfig-2.6.2-4.el8_6.1.noarch
sssd-ad-2.6.2-4.el8_6.1.x86_64
sssd-client-2.6.2-4.el8_6.1.x86_64
sssd-common-2.6.2-4.el8_6.1.x86_64
sssd-common-pac-2.6.2-4.el8_6.1.x86_64
sssd-dbus-2.6.2-4.el8_6.1.x86_64
sssd-ipa-2.6.2-4.el8_6.1.x86_64
sssd-kcm-2.6.2-4.el8_6.1.x86_64
sssd-krb5-common-2.6.2-4.el8_6.1.x86_64
sssd-nfs-idmap-2.6.2-4.el8_6.1.x86_64
sssd-tools-2.6.2-4.el8_6.1.x86_64
sssd-winbind-idmap-2.6.2-4.el8_6.1.x86_64

How reproducible:
100%

Steps to Reproduce:
1. man sssd.conf
2. search "dns_resolver"

Comment 1 Sunny Wu 2022-08-04 08:08:12 UTC
Seems not entirely the same.

An extra paragraph in the first occurrence:

dns_resolver_server_timeout (integer)

<...>

   The AD provider will use this option for the CLDAP ping timeouts as
   well.

Comment 2 jstephen 2022-08-17 20:33:19 UTC
Upstream PR: https://github.com/SSSD/sssd/pull/6309

Comment 3 Alexey Tikhonov 2022-09-23 12:24:35 UTC
Pushed PR: https://github.com/SSSD/sssd/pull/6309

* `master`
    * a2417753dfe612b09dfaa72e2c30ddabbc205a24 - MAN: Remove duplicate dns options

Comment 10 errata-xmlrpc 2023-05-09 08:19:51 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 (sssd 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-2023:2514