Bug 150474 - [patch] rc.d/accounting: Add ability to set location of sa data file
Summary: [patch] rc.d/accounting: Add ability to set location of sa data file
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: conf (show other bugs)
Version: unspecified
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-10 13:10 UTC by xaker1
Modified: 2017-12-31 22:32 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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