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 1019285

Summary: sssd_be crashes sometime when installing ipa-client
Product: Red Hat Enterprise Linux 6 Reporter: Namita Soman <nsoman>
Component: sssdAssignee: Jakub Hrozek <jhrozek>
Status: CLOSED ERRATA QA Contact: Kaushik Banerjee <kbanerje>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.5CC: brian.murrell, dpal, grajaiya, jgalipea, ksiddiqu, lslebodn, mkosek, pbrezina, rmainz
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:
Do not document.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-10-14 04:46: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:
Bug Depends On: 1051164    
Bug Blocks: 1061410    
Attachments:
Description Flags
attaching back trace
none
verification steps with console output none

Description Namita Soman 2013-10-15 12:12:45 UTC
Created attachment 812471 [details]
attaching back trace

Description of problem:
When running the ipa-client-install test suite, sssd_be crashed. In matching timestamps, the test that was running at the time was to install client using preserve-sssd, and the uninstall of this client may have caused it. But wasn't able to replicate the crash again

Pavel took a look, and suggested it might be related to 
https://fedorahosted.org/sssd/ticket/1751

Version-Release number of selected component (if applicable):
sssd-1.9.2-128

How reproducible:
saw it once

Steps to Reproduce:
listed below in "additional info"


Actual results:
sssd_be crashed

Expected results:
no crash

Additional info:
The goal of the test is to install client using the option --preserve-sssd, and verify the install didn't overwrite it.

the steps are:
# cat /etc/sssd/sssd.conf
[sssd]
config_file_version = 2
domains = LDAP-KRB5
debug_level = 6
reconnection_retries = 3
services = nss, pam

[nss]
filter_groups = root
filter_users = root

[pam]

[domain/LDAP-KRB5]
id_provider = ldap
auth_provider = krb5
ldap_uri = ldap://<hostname>
debug_level = 9
krb5_server = ivanova.testrelm.com
krb5_realm = TESTRELM.COM

# chmod 0600 /etc/sssd/sssd.conf
# authconfig --enablesssd --enablesssdauth --updateall
# service sssd stop
# service sssd start
# perl -pi -e 's/EXAMPLE.COM/TESTRELM.COM/g' /etc/krb5.conf
# perl -pi -e 's/example.com/testrelm.com/g' /etc/krb5.conf
# perl -pi -e 's/kerberos.example.com/ivanova.testrelm.com/g' /etc/krb5.conf
# ls -lZ /etc/krb5.conf
# ipa-client-install --domain=testrelm.com --realm=TESTRELM.COM  -p admin -w <password>  --server=<hostname> --preserve-sssd
# ausearch -m avc -ts $AVCCHKTS -su root:system_r:sssd_t:s0 -o root:object_r:etc_t:s0 |grep name=\"krb5.conf\"|wc -l
# kinit admin
# ipa-client-install --uninstall
# mv /etc/sssd/sssd.conf /etc/sssd/sssd.conf.old.nk
# service ntpd stop
# ipa-client-install --uninstall
# hostname localhost.localdomain
# ipa-client-install --domain=testrelm.com --realm=TESTRELM.COM -p admin -w <password> --unattended --server=<hostname>

Comment 2 Jakub Hrozek 2013-10-17 09:08:54 UTC
Upstream ticket:
https://fedorahosted.org/sssd/ticket/1751

Comment 3 RHEL Program Management 2013-10-20 09:14:29 UTC
This request was not resolved in time for the current release.
Red Hat invites you to ask your support representative to
propose this request, if still desired, for consideration in
the next release of Red Hat Enterprise Linux.

Comment 4 Jakub Hrozek 2013-10-31 11:34:17 UTC
We have a workaround available, so I'm just marking this as assigned so far. I'd prefer to have a real fix.

Comment 5 Jakub Hrozek 2014-03-05 16:08:09 UTC
Fixed upstream: 3082504f4fb4e4efdc50c99369204e5b2cfac40e

Comment 7 Jakub Hrozek 2014-05-29 09:21:35 UTC
*** Bug 1068907 has been marked as a duplicate of this bug. ***

Comment 8 Kaleem 2014-07-11 13:51:20 UTC
Verified.

sssd, ipa-client rpm version:
=============================
[root@rhel66-client1 ~]# rpm -q ipa-client sssd
ipa-client-3.0.0-42.el6.x86_64
sssd-1.11.6-1.el6.x86_64
[root@rhel66-client1 ~]# 

Please find the attached console output as verification log.

Comment 9 Kaleem 2014-07-11 13:52:05 UTC
Created attachment 917317 [details]
verification steps with console output

Comment 10 errata-xmlrpc 2014-10-14 04:46: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, 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