summaryrefslogtreecommitdiff
path: root/server/db/sysdb.h
diff options
context:
space:
mode:
authorStephen Gallagher <sgallagh@redhat.com>2009-03-06 19:28:24 -0500
committerStephen Gallagher <sgallagh@redhat.com>2009-03-07 09:06:49 -0500
commitecb8965f030eeb0cadf18394bccf8e760831e400 (patch)
tree4883be600468a2435a7447ce3d0dc9073b653ae2 /server/db/sysdb.h
parent4042b9855a353a5d0727e69ae8957cc7f7e7e9bb (diff)
downloadsssd-ecb8965f030eeb0cadf18394bccf8e760831e400.tar.gz
sssd-ecb8965f030eeb0cadf18394bccf8e760831e400.tar.bz2
sssd-ecb8965f030eeb0cadf18394bccf8e760831e400.zip
Fix race condition with initial sysdb creation
When the sysdb LDB file does not exist on the system, the first attempt to connect to it will invoke a creation routine. However, both the NSS and the InfoPipe are started in parallel by the monitor, resulting in a race condition as they both try to initialize the sysdb. The easiest fix for this is to simply have the monitor create the sysdb before it launches NSS and InfoPipe.
Diffstat (limited to 'server/db/sysdb.h')
0 files changed, 0 insertions, 0 deletions