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 783935

Summary: SSSD not functional after "self" reboot
Product: Red Hat Enterprise Linux 6 Reporter: Kemot1000 <kemot1000>
Component: sssdAssignee: Stephen Gallagher <sgallagh>
Status: CLOSED INSUFFICIENT_DATA QA Contact: IDM QE LIST <seceng-idm-qe-list>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.2CC: grajaiya, jgalipea, prc
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2012-03-01 15:23:04 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Kemot1000 2012-01-23 10:07:43 UTC
I have still problem with sssd not being functional after crush. Description in 

https://bugzilla.redhat.com/show_bug.cgi?id=748818

Below logs and steps that caused sssd not functional:

This is the time of crash and logs from /var/log/messages:
Jan 21 23:30:05 hostname sssd[be[MYDOMAIN]]: Shutting down
Jan 21 23:31:25 hostname sssd[pam]: Starting up
Jan 21 23:31:27 hostname sssd[pam]: Shutting down
Jan 21 23:31:29 hostname sssd[be[MYDOMAIN]]: Shutting down
Jan 21 23:32:29 hostname sssd[pam]: Starting up
Jan 21 23:32:30 hostname sssd[pam]: Starting up
Jan 21 23:32:31 hostname sssd[pam]: Starting up
Jan 21 23:32:32 hostname sssd[pam]: Starting up
Jan 22 01:02:52 hostname sssd[nss]: Starting up
Jan 22 01:02:53 hostname sssd[nss]: Starting up
Jan 22 01:02:54 hostname sssd[nss]: Starting up
Jan 22 01:02:55 hostname sssd[nss]: Starting up

This is the restart I did manually:
Jan 23 09:55:42 hostname sssd[be[MYDOMAIN]]: Shutting down
Jan 23 09:55:42 hostname sssd: Starting up
Jan 23 09:55:42 hostname sssd[be[MYDOMAIN]]: Starting up
Jan 23 09:55:42 hostname sssd[nss]: Starting up
Jan 23 09:55:42 hostname sssd[pam]: Starting up

And one more restart I did to check how this looks like when everything is fine:
Jan 23 10:31:41 hostname sssd[pam]: Shutting down
Jan 23 10:31:41 hostname sssd[nss]: Shutting down
Jan 23 10:31:41 hostname sssd[be[MYDOMAIN]]: Shutting down
Jan 23 10:31:41 hostname sssd: Starting up
Jan 23 10:31:42 hostname sssd[be[MYDOMAIN]]: Starting up
Jan 23 10:31:42 hostname sssd[nss]: Starting up
Jan 23 10:31:42 hostname sssd[pam]: Starting up

So as you can see sssd[be] was shutdown
Jan 21 23:31:29 hostname sssd[be[MYDOMAIN]]: Shutting down
but never brought up

current version:
[root@hostname sssd]# rpm -qa |grep sssd
sssd-client-1.5.1-66.el6_2.1.x86_64
sssd-1.5.1-66.el6_2.1.x86_64

Comment 2 Stephen Gallagher 2012-01-23 13:02:19 UTC
Would you please set debug_level = 4 in both the [sssd] section and [domain/MYDOMAIN] section of /etc/sssd/sssd.conf, restart SSSD and reproduce the error? Then attach /var/log/sssd/sssd.log and /var/log/sssd/sssd_MYDOMAIN.log (sanitized as needed) as private attachments to this bug?

Also, could you please use ABRT to report the crash, so we can get the backtrace and identify what's causing it.

Comment 3 Kemot1000 2012-01-26 08:41:48 UTC
I was waiting for this to happen again but it didn't till now. Main problem here is that module sssd[be[MYDOMAIN]] is not being reset correctly after crash. When I reported this for the first time only sssd[pam] was being restarted after crash now it looks that something was fixed since also sssd[nss] is rebooting according to logs (question is why this is happening 4 times for pam and nss modules? see logs above from Jan 21 23:32:00 and Jan 22 01:02:00 and why between pam module reset and nss module reset there is 1.5 hour gap ? )

Comment 4 Kemot1000 2012-01-26 08:49:23 UTC
I just realized that I put wrong link to the bug in my first post. It should be:

https://bugzilla.redhat.com/show_bug.cgi?id=740501

So those are logs from sssd 1.5.1-34.el6_1.3.x86_64

Oct 11 10:07:28 MYSERVER sssd[be[MYDOMAIN]]: Shutting down
Oct 11 10:07:28 MYSERVER  sssd[be[MYDOMAIN]]: Starting up
Oct 11 10:07:40 MYSERVER  sssd[nss]: Starting up
Oct 11 10:07:41 MYSERVER  sssd[nss]: Starting up
Oct 11 10:07:42 MYSERVER  sssd[nss]: Starting up
Oct 11 10:07:43 MYSERVER  sssd[nss]: Starting up

and those after crash when I' on version 1.5.1-66.el6_2.1.x86_64
Jan 21 23:31:27 hostname sssd[pam]: Shutting down
Jan 21 23:31:29 hostname sssd[be[MYDOMAIN]]: Shutting down
Jan 21 23:32:29 hostname sssd[pam]: Starting up
Jan 21 23:32:30 hostname sssd[pam]: Starting up
Jan 21 23:32:31 hostname sssd[pam]: Starting up
Jan 21 23:32:32 hostname sssd[pam]: Starting up
Jan 22 01:02:52 hostname sssd[nss]: Starting up
Jan 22 01:02:53 hostname sssd[nss]: Starting up
Jan 22 01:02:54 hostname sssd[nss]: Starting up
Jan 22 01:02:55 hostname sssd[nss]: Starting up

Comment 5 Stephen Gallagher 2012-01-26 12:55:22 UTC
Upstream ticket:
https://fedorahosted.org/sssd/ticket/1154

Comment 6 Stephen Gallagher 2012-01-27 18:40:39 UTC
Kemot1000, I requested in Comment #2 two pieces of information: the SSSD logs and the ABRT backtraces. Without that information, there is nothing I can do to help you.

All you're seeing in /var/log/messages is our automatic restart after an error. We try four times and then give up.

In addition to the information I mentioned in Comment #2, please also add debug_level = 4 to the [nss] and [pam] sections and include /var/log/sssd_nss.log and /var/log/sssd_pam.log.

Furthermore, please check /var/log/audit/audit.log for any SELinux denials that may have occurred at the same timestamp as those /var/log/messages "Starting up" lines.

Comment 7 Kemot1000 2012-02-02 15:38:15 UTC
I setup debug_level = 4 on all parts of sssd.conf. Will post output once I get this error again.

(In reply to comment #6)
> All you're seeing in /var/log/messages is our automatic restart after an error.
> We try four times and then give up.

Why there is such a long time between sssd[pam] restart and sssd[nss] (this has not been sanitized this is how I see those in the log with 1.5 hour gap)

> Jan 21 23:32:32 hostname sssd[pam]: Starting up
> Jan 22 01:02:52 hostname sssd[nss]: Starting up

Comment 8 Stephen Gallagher 2012-02-02 15:52:23 UTC
(In reply to comment #7)
> I setup debug_level = 4 on all parts of sssd.conf. Will post output once I get
> this error again.
> 
> (In reply to comment #6)
> > All you're seeing in /var/log/messages is our automatic restart after an error.
> > We try four times and then give up.
> 
> Why there is such a long time between sssd[pam] restart and sssd[nss] (this has
> not been sanitized this is how I see those in the log with 1.5 hour gap)
> 
> > Jan 21 23:32:32 hostname sssd[pam]: Starting up
> > Jan 22 01:02:52 hostname sssd[nss]: Starting up

Hmm, I have no idea why that would be happening. That's very strange.

Comment 9 Stephen Gallagher 2012-02-15 12:58:43 UTC
Still waiting on those debug logs

Comment 10 Kemot1000 2012-02-16 14:12:02 UTC
Will past all the logs once I replicate it.