Bug 101574
| Summary: | /usr/lib/sa/sa2 sometimes tries to remove /var/log/sa | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Karl-Olov Serrander <m11172> |
| Component: | sysstat | Assignee: | Charlie Bennett <ccb> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Brian Brock <bbrock> |
| Severity: | low | Docs Contact: | |
| Priority: | medium | ||
| Version: | 7.1 | CC: | nphilipp |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2004-01-13 16:17:59 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
I wrongly reported this as a bug in 7.3, it was a bug in 7.1 and is fixed in 7.3 Closing as CURRENTRELEASE for housekeeping purposes. |
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: