Bug 155329

Summary: sysstat 6.0.2 - Bug in sysstat-6.0.2.diff
Product: [openSUSE] SUSE Linux 10.1 Reporter: frank hollmann <frank.hollmann>
Component: OtherAssignee: Marian Jancar <mjancar>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None CC: suse-beta
Version: Beta 6   
Target Milestone: ---   
Hardware: i686   
OS: Other   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

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