From marcs@riffraff.plig.net  Fri Apr  2 04:01:34 2004
Return-Path: <marcs@riffraff.plig.net>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id D36F816A4CE
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  2 Apr 2004 04:01:34 -0800 (PST)
Received: from riffraff.plig.net (riffraff.plig.net [195.40.6.40])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 986B443D2F
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  2 Apr 2004 04:01:34 -0800 (PST)
	(envelope-from marcs@riffraff.plig.net)
Received: from localhost (localhost [127.0.0.1])
	by riffraff.plig.net (Postfix) with ESMTP id EC93CFA36B
	for <FreeBSD-gnats-submit@freebsd.org>; Fri,  2 Apr 2004 13:01:33 +0100 (BST)
Received: from riffraff.plig.net ([127.0.0.1])
 by localhost (riffraff.plig.net [127.0.0.1]) (amavisd-new, port 10024)
 with LMTP id 86592-01-3 for <FreeBSD-gnats-submit@freebsd.org>;
 Fri,  2 Apr 2004 13:01:29 +0100 (BST)
Received: by riffraff.plig.net (Postfix, from userid 3010)
	id A1D1AFA39A; Fri,  2 Apr 2004 13:01:29 +0100 (BST)
Message-Id: <20040402120129.A1D1AFA39A@riffraff.plig.net>
Date: Fri,  2 Apr 2004 13:01:29 +0100 (BST)
From: Marc Silver <marcs@draenor.org>
Reply-To: Marc Silver <marcs@draenor.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: accton.8 patch
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         65071
>Category:       docs
>Synopsis:       accton.8 patch
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 02 04:10:16 PST 2004
>Closed-Date:    Fri Apr 16 11:35:21 CEST 2004
>Last-Modified:  Fri Apr 16 11:35:21 CEST 2004
>Originator:     Marc Silver
>Release:        FreeBSD 4.9-STABLE i386
>Organization:
>Environment:
System: FreeBSD riffraff.plig.net 4.9-STABLE FreeBSD 4.9-STABLE #5: Wed Mar 3 16:21:56 GMT 2004 keet@riffraff.plig.net:/usr/src/sys/compile/RIFFRAFF i386


>Description:
	The man page for accton(8) does not mention that the accounting 
	file must exist prior to starting process accounting.

>How-To-Repeat:
	man 8 accton

	accton /tmp/a_random_file_name
>Fix:

	Apply the following patch:

--- accton.8.orig	Fri Apr  2 13:58:57 2004
+++ accton.8	Fri Apr  2 14:00:20 2004
@@ -25,6 +25,13 @@
 .Xr sa 8
 command may be used to examine the accounting records.
 If no arguments are given, system accounting is disabled.
+.Pp
+The
+.Ar acctfile
+specified in the argument must exist prior to starting
+system accounting, or
+.Nm
+will return an error.
 .Sh FILES
 .Bl -tag -width /var/account/acct
 .It Pa /var/account/acct
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: brueffer 
State-Changed-When: Fri Apr 16 11:31:26 CEST 2004 
State-Changed-Why:  
I incorporated the changes into the main text, instead of 
starting a new paragraph. 

Thanks for the submission! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=65071 
>Unformatted:
