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

Stephen Gallagher sgallagh at redhat.com
Sat Mar 7 14:09:41 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Simo Sorce wrote:
> "Stephen Gallagher" <sgallagh at redhat.com> wrote:
> 
>> 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.
> 
> ack
> 
> Simo.

Pushed to master

- --
Stephen Gallagher
RHCE 804006346421761

Looking to carve out IT costs?
www.redhat.com/carveoutcosts/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iEYEARECAAYFAkmygCUACgkQeiVVYja6o6OpeQCeKGQZeCEAJdKCsjg41ukeygsX
DoQAn0FBeqz1whMkNzRSzRCrJjHxeTc+
=gs8L
-----END PGP SIGNATURE-----




More information about the Freeipa-devel mailing list