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 716905

Summary: sssd shuts down if inotify crashes
Product: Red Hat Enterprise Linux 6 Reporter: RHEL Program Management <pm-rhel>
Component: sssdAssignee: Stephen Gallagher <sgallagh>
Status: CLOSED ERRATA QA Contact: Chandrasekar Kannan <ckannan>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 6.2CC: benl, dpal, grajaiya, jgalipea, jwest, jzeleny, kbanerje, msanders, pm-eus, prc, sgallagh
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: sssd-1.5.1-34.el6_1.2 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-07-07 08:30:46 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:
Bug Depends On: 713438, 748847    
Bug Blocks:    

Description RHEL Program Management 2011-06-27 12:13:35 UTC
This bug has been copied from bug #713438 and has been proposed
to be backported to 6.1 z-stream (EUS).

Comment 3 Kaushik Banerjee 2011-06-28 10:49:56 UTC
Before the fix:

# service sssd status
sssd dead but subsys locked

/var/log/sssd/sssd.log showed:
(Tue Jun 28 12:29:34 2011) [sssd] [rewatch_config_file] (0): Could not restore inotify watch. Quitting!
(Tue Jun 28 12:29:34 2011) [sssd] [rewatch_config_file] (1): Could not add inotify watch for file [/etc/resolv.conf]. Error [9:Bad file descriptor]
(Tue Jun 28 12:29:34 2011) [sssd] [monitor_quit] (8): Received shutdown command
(Tue Jun 28 12:29:34 2011) [sssd] [monitor_quit] (0): Monitor received Terminated: terminating children
(Tue Jun 28 12:29:34 2011) [sssd] [monitor_quit] (1): Terminating [pam][12571]
(Tue Jun 28 12:29:34 2011) [sssd] [monitor_quit] (1): Child [pam] exited gracefully
(Tue Jun 28 12:29:34 2011) [sssd] [monitor_quit] (1): Terminating [nss][12570]
(Tue Jun 28 12:29:34 2011) [sssd] [monitor_quit] (1): Child [nss] exited gracefully
(Tue Jun 28 12:29:34 2011) [sssd] [monitor_quit] (1): Terminating [LDAP][12569]
(Tue Jun 28 12:29:34 2011) [sssd] [monitor_quit] (1): Child [LDAP] exited gracefully
(Tue Jun 28 12:29:34 2011) [sssd] [sbus_remove_watch] (8): 0xe27dc0/0xe16410


In version sssd-1.5.1-34.el6_1.2:

sssd does not exit anymore.
# service sssd status
sssd (pid  12769) is running...

/var/log/sssd/sssd.log shows:
(Tue Jun 28 15:52:40 2011) [sssd] [rewatch_config_file] (1): Could not add inotify watch for file [/etc/resolv.conf]. Error [28:No space left on device]
(Tue Jun 28 15:52:45 2011) [sssd] [rewatch_config_file] (0): Could not restore inotify watch. Switching to polling!
(Tue Jun 28 15:52:45 2011) [sssd] [monitor_update_resolv] (2): Resolv.conf has been updated. Reloading.


Verified in version:
# rpm -qi sssd | head
Name        : sssd                         Relocations: (not relocatable)
Version     : 1.5.1                             Vendor: Red Hat, Inc.
Release     : 34.el6_1.2                    Build Date: Mon 27 Jun 2011 06:23:24 PM IST
Install Date: Tue 28 Jun 2011 01:11:27 PM IST      Build Host: hs20-bc2-4.build.redhat.com
Group       : Applications/System           Source RPM: sssd-1.5.1-34.el6_1.2.src.rpm
Size        : 3463890                          License: GPLv3+
Signature   : (none)
Packager    : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL         : http://fedorahosted.org/sssd/
Summary     : System Security Services Daemon

Comment 4 errata-xmlrpc 2011-07-07 08:30:46 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0925.html