2 Dec
2012
2 Dec
'12
4:07 p.m.
On 2 Dec 2012, at 15:04, Alan DeKok <aland@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