[SSSD] [PATCH] Handle errors during log reopening better

Simo Sorce ssorce at redhat.com
Thu Nov 4 14:06:38 UTC 2010


On Thu, 04 Nov 2010 09:04:37 -0400
Stephen Gallagher <sgallagh at redhat.com> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> This patch makes two changes:
> 
> 1) If we receive an error from rotating the logs, add it to the syslog
> message
> 2) Check for EINTR when closing the debug file and retry.
> 
> This will either resolve https://fedorahosted.org/sssd/ticket/668 or
> at minimum help identify it.

This patch still doesn't reopen logs if fclose() fails for other
reasons than EINTR, is that what you meant ?

Simo.


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



More information about the sssd-devel mailing list