Red Hat Bugzilla – Bug 37431
pacct accton init script chkconfig
Last modified: 2008-05-01 11:38:00 EDT
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.4.2-2 i686)
process accounting should have chkconfig manageability
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
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
Hate to post a "me too", but please please please, yes! This should be a
fairly simple and straightforward change to make, neh? :)
Looking into a solution for next release.
Still in 7.2.
I installed psacct on my laptop to have its documentation available there. Now
psacct is starting at every boot unconditionally, accesses the harddisk
frequently and prevents it to go into suspend mode.
 because of
---- /etc/rc.sysinit ---
| # Turn on process accounting
| if [ -x /sbin/accton ] ; then
| action $"Turning on process accounting" /sbin/accton /var/log/pacct
Ok, I have finally put a bullet in this giant hard-disk-filling,
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.