Using freeradius-0.9.3 on NetBSD without thread support. When I kill -HUP radiusd, it exits, logging "Error: Unexpected error in select(): No child processes". This is due to src/main/radiusd.c revision 1.282, which added a waitpid() call after select() to clean up zombies. waitpid() clobbers the value of errno, which is then checked to see how the select() failed.

The attached patch simply saves the value of errno immediately after select(). It is made against 0.9.3, and would conflict a bit with CVS, but it's pretty obvious what to do here.

Also, for what it's worth, the cvsweb CGI on www.freeradius.org is giving cvs errors when I try to view a particular revision of a file (but diffs and logs are working):

Error: Unexpected output from cvs co: /usr/local/bin/cvs: invalid option -- l Usage: cvs [cvs-options] command [command-options-and-arguments]

--Robby

Attachment: freeradius_errno.patch
Description: Binary data

Reply via email to