Bug 1225

Summary: Kernel-2.2 patches need psacct package recompiled, too
Product: [Retired] Red Hat Linux Reporter: Bob Plankers <plankers>
Component: psacctAssignee: Mike A. Harris <mharris>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.2CC: chris.ricker
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 1999-03-18 22:51:57 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Bob Plankers 1999-02-18 06:02:47 UTC
The kernel-2.2 directory on updates.redhat.com does not
include an updated psacct package, which breaks when RH 5.2
is upgraded to 2.2.x. A recompile, subsituting the acct.h
that is included with the 2.2.x kernels, seems to work for
me. Otherwise, the commands return garbage and often dump

Comment 1 Jeff Johnson 1999-03-14 19:35:59 UTC
*** Bug 1509 has been marked as a duplicate of this bug. ***

psacct needs to be updated for 2.2 kernels.  However,
the caveat is that the autoconf script for it is broken.
After doing a ./configure, the config.h looks like:

/* Define if you have the <linux/acct.h> header file. */
/* #undef HAVE_LINUX_ACCT_H */

instead of the necessary

/* Define if you have the <linux/acct.h> header file. */

so, in addition to recompiling against 2.2 headers, you'll
also either need to patch the autoconf stuff or else add
a kludge to sed the config.h after it's generated.

Ask away if you have more questions.  BTW, I'm assuming
this is true for all architectures; I've only noticed it
on i386, but because of why it broke, it should be true
on everything.


Comment 2 Bill Nottingham 1999-03-18 22:51:59 UTC
fixed in psacct-6.3-7