Do

freeradius-mysql crash on freeradius startup

Bug #1888122 reported by János Milus
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Do
New
Undecided
Unassigned

Bug Description

Ubuntu 20.04 fresh install
Freeradius crash on startup with core dump.
libmysqlclient21 version 8.0.20-0ubuntu0.20.04.1
After downgrading libmysqlclient21 to 8.0.19-0ubuntu5 it works fine.

Revision history for this message
János Milus (jmilus) wrote :

/etc/freeradius/3.0/mods-enabled/sql file is:

sql {
        dialect = "mysql"
        driver = "rlm_sql_${dialect}"

        server = "localhost"
        port = 3306
        login = "radius"
        password = "XXXXXXXXXXXXXXXXX"

        radius_db = "radius"

        acct_table1 = "radacct"
        acct_table2 = "radacct"

        postauth_table = "radpostauth"

        authcheck_table = "radcheck"
        groupcheck_table = "radgroupcheck"

        authreply_table = "radreply"
        groupreply_table = "radgroupreply"

        usergroup_table = "radusergroup"

        delete_stale_sessions = yes

        pool {
                start = ${thread[pool].start_servers}
                min = ${thread[pool].min_spare_servers}
                max = ${thread[pool].max_servers}
                spare = ${thread[pool].max_spare_servers}
                uses = 0
                retry_delay = 30
                lifetime = 0
                idle_timeout = 60
        }

        read_clients = yes
        client_table = "nas"

        group_attribute = "SQL-Group"

        $INCLUDE ${modconfdir}/${.:name}/main/${dialect}/queries.conf
}

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.