rlm_sql_log removed?
Arran Cudbard-Bell
a.cudbardb at freeradius.org
Sun Dec 2 22:07:38 CET 2012
On 2 Dec 2012, at 15:04, Alan DeKok <aland at DEPLOYINGRADIUS.COM> wrote:
> Phil Mayers wrote:
>> Hmm. Are you sure the "rad_lockfd" locking scheme is compatible with the
>> one rlm_sql_log / radsqlrelay use(d)?
>
> It can be. :)
Yeah....
>
> It might be simpler to just make everything use fcntl locks. The
> rad_lockfd() code is a decade old. Many of the assumptions behind it
> may be no longer true.
>
> I'm OK with changing it to use fcntl locks.
Done, and rlm_sql always acquires a lock when writing to the log file.
-Arran
More information about the Freeradius-Devel
mailing list