Bug 716905 - sssd shuts down if inotify crashes
Summary: sssd shuts down if inotify crashes
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sssd
Version: 6.2
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: rc
: ---
Assignee: Stephen Gallagher
QA Contact: Chandrasekar Kannan
URL:
Whiteboard:
Depends On: 713438 748847
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-27 12:13 UTC by RHEL Program Management
Modified: 2015-01-04 23:49 UTC (History)
11 users (show)

Fixed In Version: sssd-1.5.1-34.el6_1.2
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-07-07 08:30:46 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2011:0925 0 normal SHIPPED_LIVE sssd bug fix update 2011-07-07 08:30:41 UTC

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


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