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

Stephen Gallagher sgallagh at redhat.com
Mon Apr 27 12:24:52 UTC 2009


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.

-- 
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-Eliminate-segfault-on-NSS-and-PAM-responder-startup.patch
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20090427/6d674b3e/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/20090427/6d674b3e/attachment.sig>


More information about the Freeipa-devel mailing list