summaryrefslogtreecommitdiffstats
path: root/src/util/util.h
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2010-11-30 11:50:05 -0500
committerStephen Gallagher <sgallagh@redhat.com>2010-12-02 13:17:59 -0500
commit2fe27a3f1230209248787bb2da9d633101248f05 (patch)
treedefbe63061a9ed1e360a3258fe89d50de0dedb21 /src/util/util.h
parent499db30832152fbd7050fd74036ed85deb669860 (diff)
downloadsssd2-2fe27a3f1230209248787bb2da9d633101248f05.tar.gz
sssd2-2fe27a3f1230209248787bb2da9d633101248f05.tar.xz
sssd2-2fe27a3f1230209248787bb2da9d633101248f05.zip
Set up signal handlers before initializing sysdb
A temporary signal handler for SIGTERM is set up in server_setup() that calls exit() from within a pure signal handler. This causes a race condition where it's possible that if the SSSD is restarted immediately while it is still initializing the sysdb caches for the first time, it can leave the cache in a corrupt and unusable state. https://bugzilla.redhat.com/show_bug.cgi?id=658444
Diffstat (limited to 'src/util/util.h')
0 files changed, 0 insertions, 0 deletions