Hello,
Thanks to the --rootdir option, I'm able to use rkhunter to check
several Linux VServers; great. But... when I naively setup the
cronjobs to run at the same time, rkhunter behaves in a weird way,
providing results that are far different :
* from the ones I get when I run *one* rkhunter on the command line
* from the ones I get when I setup the cronjobs to run at different
times
Digging a bit into the 1.2.8 code, I've understood my problems come
from line 2188, where a temporary file is created without using mktemp
or similar to have its filename unique, which makes my different
rkhunter instances read and write simultaneously the same file... with
unpredictable results :] I've not checked if there are other
occurrences of this problem, or not.
As a workaround, I've setup my rkhunter cronjobs to run at different
times ; I'm not sure whether this has to be considered as a bug or
not, but at least rkhunter doc should tell it does not support
parallel run.
Ciao,
--
intrigeri <[EMAIL PROTECTED]>
_______________________________________________
Rkhunter-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rkhunter-users