Bug 1509

Summary: breaks on 2.2 kernels
Product: [Retired] Red Hat Linux Reporter: Chris Ricker <chris.ricker>
Component: psacctAssignee: David Lawrence <dkl>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: high    
Version: 5.2Keywords: Security
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: 1999-03-14 19:35:32 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:

Description Chris Ricker 1999-03-14 13:47:13 UTC
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. */
#define HAVE_LINUX_ACCT_H

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.

later,
chris

Comment 1 Jeff Johnson 1999-03-14 19:35:59 UTC
*** This bug has been marked as a duplicate of 1225 ***

Comment 2 openshift-github-bot 2015-05-08 19:02:08 UTC
Commit pushed to master at https://github.com/openshift/origin

https://github.com/openshift/origin/commit/fefdf65261b6035a25f77bba51eee820c80ca2e2
Issue 1509 - fix usage error in openshift start