[Freeipa-devel] [PATCH][SSSD] Eliminate startup segfault in NSS and PAM

Stephen Gallagher sgallagh at redhat.com
Mon Apr 27 20:30:46 UTC 2009


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

Simo Sorce wrote:
> On Mon, 2009-04-27 at 08:24 -0400, Stephen Gallagher wrote:
>> This is not a long-term fix, but it eliminates the segmentation fault
>> for now. A better fix would be to rewrite the monitor such that none
>> of
>> the other services are launched until the Data Provider is alive, but
>> that is much larger in scale. This will be done eventually, but I'm
>> trying to get this patch out in time for the Fedora Test Day.
>>
>> This patch will simply have sss_process_init() check whether the
>> dp_ctx
>> returned from sss_dp_init() is NULL, and return EIO if it is. This in
>> turn will cause the service to exit gracefully and allow the monitor
>> to
>> restart it. The time it takes to do so should be ample for the Data
>> Provider to finish loading.
> 
> ack
> 
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

iEYEARECAAYFAkn2FfMACgkQeiVVYja6o6OSiACdH9jPuwMYoDV4AHhwv4QVkYSw
al8AnRn1pufj6vWYip7FSX2gspPFyuXU
=wGVw
-----END PGP SIGNATURE-----




More information about the Freeipa-devel mailing list