From owner-freebsd-doc@FreeBSD.ORG Fri Apr 2 04:10:17 2004 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2DEC316A4CE for ; Fri, 2 Apr 2004 04:10:17 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0D26643D46 for ; Fri, 2 Apr 2004 04:10:17 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) i32CAGbv023163 for ; Fri, 2 Apr 2004 04:10:16 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.10/8.12.10/Submit) id i32CAGUv023162; Fri, 2 Apr 2004 04:10:16 -0800 (PST) (envelope-from gnats) Resent-Date: Fri, 2 Apr 2004 04:10:16 -0800 (PST) Resent-Message-Id: <200404021210.i32CAGUv023162@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-doc@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Marc Silver Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D36F816A4CE for ; 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 ; 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 ; 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 ; 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 To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: docs/65071: accton.8 patch X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Marc Silver List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Apr 2004 12:10:17 -0000 >Number: 65071 >Category: docs >Synopsis: accton.8 patch >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-doc >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Fri Apr 02 04:10:16 PST 2004 >Closed-Date: >Last-Modified: >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: >Unformatted: