-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
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.
- -- Stephen Gallagher RHCE 804006346421761
Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/
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.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 12/14/2009 02:58 PM, Simo Sorce wrote:
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.
Pushed to master and 1-0-0
- -- Stephen Gallagher RHCE 804006346421761
Delivering value year after year. Red Hat ranks #1 in value among software vendors. http://www.redhat.com/promo/vendor/
sssd-devel@lists.fedorahosted.org