Nicolas wrote:
we need close outfd right before return RLM_MODULE_FAIL; at line 236.
or get the fixes from CVS head which solve many other problems
in rlm_detail. (for example file renamed or unlinked by another
program)
Everyone will save a considerable amount of time if you could
open() executed once. but while we failed to get lock at first try,
close(outfd) executed and all the subsequent attempts to lock file
fails
i comment line 293 out.
I don't understand why this helps. We open the file at the beginning
of the do..while() loop, so it should be fine.
err.
hello, everybody.
my radius use a rlm_perl module, wich open and write some
informations to files. also it use rlm_detail but without locking.
2 days ago i add second rlm_detail to config with option
locking = yes.
since i got 2 files with corrupted datas which accessed by rlm_perl.
i think
Michael Chernyakhovsky wrote:
we need close outfd right before return RLM_MODULE_FAIL; at line 236.
... or get the fixes from CVS head which solve many other problems
in rlm_detail. (for example file renamed or unlinked by another
program)
Everyone will save a considerable amount of time if
4 matches
Mail list logo