Bug 234555 - logrotate policy of setroubleshoot-server package has bad path
logrotate policy of setroubleshoot-server package has bad path
Status: CLOSED DUPLICATE of bug 233760
Product: Fedora
Classification: Fedora
Component: setroubleshoot (Show other bugs)
i386 Linux
medium Severity medium
: ---
: ---
Assigned To: John Dennis
Ben Levenson
Depends On:
  Show dependency treegraph
Reported: 2007-03-29 23:02 EDT by Kenneth A. Redler
Modified: 2007-11-30 17:12 EST (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2007-03-30 07:15:36 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Kenneth A. Redler 2007-03-29 23:02:25 EDT
Description of problem:
The logrotate policy included with the setroubleshoot-server-1.9.4-1.fc7 package
has a faulty path.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
1. install setroubleshoot-server-1.9.4-1.fc7
2. execute the logrotate rule for the package
3. you get error mail
Actual results:
The email looks like this:
Date: Thu, 29 Mar 2007 12:41:57 -0500
From: Anacron <root@jireh.yhwh.com>
To: root@jireh.yhwh.com
Subject: Anacron job for 'jireh.yhwh.com' cron.daily

error: error accessing /usr/local/var/log/setroubleshoot: No such file or
error: setroubleshoot:1 glob failed for /usr/local/var/log/setroubleshoot/*.log
error: found error in /usr/local/var/log/setroubleshoot/*.log , skipping

Expected results:
There should be no error e-mail.
The path should be /var/log/setroubleshoot not /usr/local/var/log/setroubleshoot

Additional info:

The diff is as follows:

--- /etc/logrotate.d/setroubleshoot     2007-03-29 15:50:13.000000000 -0500
+++ /etc/logrotate.d/setroubleshoot.orig        2007-03-29 16:00:19.000000000 -0500
@@ -1,4 +1,4 @@
-/var/log/setroubleshoot/*.log {
+/usr/local/var/log/setroubleshoot/*.log {
     rotate 2
Comment 1 Kenneth A. Redler 2007-03-30 07:15:36 EDT

*** This bug has been marked as a duplicate of 233760 ***

Note You need to log in before you can comment on or make changes to this bug.