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 2006866 - sssd_be segfault due to empty forest root name
Summary: sssd_be segfault due to empty forest root name
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: sssd
Version: 7.9
Hardware: Unspecified
OS: Linux
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Sumit Bose
QA Contact: Dan Lavu
URL:
Whiteboard: sync-to-jira
: 2006400 2020786 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-22 14:51 UTC by Chino Soliard
Modified: 2024-12-20 21:09 UTC (History)
14 users (show)

Fixed In Version: sssd-1.16.5-10.el7_9.12
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-02-22 17:03:55 UTC
Target Upstream Version:
Embargoed:
pm-rhel: mirror+


Attachments (Terms of Use)
abrt dump (292 bytes, text/plain)
2021-09-22 14:51 UTC, Chino Soliard
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHELPLAN-97945 0 None None None 2021-09-22 14:52:10 UTC
Red Hat Issue Tracker SSSD-3962 0 None None None 2021-10-06 10:05:27 UTC
Red Hat Product Errata RHBA-2022:0627 0 None None None 2022-02-22 17:04:08 UTC

Description Chino Soliard 2021-09-22 14:51:49 UTC
Created attachment 1825343 [details]
abrt dump

Description of problem:

SSSD is unable to start with error:

    Sep 16 07:59:50 hostname sssd[be[example.net]]: Starting up
    Sep 16 07:59:50 hostname kernel: sssd_be[16795]: segfault at 0 ip 00007f452f9122a5 sp 00007ffe68725418 error 4 in libc-2.17.so[7f452f7cb000+1c4000]
    Sep 16 07:59:50 hostname abrt-hook-ccpp: Process 16795 (sssd_be) of user 0 killed by SIGSEGV - ignoring (repeated crash)
    Sep 16 07:59:54 hostname sssd[be[example.net]]: Starting up

__________________________________________________________________
[root@hostname ~]# sssctl config-check
Issues identified by validators: 0

Messages generated during configuration merging: 0

Used configuration snippet files: 0


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

System was RHEL7.5, then updated to RHEL7.9 and issue persist.
__________________________________________________________________
kernel-3.10.0-862.9.1.el7.x86_64                            Wed Jul 25 11:54:43 2018
kernel-3.10.0-1160.36.2.el7.x86_64                          Fri Aug 20 13:38:45 2021
kernel-3.10.0-1160.42.2.el7.x86_64                          Tue Sep 14 16:53:43 2021
kernel-headers-3.10.0-1160.42.2.el7.x86_64                  Tue Sep 14 16:54:23 2021
kernel-tools-3.10.0-1160.42.2.el7.x86_64                    Tue Sep 14 16:54:09 2021
kernel-tools-libs-3.10.0-1160.42.2.el7.x86_64               Tue Sep 14 16:53:39 2021
krb5-devel-1.15.1-50.el7.x86_64                             Fri Aug 20 13:36:37 2021
krb5-libs-1.15.1-50.el7.x86_64                              Fri Aug 20 13:35:38 2021
krb5-workstation-1.15.1-50.el7.x86_64                       Fri Aug 20 13:39:09 2021
openldap-2.4.44-24.el7_9.x86_64                             Tue Sep 14 16:53:04 2021
realmd-0.16.1-12.el7_9.1.x86_64                             Tue Sep 14 16:53:05 2021
samba-4.10.16-15.el7_9.x86_64                               Fri Aug 20 13:38:59 2021
samba-client-libs-4.10.16-15.el7_9.x86_64                   Fri Aug 20 13:36:15 2021
samba-common-4.10.16-15.el7_9.noarch                        Fri Aug 20 13:36:14 2021
samba-common-libs-4.10.16-15.el7_9.x86_64                   Fri Aug 20 13:36:14 2021
samba-common-tools-4.10.16-15.el7_9.x86_64                  Fri Aug 20 13:36:34 2021
samba-libs-4.10.16-15.el7_9.x86_64                          Fri Aug 20 13:36:34 2021
sssd-1.16.5-10.el7_9.10.x86_64                              Mon Sep  6 08:14:42 2021
sssd-ad-1.16.5-10.el7_9.10.x86_64                           Mon Sep  6 08:14:41 2021
sssd-client-1.16.5-10.el7_9.10.x86_64                       Mon Sep  6 08:14:41 2021
sssd-common-1.16.5-10.el7_9.10.x86_64                       Mon Sep  6 08:14:41 2021
sssd-common-pac-1.16.5-10.el7_9.10.x86_64                   Mon Sep  6 08:14:41 2021
sssd-dbus-1.16.5-10.el7_9.10.x86_64                         Mon Sep  6 08:14:42 2021
sssd-ipa-1.16.5-10.el7_9.10.x86_64                          Mon Sep  6 08:14:41 2021
sssd-krb5-1.16.5-10.el7_9.10.x86_64                         Mon Sep  6 08:14:42 2021
sssd-krb5-common-1.16.5-10.el7_9.10.x86_64                  Mon Sep  6 08:14:41 2021
sssd-ldap-1.16.5-10.el7_9.10.x86_64                         Mon Sep  6 08:14:42 2021
sssd-libwbclient-1.16.5-10.el7_9.10.x86_64                  Mon Sep  6 08:14:41 2021
sssd-proxy-1.16.5-10.el7_9.10.x86_64                        Mon Sep  6 08:14:42 2021
sssd-tools-1.16.5-10.el7_9.10.x86_64                        Mon Sep  6 08:14:42 2021

==================================================================
How reproducible:

    SSSD is failing at start.

==================================================================
Actual results:

    SSSD is failing at start.

==================================================================
Expected results:

    SSSD start and working.

==================================================================
Additional info:

abrt directory was shared. Let me know what files do you need since
file is larger than allowed.

Comment 8 Chino Soliard 2021-09-28 15:47:49 UTC
Sumit, 

I'm sorry, my mistake, I confused the file.
Also, apologize for the delay.

Latest sssd debug logs can be downloaded from dropbox.redhat.com:

    [RHST] The following attachment was uploaded to dropbox.redhat.com:

        03025155-sssd-debug_gemini_2021-09-23_094015.tar.gz

Also, I uploaded the file to gdrive:

https://drive.google.com/file/d/1eu6lht1KooCjryloQUNa_kGnvL7aPxxh/view?usp=sharing


Customer update:
 They are facing the same issue with a new server. Probably using the same sssd.conf file.
 This is impacting their bussiness.

Thanks in advance,

--
Chino Soliard

Comment 12 Sumit Bose 2021-10-08 16:38:24 UTC
Upstream ticket:
https://github.com/SSSD/sssd/issues/5820

Comment 13 Alexey Tikhonov 2021-10-11 09:12:43 UTC
*** Bug 2006400 has been marked as a duplicate of this bug. ***

Comment 14 Alexey Tikhonov 2021-11-19 11:58:00 UTC
Upstream PR: https://github.com/SSSD/sssd/pull/5883

Comment 15 Andre Boscatto 2021-12-02 14:27:09 UTC
*** Bug 2020786 has been marked as a duplicate of this bug. ***

Comment 16 Alexey Tikhonov 2021-12-10 17:24:08 UTC
1-16 backport: https://github.com/SSSD/sssd/pull/5909

Pushed PR: https://github.com/SSSD/sssd/pull/5909

* `sssd-1-16`
    * be3ee30c68dd9d2e5184da226dfbe66f516a4b92 - cldap: use dns_resolver_server_timeout timeout for cldap ping
    * ed243335d3e74ab2cde49eacc9a85ca5408a8dec - ad: only send cldap-ping to our local domain
    * 664ae9d2247b5139d2286975228baa0cea39a8e4 - ad: make ad_srv_plugin_ctx_switch_site() public
    * f60a6fc682646a8c16fa8875456300c61cf3e979 - ad: use already discovered forest name
    * ecfb7df52fd3b0edf8549d42cfa6b378407fb982 - ad: move current site and forest name to a more global context
    * 4b59b0af3d97b2a6b0acc08fa80377a5f59e5bfe - ad: require name when looking up root domain
    * 4b02c9632c44265124e4fa130170bc86de369b8c - SSSD man: man_dns_resolver_parameter_modification

Comment 23 errata-xmlrpc 2022-02-22 17:03:55 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-2022:0627


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