Red Hat Bugzilla – Bug 512733
SSSD: Services are dead but pid file exists
Last modified: 2010-01-12 08:45:40 EST
Description of problem:
If you try to start SSSD services with an invalid sssd.conf file - example: no
domains configured. The service appears to start successfully and returns 0.
[root@localhost sssd]# service sssd start
Starting sssd: [ OK ]
[root@localhost sssd]# echo $?
[root@localhost sssd]# service sssd status
sssd dead but pid file exists
[root@localhost sssd]# ps -ef | grep sssd
root 11646 11544 0 11:36 pts/0 00:00:00 grep sssd
This is true for both Fedora 11 and RHEL 5.3.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. yum install sssd
2. do not edit sssd.conf file, but use default with no domains configured and
service sssd start
3. echo $?
4. service sssd status
5. ps -ef | grep sssd
Service appears to start successfully
return code status is 0
pid file is created even though service did not start
Appropriate error message
non 0 return code status
pid file not created
bug also filed with freeIPA for verification on RHEL
freeIPA bug is 512731
*** Bug 512731 has been marked as a duplicate of this bug. ***
Fixed in sssd-1.0.1-1.fc11
Fix has been verified and is regression tested with daily automated acceptance.