Subject: bin/37467: accton(8) does not mentioned log rotation
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: Ben Wong <hackerb9@wongs.net>
List: netbsd-bugs
Date: 12/03/2007 10:10:00
	Note: There was a bad value `' for the field `Confidential'.
	It was set to the default value of `yes'.

>Number:         37467
>Category:       bin
>Synopsis:       accton(8) does not mentioned log rotation
>Confidential:   yes
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Dec 03 10:10:00 +0000 2007
>Originator:     Ben Wong
>Release:        NetBSD 3.0.1
>Organization:
None
>Environment:
	
	
System: NetBSD ursula.wongs.net 3.0.1 NetBSD 3.0.1 (GENERIC) #0: Thu Jul 13 23:43:47 UTC 2006 builds@b3.netbsd.org:/home/builds/ab/netbsd-3-0-1-RELEASE/i386/200607131826Z-obj/home/builds/ab/netbsd-3-0-1-RELEASE/src/sys/arch/i386/compile/GENERIC i386
Architecture: i386
Machine: i386
>Description:

The manual page for accton(8) is too sparse. It does not mention where
the default acct log file is for NetBSD nor how to rotate it. It
should at the least have a "See Also" for sa(8).


>How-To-Repeat:
man accton
>Fix:
	

I believe adding these sentences to the man page would help:

DESCRIPTION [append to old section]

The default accounting file in BSD is /var/account/acct. Typically,
accounting is enabled by rc scripts during the boot process. In
NetBSD, one may enable system accounting by setting the variable
"accounting" to YES in /etc/rc.conf. 

Note that, traditionally, the system accounting log file cannot be
rotated cleanly by newsylog(8). Instead, a default installation of
NetBSD rotates /var/account/acct using the /etc/daily script.

FILES
     /var/account/acct  Default accounting file.

SEE ALSO
     lastcomm(1), acct(5), sa(8)

>Unformatted: