[users] logfile not created for rkhunter-1.2.9-2.el5.rf

Maarten Stolte datadevil at gmail.com
Thu Jan 17 09:44:59 CET 2008


Hello,

when installing rkhunter, it also makes sure its log can be rotated by
logrotate, but somewhere there seems to be a step missing, as
logrotate complains like this in its mail to root:

/etc/cron.daily/logrotate:

error: stat of /var/log/rkhunter.log failed: No such file or directory

I'm thinking this log is not created at first. It does exist now, so
there is something skewed between the first running of rkhunter and
the first running of logrotate, a fix would be to touch the file when
installing the rpm I guess?

regards,

Maarten



More information about the users mailing list