freeradius config needs freeradius-mysql

Bug #430730 reported by Marc Deslauriers on 2009-09-16
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
freeradius (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: freeradius

freeradius refuses to start without the freeradius-mysql package being installed:

From the output of "freeradius -X":

{snip}
including configuration file /etc/freeradius/modules/acct_unique
including configuration file /etc/freeradius/modules/wimax
including configuration file /etc/freeradius/modules/krb5
including configuration file /etc/freeradius/eap.conf
including configuration file /etc/freeradius/sql.conf
including configuration file /etc/freeradius/sql/mysql/dialup.conf
Unable to open file "/etc/freeradius/sql/mysql/dialup.conf": No such file or directory
Errors reading /etc/freeradius/radiusd.conf

Steps to reproduce:

1- apt-get install freeradius (do _not_ install freeradius-mysql)
2- /etc/init.d/freeradius start
3- notice the daemon is not running
4- /usr/sbin/freeradius -X

Related branches

Marc Deslauriers (mdeslaur) wrote :

This is an issue in intrepid, jaunty and karmic.

Chuck Short (zulcss) wrote :

I can confirm this as well.

Regards
chuck

Changed in freeradius (Ubuntu):
status: New → Confirmed
Chuck Short (zulcss) wrote :

Ok this is retarded, the default config for freeradius has sql enabled. If the freeradius-mysql module is not installed you will get the error as shown. Patch coming shortly.

Regards
chuck

Changed in freeradius (Ubuntu):
status: Confirmed → In Progress
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package freeradius - 2.1.0+dfsg-0ubuntu7

---------------
freeradius (2.1.0+dfsg-0ubuntu7) karmic; urgency=low

  * raddb/radiusd.conf.in: Dont enable sql by default. (LP: #430730)

 -- Chuck Short <email address hidden> Thu, 17 Sep 2009 13:12:55 -0400

Changed in freeradius (Ubuntu):
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers