Bug 101574 - /usr/lib/sa/sa2 sometimes tries to remove /var/log/sa
Summary: /usr/lib/sa/sa2 sometimes tries to remove /var/log/sa
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: sysstat
Version: 7.1
Hardware: All
OS: Linux
medium
low
Target Milestone: ---
Assignee: Charlie Bennett
QA Contact: Brian Brock
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2003-08-04 09:25 UTC by Karl-Olov Serrander
Modified: 2007-04-18 16:56 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-01-13 16:17:59 UTC
Embargoed:


Attachments (Terms of Use)

Description Karl-Olov Serrander 2003-08-04 09:25:39 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.2) Gecko/20030716

Description of problem:
If the machine has been down for some time (a week or so) the
mod-time for /var/log/sa is older than 7 days so the find-command in
/usr/lib/sa/sa2 tries to remove /var/log/sa which gives a mail from cron to
handle. Adding "-type f" to the find-command solves the problem. The problem
exists in all newer versions of sysstat including
4.1.5. I have sent a mail to the author (al_jimenez) about this
problem.

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

How reproducible:
Always

Steps to Reproduce:
1. Touch /var/log/sa with a date older than 1 week
2. run /usr/lib/sa/sa2
3.
    

Additional info:

Comment 1 Karl-Olov Serrander 2003-10-02 09:59:29 UTC
I wrongly reported this as a bug in 7.3, it was a bug in 7.1 and is fixed in 7.3

Comment 2 Nils Philippsen 2004-01-13 16:17:59 UTC
Closing as CURRENTRELEASE for housekeeping purposes.


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