Bug 133395 - sysstat spec creates broken cron entries on biarch systems
Summary: sysstat spec creates broken cron entries on biarch systems
Alias: None
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: sysstat
Version: 3.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Ivana Varekova
QA Contact: Brian Brock
Depends On:
Blocks: FC3Target
TreeView+ depends on / blocked
Reported: 2004-09-23 18:18 UTC by Charlie Bennett
Modified: 2007-11-30 22:07 UTC (History)
1 user (show)

Fixed In Version: sysstat-5.0.11.rhel3
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2006-08-03 11:42:37 UTC

Attachments (Terms of Use)

Description Charlie Bennett 2004-09-23 18:18:57 UTC
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.4.3)

Description of problem:
in the sysstat .spec file are the following lines:

%ifarch x86_64 ppc64 s390x
perl -pi -e "s|/lib|/lib64|g" %{SOURCE1}

this patched the file in SOURCES/sysstat.cron

that file in the srpm now reads:

[chrismcc@valhalla SRPMS]$ cat ../SOURCES/sysstat.crond
# run system activity accounting tool every 10 minutes
*/10 * * * * root /usr/lib64/sa/sa1 1 1
# generate a daily summary of process accounting at 23:53
53 23 * * * root /usr/lib64/sa/sa2 -A

running it again will yield a broken cron

e.g.  /usr/lib6464/sa/sa1 1 1  on a 64 bit platform 

%ifarch x86_64 ppc64 s390x
perl -pi -e "s|/lib|/lib64|g" %{buildroot}/etc/cron.d/sysstat

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

How reproducible:

Steps to Reproduce:
Hey, this even includes a fix.

Additional info:

Comment 1 Charlie Bennett 2004-09-23 18:22:23 UTC
Factored out of bug 104266 for independent tracking

Comment 2 Charlie Bennett 2004-09-30 20:02:19 UTC
The sysstat-5.0.5 planned for the next release has a fix for this bug.

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