Bug 155331 - sysstat-6.0.2: Files under /var/log/sa will be erased during normal package updates
Summary: sysstat-6.0.2: Files under /var/log/sa will be erased during normal package u...
Status: RESOLVED WONTFIX
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Other (show other bugs)
Version: Beta 6
Hardware: i686 SuSE Linux 10.1
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Marian Jancar
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-05 22:05 UTC by frank hollmann
Modified: 2006-03-06 13:09 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 22:05:42 UTC
According to the Spec-File for sysstat the cleanup in %preun does:

%preun
rm -f %{_var}/log/sa/*

Performance Date should not be deleted while updating a package.

Suggestion:

%preun
case ${1} in
   0) 
      printf "%s\n" "Uninstalling %{name} - removing sar Data in %{_var}/log/sa"
      %{__rm} -f %{_var}/log/sa/*
      ;;
esac
Comment 1 Marian Jancar 2006-03-06 13:09:02 UTC
The file format is not compatible across different versions.