Bug 1225 - Kernel-2.2 patches need psacct package recompiled, too
Kernel-2.2 patches need psacct package recompiled, too
Product: Red Hat Linux
Classification: Retired
Component: psacct (Show other bugs)
All Linux
medium Severity medium
: ---
: ---
Assigned To: Mike A. Harris
: 1509 (view as bug list)
Depends On:
  Show dependency treegraph
Reported: 1999-02-18 01:02 EST by Bob Plankers
Modified: 2008-05-01 11:37 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 1999-03-18 17:51:57 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Bob Plankers 1999-02-18 01:02:47 EST
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 14:35:59 EST
*** 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 17:51:59 EST
fixed in psacct-6.3-7

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