Red Hat Bugzilla – Bug 453558
rkhunter cron job fails on fresh installs
Last modified: 2008-07-02 06:00:18 EDT
Description of problem:
/etc/cron.daily/rkhunter fails on fresh installs as it tried to create a file in
a non-existant directory. It tries to create a temp file in /var/rkhunter/tmp,
however that directory does not exist on fresh installs. This is not a problem
for users who upgrade from older versions, as that directory will exist from
their old package.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. On a machine that has not had rkhunter installed before, install it
2. run /etc/cron.daily/rkhunter
mktemp: cannot create temp file /var/rkhunter/tmp/rkhcronlog.Wsmbtw6761: No such
file or directory
It should run
This is fixed in 1.3.2-4.el5, which was built a bit ago, and just pushed today.
Can you try that version and confirm it works?
Latest version works for me.