Fix a logging issue in Freeradius 3 on OpenWRT
Symptom
radiusd -X works, but when excuting service radiusd start does not start the process.
Root cause
Then I executed radiusd -C to check configuration.
“radiusd: Error: Failed to parse log{} section.” was given.
After disabling individual statement, I found the default logging option requests could not be parsed.
log {
requests = ${logdir}/radiusd-%{%{Virtual-Server}:-DEFAULT}-%Y%m%d.log
}
As said in the repo issues page,
requestsparam is flagged as deprecated.
Solution
Delete or comment out requests statement.