Bug 450703

Summary: rkhunter cron job uses bad LOGFILE parameter
Product: [Fedora] Fedora Reporter: long
Component: rkhunterAssignee: Kevin Fenzi <kevin>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 8CC: devrim
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 1.3.2-4.fc9 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1089691 (view as bug list) Environment:
Last Closed: 2008-06-26 15:30:50 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description long 2008-06-10 15:14:10 UTC
Description of problem:
LOGFILE is set to /var/log/rkhunter.log in /etc/cron.daily/rkhunter while it is
set to /var/log/rkhunter/rkhunter.log in /etc/rkhunter.conf and in the logrotate
configuration

Version-Release number of selected component (if applicable):
rkhunter-1.3.2-3.fc8

How reproducible:
always

Steps to Reproduce:
1. install rkhunter-1.3.2-3.fc8
2. wait until nightly rkhunter run
3.
  
Actual results:
Get email saying:

/etc/cron.daily/logrotate:

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

Expected results:
No email should be sent saying logrotate can't find the log file

Additional info:

Comment 1 Kevin Fenzi 2008-06-10 16:57:37 UTC
Yes, this is a bug on my part... the cron file didn't get updated for f7/f8
properly. ;( 

I will get it fixed soon. 

Thanks for the bug report. 

Comment 2 Fedora Update System 2008-06-17 19:03:35 UTC
rkhunter-1.3.2-4.fc9 has been submitted as an update for Fedora 9

Comment 3 Fedora Update System 2008-06-17 19:15:15 UTC
rkhunter-1.3.2-4.fc8 has been submitted as an update for Fedora 8

Comment 4 Kevin Fenzi 2008-06-17 19:27:49 UTC
This should be fixed in the above updates... can you test them and confirm they
solve the issue you are seeing?


Comment 5 Fedora Update System 2008-06-20 19:05:44 UTC
rkhunter-1.3.2-4.fc8 has been pushed to the Fedora 8 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update rkhunter'.  You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F8/FEDORA-2008-5455

Comment 6 long 2008-06-24 18:09:03 UTC
The update appears to be working just fine. Thanks


Comment 7 Fedora Update System 2008-06-26 08:32:44 UTC
rkhunter-1.3.2-4.fc8 has been pushed to the Fedora 8 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 8 Fedora Update System 2008-06-26 08:33:29 UTC
rkhunter-1.3.2-4.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 9 Kevin Fenzi 2008-06-26 15:30:50 UTC
Closing this one now. Feel free to re-open or file a new bug if you spot any
further issues. 

Thanks for filing the bug!


Comment 10 Fedora Update System 2008-07-26 06:00:13 UTC
rkhunter-1.3.2-4.fc9 has been pushed to the Fedora 9 stable repository.  If problems still persist, please make note of it in this bug report.