Debian Bug report logs - #18314
'acct' not working under 2.1.x development kernels

version graph

Package: acct; Maintainer for acct is Debian QA Group <packages@qa.debian.org>; Source for acct is src:acct.

Reported by: "Roy C. Bixler" <rcb@press.uchicago.edu>

Date: Tue, 17 Feb 1998 22:03:05 UTC

Severity: normal

Merged with 24085

Found in version 6.3.5-3

Done: unknown

Bug is archived. No further changes may be made.

Forwarded to Noel Cragg <noel@red-bean.com>

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org:
Bug#18314. Full text and rfc822 format available.

Acknowledgement sent to "Roy C. Bixler" <rcb@press.uchicago.edu>:
New bug report received and forwarded.

Your message didn't have a Package: line at the start (in the pseudo-header following the real mail header), or didn't have a psuedo-header at all.

This makes it much harder for us to categorise and deal with your problem report; please ensure that you say which package(s) and version(s) the problem is with next time. Some time in the future the problem reports system may start rejecting such messages.

Full text and rfc822 format available.


Message #5 received at submit@bugs.debian.org (full text, mbox):

From: "Roy C. Bixler" <rcb@press.uchicago.edu>
To: submit@bugs.debian.org
Subject: 'acct' not working under 2.1.x development kernels
Date: Tue, 17 Feb 1998 15:56:41 -0600
[Message part 1 (text/plain, inline)]
The 'lastcomm' command gives corrupted results on a system running Linux
kernel 2.1.87 and glibc 2.0.7.  Attached is a relevant message I saw in
the linux-kernel mailing list.  It seems to me I agree that a kernel
structure change would account for this problem in acct_6.3-1.

Here are some sample results:

press-160% lastcomm |head
b                      root     ??         0.00 secs Wed Dec 31 18:00
?                      root     ??         0.00 secs Wed Dec 31 18:00
scp                    root     ??         0.00 secs Wed Dec 31 18:00
                       67       ??       65537.02 secs Fri Jan  2 06:24
                       root     ??       969934.91 secs Fri Jan 16 16:17
???4                   24931    ??       19005.67 secs Mon May 19 20:46
                       root     ??       19446351.06 secs Wed Dec 31
18:00
                       root     ??         0.00 secs Wed Dec 31 18:00
                       bin      ??       65536.00 secs Tue Feb 17 15:41
                       20       ??       8877516.69 secs Wed Dec 31
18:00


Roy Bixler
rcb@press.uchicago.edu
[acct.txt (text/plain, inline)]
From owner-linux-kernel-outgoing@vger.rutgers.edu Tue Feb 17 13:56:50 1998
Received: from entropy.muc.muohio.edu ([134.53.193.10]:11699 "EHLO entropy.muc.muohio.edu" ident: "root") by press-gopher.uchicago.edu with ESMTP id <41658-13978>; Tue, 17 Feb 1998 13:55:41 -0600
Received: from vger.rutgers.edu (root@vger.rutgers.edu [128.6.190.2])
	by entropy.muc.muohio.edu (8.8.7/8.8.7) with ESMTP id OAA24219;
	Tue, 17 Feb 1998 14:40:28 -0500
Received: by vger.rutgers.edu id <970939-28533>; Tue, 17 Feb 1998 14:08:31 -0500
Received: from ppp75.206.redestb.es ([195.122.206.75]:26882 "EHLO phoenix.ea4els.ampr.org" ident: "TIMEDOUT") by vger.rutgers.edu with ESMTP id <970974-28533>; Tue, 17 Feb 1998 13:25:25 -0500
Received: (from news@localhost)
	by phoenix.ea4els.ampr.org (8.8.7/8.8.7) id TAA00659
	for linux-kernel@vger.rutgers.edu; Tue, 17 Feb 1998 19:28:06 +0100
Received: (from INN)
	by phoenix.ea4els.ampr.org (news2mail-1.16 run by news)
	for linux-kernel@vger.rutgers.edu; Tue Feb 17 18:28:00 1998 GMT
From:	"B. James Phillippe" <bryan@Terran.ORG>
Subject: [2.1.current] BSD psacct & <sys/acct.h>
Date:	17 Feb 1998 19:27:50 +0100
Message-ID: <Pine.LNX.3.96.980216222459.5145A-100000@earth.terran.org>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Delivered-To: sjmudd@phoenix.ea4els.ampr.org
X-Subliminal-Message: Use Linux
X-Gateway-Administrator: Gateway Administrator <sjmudd@redestb.es>
To:	linux-kernel@vger.rutgers.edu
Sender: owner-linux-kernel@vger.rutgers.edu
Precedence: bulk
X-Loop: majordomo@vger.rutgers.edu
Return-Path: <owner-linux-kernel-outgoing@vger.rutgers.edu>
X-Orcpt: rfc822;rcb@press-gopher.uchicago.edu
Status: RO
X-Status: 

Hello,

	I'm running a very current RedHat 5.0 system (uses glibc), with
process accounting.  I've noted that in 2.1.x, the userland process
accounting tools are seriously broken (due to changes in the format of the
pacct file, I believe).  I have tracked the problem to the existance of
<linux/acct.h> and <sys/acct.h>.  On my machine both are present.  I've
looked through the source to acct, and it appears that the build process
prefers <sys/acct.h> over <linux/acct.h>, and this is what is causing the
incompatibility.  I have rebuilt acct with <sys/acct.h> temporarily
unavailable, and now acct tools all work like a charm.  My question is,
what is the right solution?  Should the acct package preference the Linux
includes over the <sys> ones?

thanks,
-bp
--
B. James Phillippe <bryan@terran.org>
Linux Software Engineer, WGT Inc.
http://w3.terran.org/~bryan


Reply sent to Dirk Eddelbuettel <edd@debian.org>:
You have marked bug as forwarded. Full text and rfc822 format available.

Message #8 received at 18314-forwarded@bugs.debian.org (full text, mbox):

From: Dirk Eddelbuettel <edd@debian.org>
To: Noel Cragg <noel@red-bean.com>
Cc: 18314-forwarded@bugs.debian.org, "Roy C. Bixler" <rcb@press.uchicago.edu>
Subject: forwarded message from Roy C. Bixler
Date: Tue, 17 Feb 1998 22:01:12 -0500 (EST)
[Message part 1 (text/plain, inline)]
Noel,

Long time no bugreport ;-) Are you still following the kernel development as
closely as you used to? If so, you're probably aware of the following
problem.

Let me know if there is something I can do to help with the Debian package.

Cheers, Dirk

[Message part 2 (message/rfc822, inline)]
From: "Roy C. Bixler" <rcb@press.uchicago.edu>
To: submit@bugs.debian.org
Subject: Bug#18314: 'acct' not working under 2.1.x development kernels
Date: Tue, 17 Feb 1998 15:56:41 -0600
[Message part 3 (text/plain, inline)]
The 'lastcomm' command gives corrupted results on a system running Linux
kernel 2.1.87 and glibc 2.0.7.  Attached is a relevant message I saw in
the linux-kernel mailing list.  It seems to me I agree that a kernel
structure change would account for this problem in acct_6.3-1.

Here are some sample results:

press-160% lastcomm |head
b                      root     ??         0.00 secs Wed Dec 31 18:00
?                      root     ??         0.00 secs Wed Dec 31 18:00
scp                    root     ??         0.00 secs Wed Dec 31 18:00
                       67       ??       65537.02 secs Fri Jan  2 06:24
                       root     ??       969934.91 secs Fri Jan 16 16:17
???4                   24931    ??       19005.67 secs Mon May 19 20:46
                       root     ??       19446351.06 secs Wed Dec 31
18:00
                       root     ??         0.00 secs Wed Dec 31 18:00
                       bin      ??       65536.00 secs Tue Feb 17 15:41
                       20       ??       8877516.69 secs Wed Dec 31
18:00


Roy Bixler
rcb@press.uchicago.edu
[acct.txt (text/plain, inline)]
>From owner-linux-kernel-outgoing@vger.rutgers.edu Tue Feb 17 13:56:50 1998
Received: from entropy.muc.muohio.edu ([134.53.193.10]:11699 "EHLO entropy.muc.muohio.edu" ident: "root") by press-gopher.uchicago.edu with ESMTP id <41658-13978>; Tue, 17 Feb 1998 13:55:41 -0600
Received: from vger.rutgers.edu (root@vger.rutgers.edu [128.6.190.2])
	by entropy.muc.muohio.edu (8.8.7/8.8.7) with ESMTP id OAA24219;
	Tue, 17 Feb 1998 14:40:28 -0500
Received: by vger.rutgers.edu id <970939-28533>; Tue, 17 Feb 1998 14:08:31 -0500
Received: from ppp75.206.redestb.es ([195.122.206.75]:26882 "EHLO phoenix.ea4els.ampr.org" ident: "TIMEDOUT") by vger.rutgers.edu with ESMTP id <970974-28533>; Tue, 17 Feb 1998 13:25:25 -0500
Received: (from news@localhost)
	by phoenix.ea4els.ampr.org (8.8.7/8.8.7) id TAA00659
	for linux-kernel@vger.rutgers.edu; Tue, 17 Feb 1998 19:28:06 +0100
Received: (from INN)
	by phoenix.ea4els.ampr.org (news2mail-1.16 run by news)
	for linux-kernel@vger.rutgers.edu; Tue Feb 17 18:28:00 1998 GMT
From:	"B. James Phillippe" <bryan@Terran.ORG>
Subject: [2.1.current] BSD psacct & <sys/acct.h>
Date:	17 Feb 1998 19:27:50 +0100
Message-ID: <Pine.LNX.3.96.980216222459.5145A-100000@earth.terran.org>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Delivered-To: sjmudd@phoenix.ea4els.ampr.org
X-Subliminal-Message: Use Linux
X-Gateway-Administrator: Gateway Administrator <sjmudd@redestb.es>
To:	linux-kernel@vger.rutgers.edu
Sender: owner-linux-kernel@vger.rutgers.edu
Precedence: bulk
X-Loop: majordomo@vger.rutgers.edu
Return-Path: <owner-linux-kernel-outgoing@vger.rutgers.edu>
X-Orcpt: rfc822;rcb@press-gopher.uchicago.edu
Status: RO
X-Status: 

Hello,

	I'm running a very current RedHat 5.0 system (uses glibc), with
process accounting.  I've noted that in 2.1.x, the userland process
accounting tools are seriously broken (due to changes in the format of the
pacct file, I believe).  I have tracked the problem to the existance of
<linux/acct.h> and <sys/acct.h>.  On my machine both are present.  I've
looked through the source to acct, and it appears that the build process
prefers <sys/acct.h> over <linux/acct.h>, and this is what is causing the
incompatibility.  I have rebuilt acct with <sys/acct.h> temporarily
unavailable, and now acct tools all work like a charm.  My question is,
what is the right solution?  Should the acct package preference the Linux
includes over the <sys> ones?

thanks,
-bp
--
B. James Phillippe <bryan@terran.org>
Linux Software Engineer, WGT Inc.
http://w3.terran.org/~bryan


Bug assigned to package `acct'. Request was from jdassen@wi.leidenuniv.nl to control@bugs.debian.org. Full text and rfc822 format available.

Merged 18314 24085. Request was from Dirk Eddelbuettel <edd@debian.org> to control@bugs.debian.org. Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Nov 9 09:46:15 2009; Machine Name: duarte.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.