Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F178068386
D24415.1795885982.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
1 KB
Referenced Files
None
Subscribers
None
D24415.1795885982.diff
View Options
Index: libexec/rc/rc.conf
===================================================================
--- libexec/rc/rc.conf
+++ libexec/rc/rc.conf
@@ -707,6 +707,8 @@
newsyslog_flags="-CN" # Newsyslog flags to create marked files
mixer_enable="YES" # Run the sound mixer.
opensm_enable="NO" # Opensm(8) for infiniband devices defaults to off
+utx_enable="YES" # Write boot and shutdown time records to
+ # the user accounting database.
# rctl(8) requires kernel options RACCT and RCTL
rctl_enable="YES" # Load rctl(8) rules on boot
Index: libexec/rc/rc.d/utx
===================================================================
--- libexec/rc/rc.d/utx
+++ libexec/rc/rc.d/utx
@@ -12,6 +12,7 @@
name="utx"
desc="Manage the user accounting database"
+rcvar="utx_enable"
start_cmd="utx boot"
stop_cmd="utx shutdown"
Index: share/man/man5/rc.conf.5
===================================================================
--- share/man/man5/rc.conf.5
+++ share/man/man5/rc.conf.5
@@ -24,7 +24,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd March 25, 2020
+.Dd April 14, 2020
.Dt RC.CONF 5
.Os
.Sh NAME
@@ -4581,6 +4581,14 @@
removes empty
.Dq Li rc.conf.d
files.
+.It Va utx_enable
+.Pq Vt bool
+If set to
+.Dq Li NO ,
+then
+.Xr utx 8
+is not going to run on boot and shutdown to write time records to
+the user accounting database.
.El
.Sh FILES
.Bl -tag -width ".Pa /etc/defaults/rc.conf" -compact
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Sat, Nov 28, 5:13 PM (10 h, 47 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
42072252
Default Alt Text
D24415.1795885982.diff (1 KB)
Attached To
Mode
D24415: Add rcvar to rc.d/utx
Attached
Detach File
Event Timeline