diff options
author | Pavel Březina <pbrezina@redhat.com> | 2012-10-18 10:16:06 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2012-11-06 12:02:45 +0100 |
commit | 715e09ece039af851b96bcf1861c4fff6169d499 (patch) | |
tree | 9abe9ea33beb1e0e251c079372c385fd249f0a62 /src/tests/simple_access-tests.c | |
parent | e02ec7366b7ab4c1eae82fdaca8bbe136bde36c0 (diff) | |
download | sssd-715e09ece039af851b96bcf1861c4fff6169d499.tar.gz sssd-715e09ece039af851b96bcf1861c4fff6169d499.tar.bz2 sssd-715e09ece039af851b96bcf1861c4fff6169d499.zip |
exit original process after sssd is initialized
https://fedorahosted.org/sssd/ticket/1357
Neither systemd or our init script use pid file as a notification
that sssd is finished initializing. They will continue starting up
next service right after the original (not daemonized) sssd process
is terminated.
If any of the responders fail to start, we will never terminate
the original process via signal and "service sssd start" will hang.
Thus we take this as an error and terminate the daemon with
a non-zero value. This will also terminate the original process
and init script or systemd will print failure.
Diffstat (limited to 'src/tests/simple_access-tests.c')
0 files changed, 0 insertions, 0 deletions