Bug 150474

Summary: [patch] rc.d/accounting: Add ability to set location of sa data file
Product: Base System Reporter: xaker1 <admin>
Component: confAssignee: freebsd-bugs mailing list <bugs>
Status: Open ---    
Severity: Affects Only Me    
Priority: Normal    
Version: Unspecified   
Hardware: Any   
OS: Any   

Description xaker1 2010-09-10 13:10:01 UTC
We require the ability to change the location of data files with the sa (system accounting)

srv0# grep accounting_file /etc/rc.d/accounting
accounting_file="/var/account/acct"

change to

: ${accounting_file:="/var/account/acct"}

then we can set the file's location in rc.conf

Fix: 

srv0# grep accounting_file /etc/rc.d/accounting
accounting_file="/var/account/acct"

change to

: ${accounting_file:="/var/account/acct"}

then we can set the file's location in rc.conf
Comment 1 Gavin Atkinson freebsd_committer freebsd_triage 2010-09-20 21:10:19 UTC
Responsible Changed
From-To: freebsd-standards->freebsd-rc

Over to maintainer(s). This patch looks trivial, hopefully this is 
one that can be easily committed.
Comment 2 Doug Barton freebsd_committer 2012-02-17 07:49:03 UTC
If anyone tackles this make sure that equivalent changes are made in
/etc/periodic/daily/310.accounting
Comment 3 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 08:01:37 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped