Bug 37431 - pacct accton init script chkconfig
Summary: pacct accton init script chkconfig
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: psacct
Version: 7.1
Hardware: i386
OS: Linux
Target Milestone: ---
Assignee: Mike A. Harris
QA Contact:
Keywords: FutureFeature
Depends On:
TreeView+ depends on / blocked
Reported: 2001-04-24 14:22 UTC by Mike Sklar
Modified: 2008-05-01 15:38 UTC (History)
3 users (show)

Clone Of:
Last Closed: 2001-12-12 23:32:14 UTC

Attachments (Terms of Use)

Description Mike Sklar 2001-04-24 14:22:52 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.2-2 i686)

process accounting should have chkconfig manageability

Reproducible: Always
Steps to Reproduce:
1. Boot your machine
2. Process accounting is now running (if installed)
3. There only way to turn it off is to run "accton" manually. Which is in
itself unintuitive.

Actual Results:  Process accounting is no longer running, but on next boot
it will be on again.

Expected Results:  Process accounting should be managed through a init
script. Some machines generate such a load that the log files from process
accounting become large and unweidly.

accton is already in the halt script, but it needs to be configured as its
own start/stop init script

Comment 1 Daniel Roesen 2001-04-24 19:33:55 UTC
Strongly ACKed

Comment 2 Chris Rode 2001-04-25 22:55:42 UTC
Hate to post a "me too", but please please please, yes!  This should be a 
fairly simple and straightforward change to make, neh? :)

Comment 3 Mike A. Harris 2001-05-02 19:24:27 UTC
Looking into a solution for next release.

Comment 4 Enrico Scholz 2001-12-12 23:32:08 UTC
Still in 7.2.

I installed psacct on my laptop to have its documentation available there. Now
psacct is starting at every boot unconditionally[1], accesses the harddisk
frequently and prevents it to go into suspend mode.

[1] because of 
     ---- /etc/rc.sysinit ---
    | # Turn on process accounting
    | if [ -x /sbin/accton ] ; then
    |    action $"Turning on process accounting" /sbin/accton /var/log/pacct
    | fi

Comment 5 Mike A. Harris 2002-03-12 12:25:30 UTC
Ok, I have finally put a bullet in this giant hard-disk-filling,
laptop-non-suspending annoyance.

psacct 6.3.2-15 in rawhide now has a standalone initscript.  You'll
need initscripts 6.55 as well which I've removed the accton calls from.

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