[Pkg-sysvinit-devel] Bug#536574: shutdown: missing argument to accton
Thomas Viehweger
patchesthomas.vie at web.de
Sat Jul 11 09:41:44 UTC 2009
Package: sysvinit
Version: 2.86.ds1-61
Severity: minor
Tags: patch
accton now needs the parameter "off" to stop accounting. The default action is
not implemented anymore, which now gives the following error messages:
accton: no arguments
Usage: accton [OPTION] on|off|ACCOUNTING_FILE
Try 'accton --help' for more information.
My simple testcase: use init=/bin/bash as init process and then call
shutdown -fPnh now
Anyway, in my opinion it would be better to use the acct() call direct instead
of spawning a new process. This implements the attached patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: shutdown_acct.diff
Type: text/x-patch
Size: 432 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-sysvinit-devel/attachments/20090711/997ae3ef/attachment.bin>
More information about the Pkg-sysvinit-devel
mailing list