kern/112652: radiusd exited on signal 10 when used with sql
authorization
Christian
lists at nerdbynature.de
Mon May 14 11:00:11 UTC 2007
>Number: 112652
>Category: kern
>Synopsis: radiusd exited on signal 10 when used with sql authorization
>Confidential: no
>Severity: serious
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Mon May 14 11:00:10 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Christian
>Release: 6.1-STABLE
>Organization:
>Environment:
reeBSD host 6.1-STABLE FreeBSD 6.1-STABLE #4: Thu May 11 17:48:43 CEST 2006 root at host:/usr/obj/usr/src/sys/bsd6-7 amd64
>Description:
[this is my first PR for FreeBSD, so please bear with me if I missed something]
I've set up a FreeRadius server on this amd64 machine wich is running just fine using flat files ("users") to do the authorization. Now I wanted to switch to a mysql backend (I've chosen "ldap" and "mysql" when I did "make" in the portsdir).
Radiusd starts just fine:
Info: rlm_eap_tls: Loading the certificate file as a chain
Info: rlm_sql (sql): Driver rlm_sql_mysql (module rlm_sql_mysql) loaded and linked
Info: rlm_sql (sql): Attempting to connect to root at localhost:/conusrdb
Info: rlm_sql_mysql: Starting connect to MySQL server for #0
Info: rlm_sql_mysql: Starting connect to MySQL server for #1
Info: rlm_sql_mysql: Starting connect to MySQL server for #2
Info: rlm_sql_mysql: Starting connect to MySQL server for #3
Info: rlm_sql_mysql: Starting connect to MySQL server for #4
Info: Ready to process requests.
But when it receives an auth-request id dies with:
kernel: pid 48382 (radiusd), uid 30323: exited on signal 10
(that's why I've chosen "kern" for "Category" of this PR)
>How-To-Repeat:
enable "sql" in radiusd.conf:
authorize {
...
sql
}
Have the NAS (Network Access Server, in my case a Netgear Wireless AP) send an Auth-Request to the AAA (radius server) and watch it die with:
kernel: pid 48382 (radiusd), uid 30323: exited on signal 10
Please see more details (incl. ktrace) here: http://nerdbynature.de/bits/radiusd/
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list