Freeradius crashes with Ubuntu init script

Alan DeKok aland at deployingradius.com
Wed Jan 21 21:54:43 CET 2009


lowbassman at gmail.com wrote:
> I can reliably reproduce crashing the freeradius 1.1.7

  Upgrade to 2.1.3.

> daemon on my
> Ubuntu Dapper box by sending it a dozen or so LDAP auth requests in a
> short period of time.  However, this only happens when freeradius is
> started with the Ubuntu init script that uses start-stop-daemon.  This
> simply runs:
> 
> start-stop-daemon --start --quiet --pidfile $PIDFILE --exec $PROGRAM
> 
> However, if I simply run "freeradius" or "freeradius -X" on the
> command line, the server doesn't crash.
> 
> When I run gdb, I see that freeradius is actually getting a TERM signal.
> 
> Has anyone seen this or know what's special about start-stop-daemon
> that would cause freeradius to exit?

  Ask Ubuntu.

  The 1.1.7 version doesn't handle signals very well.  If you need to
run a stable version, see 2.1.3.

  Alan DeKok.



More information about the Freeradius-Users mailing list