Bug 155329 - sysstat 6.0.2 - Bug in sysstat-6.0.2.diff
Summary: sysstat 6.0.2 - Bug in sysstat-6.0.2.diff
Status: RESOLVED FIXED
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Other (show other bugs)
Version: Beta 6
Hardware: i686 Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Marian Jancar
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-05 21:55 UTC by frank hollmann
Modified: 2006-03-27 11:30 UTC (History)
1 user (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description frank hollmann 2006-03-05 21:55:19 UTC
The old sar-File will never be deleted:

+find SA_DIR \( -name 'sar.??' -o -name 'sa.??' \) -mtime +"${HISTORY}" -exec rm -f {} \;

The sar-Files under /var/log/sa will be created as sa(r).yyyy>_mm_dd  The find command should therefore be written as:

+find SA_DIR \( -name 'sar.????_??_??' -o -name 'sa.????_??_??' \) -mtime +"${HISTORY}" -exec rm -f {} \;


An additional suggestion:
A configuration File (etc/sysconfig/sysstat) will be sourced in /usr/lib/sa/sa2.  This configuration File should be integrated into the rpm-package.
Comment 1 Marian Jancar 2006-03-27 11:30:34 UTC
fixed