[SSSD] [PATCH] Always close STDERR when daemonizing
Simo Sorce
ssorce at redhat.com
Mon Dec 14 19:58:38 UTC 2009
On Mon, 2009-12-14 at 13:42 -0500, Stephen Gallagher wrote:
> Fixes bug https://fedorahosted.org/sssd/ticket/324
>
> We were special-casing stderr and not closing it properly when we
> daemonized. I think this is because until fairly recently we were
> using
> stderr to direct debug messages to a log file. Now that we are
> correctly
> opening log files, we should properly direct STDERR to /dev/null.
>
> This fixes a bug with the authconfig integration where it would never
> return from the start command because it was still listening on the
> open
> STDERR handle.
ACK
Simo.
--
Simo Sorce * Red Hat, Inc * New York
More information about the sssd-devel
mailing list