Red Hat Bugzilla – Bug 238850
logrotate script points to wrong log location
Last modified: 2007-11-30 17:12:03 EST
Description of problem:
The settroubleshoot logrotate configuration is broken. I see this in my daily
error: error accessing /usr/local/var/log/setroubleshoot: No such file or direct
error: setroubleshoot:1 glob failed for /usr/local/var/log/setroubleshoot/*.log
error: found error in /usr/local/var/log/setroubleshoot/*.log , skipping
Version-Release number of selected component (if applicable):
Every night this happens.
Steps to Reproduce:
1. Install settroubleshoot-server
2. Wait for cron.daily to run at 4am
3. Look in root's email
See the email above.
It should rotate the proper log
/etc/logrotate.d/settroubleshoot contains a broken pointer:
[root@pgpdev ~]# more /etc/logrotate.d/setroubleshoot
This should probably be /var/log/settroubleshoot/*.log and not
oops, this should be against devel, not test3. Sorry. This is against F7t4.
*** This bug has been marked as a duplicate of 233760 ***