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

Simo Sorce ssorce at redhat.com
Mon Apr 27 20:12:59 UTC 2009


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

-- 
Simo Sorce * Red Hat, Inc * New York




More information about the Freeipa-devel mailing list