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 1086264

Summary: sssd hangs on restart and sssd_be consumes 100% cpu on s390x and ppc64 archs
Product: Red Hat Enterprise Linux 6 Reporter: Kaushik Banerjee <kbanerje>
Component: sssdAssignee: Jakub Hrozek <jhrozek>
Status: CLOSED ERRATA QA Contact: Kaushik Banerjee <kbanerje>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.5CC: dpal, grajaiya, jgalipea, kbanerje, lslebodn, mkosek, pbrezina, preichl, spoore
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sssd-1.11.5.1-1.el6 Doc Type: Bug Fix
Doc Text:
No Documentation Needed
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-14 04:48:23 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 Kaushik Banerjee 2014-04-10 13:39:35 UTC
Description of problem:
sssd hangs on restart and sssd_be consumes 100% cpu

Version-Release number of selected component (if applicable):
sssd-1.9.2-129.el6

How reproducible:
Very often on ppc64 and s390x archs

Steps to Reproduce:
1. sssd.conf has
[sssd]
config_file_version = 2
services = nss, pam
domains = sssdad2012.com

[domain/sssdad2012.com]
id_provider = ad
auth_provider = ad
ad_domain = sssdad2012.com
ad_server = kauwin.sssdad2012.com


2. Restart sssd


Actual results:
sssd_be consumes 100% cpu and restart hangs.

Expected results:


Additional info:

Comment 2 Jakub Hrozek 2014-04-17 09:36:18 UTC
Kaushik, could you please try if killing the sssd_be process (kill -SEGV $(pidof sssd_be)) still hangs the process with 1.11 ?

Comment 3 Kaushik Banerjee 2014-04-24 10:43:49 UTC
Tested on RHEL6.6 with sssd version 1.11.5.1-1.el6.ppc64

I added a (kill -SEGV $(pidof sssd_be) in the automation script. But sssd seems to recover from this forced

Comment 4 Jakub Hrozek 2014-04-24 11:31:46 UTC
(In reply to Kaushik Banerjee from comment #3)
> Tested on RHEL6.6 with sssd version 1.11.5.1-1.el6.ppc64
> 
> I added a (kill -SEGV $(pidof sssd_be) in the automation script. But sssd
> seems to recover from this forced

Then I would propose to either fix this bug or mark is as fixed with the rebase.

I remember a couple of fixes upstream that were arch-specific (the bool/dbus_bool_t issue comes to mind).

Thank you for testing!

Comment 5 Jakub Hrozek 2014-05-15 11:57:32 UTC
I meant to say 'close' this bug instead of 'fix' earlier. Per comment #3 the recovery is fixed in 1.11.

Kauhshik, can you qa_ack this bug since you alredy amended the automation? Then I would include the bug in the 6.6 errata.

Comment 6 Jakub Hrozek 2014-05-22 10:11:47 UTC
This was fixed in a rebase.

Comment 7 Jakub Hrozek 2014-06-02 08:17:37 UTC
*** Bug 1102874 has been marked as a duplicate of this bug. ***

Comment 9 Kaushik Banerjee 2014-07-09 04:39:18 UTC
Verified with sssd-1.11.6-1.el6.ppc64

sssd recovers from a forced crash.

Comment 10 errata-xmlrpc 2014-10-14 04:48:23 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, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-1375.html