[Freeipa-devel] [PATCH][SSSD] Fix race condition with initial sysdb creation

Stephen Gallagher sgallagh at redhat.com
Sat Mar 7 00:31:00 UTC 2009


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.

-- 
Stephen Gallagher
RHCE 804006346421761

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Fix-race-condition-with-initial-sysdb-creation.patch
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090306/6eeff54c/attachment.ksh>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 259 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090306/6eeff54c/attachment.sig>


More information about the Freeipa-devel mailing list