fca80533ae
In 2011, r218961 removed local code for rotating logs in favor of using the rotate_log command in etc/rc.d/accounting. If the accounting service is activated then subsequently de-activated in rc.conf but still remains active in periodic.conf, then you get an error message every day in the periodic jobs about being unable to rotate the logs. With this change to use "onerotate_log", the log rotation will happen the first time periodic daily runs after accounting was disabled but periodic accounting was left enabled. After that happens once, the /var/account/acct will no longer exist, which results in a different path through the periodic code and no more error messages will appear (unless daily_show_badconfig is set, in which case the admin will be told that periodic security processing is enabled but the accounting file is not present). This is only a partial fix for the problems reported in PR 202203. PR: 202203 |
||
---|---|---|
.. | ||
ac | ||
accton | ||
acpi | ||
adduser | ||
amd | ||
ancontrol | ||
apm | ||
apmd | ||
arp | ||
audit | ||
auditd | ||
auditdistd | ||
auditreduce | ||
authpf | ||
autofs | ||
bhyve | ||
bhyvectl | ||
bhyveload | ||
binmiscctl | ||
blacklistctl | ||
blacklistd | ||
bluetooth | ||
boot0cfg | ||
bootparamd | ||
bsdconfig | ||
bsdinstall | ||
bsnmpd | ||
btxld | ||
camdd | ||
cdcontrol | ||
chkgrp | ||
chown | ||
chroot | ||
ckdist | ||
clear_locks | ||
config | ||
cpucontrol | ||
crashinfo | ||
cron | ||
crunch | ||
ctladm | ||
ctld | ||
cxgbetool | ||
daemon | ||
dconschat | ||
devctl | ||
devinfo | ||
diskinfo | ||
dumpcis | ||
editmap | ||
edquota | ||
eeprom | ||
efibootmgr | ||
efidp | ||
efivar | ||
etcupdate | ||
extattr | ||
extattrctl | ||
fdcontrol | ||
fdformat | ||
fdread | ||
fdwrite | ||
fifolog | ||
flowctl | ||
fmtree | ||
freebsd-update | ||
fstyp | ||
ftp-proxy | ||
fwcontrol | ||
getfmac | ||
getpmac | ||
gpioctl | ||
gssd | ||
gstat | ||
hyperv | ||
i2c | ||
ifmcstat | ||
inetd | ||
iostat | ||
iovctl | ||
ip6addrctl | ||
ipfwpcap | ||
iscsid | ||
jail | ||
jexec | ||
jls | ||
kbdcontrol | ||
kbdmap | ||
keyserv | ||
kgmon | ||
kldxref | ||
lastlogin | ||
lpr | ||
lptcontrol | ||
mailstats | ||
mailwrapper | ||
makefs | ||
makemap | ||
manctl | ||
memcontrol | ||
mergemaster | ||
mfiutil | ||
mixer | ||
mld6query | ||
mlx5tool | ||
mlxcontrol | ||
mount_smbfs | ||
mountd | ||
moused | ||
mpsutil | ||
mptable | ||
mptutil | ||
mtest | ||
ndiscvt | ||
ndp | ||
newsyslog | ||
nfscbd | ||
nfsd | ||
nfsdumpstate | ||
nfsrevoke | ||
nfsuserd | ||
ngctl | ||
nghook | ||
nmtree | ||
nologin | ||
nscd | ||
ntp | ||
nvram | ||
ofwdump | ||
pc-sysinstall | ||
pciconf | ||
periodic | ||
pkg | ||
pmc | ||
pmcannotate | ||
pmccontrol | ||
pmcstat | ||
pmcstudy | ||
pnfsdscopymr | ||
pnfsdsfile | ||
pnfsdskill | ||
pnpinfo | ||
portsnap | ||
powerd | ||
ppp | ||
pppctl | ||
praliases | ||
praudit | ||
prometheus_sysctl_exporter | ||
pstat | ||
pw | ||
pwd_mkdb | ||
pwm | ||
quot | ||
quotaon | ||
rarpd | ||
repquota | ||
rip6query | ||
rmt | ||
route6d | ||
rpc.lockd | ||
rpc.statd | ||
rpc.umntall | ||
rpc.yppasswdd | ||
rpc.ypupdated | ||
rpc.ypxfrd | ||
rpcbind | ||
rrenumd | ||
rtadvctl | ||
rtadvd | ||
rtprio | ||
rtsold | ||
rwhod | ||
sa | ||
sendmail | ||
service | ||
services_mkdb | ||
sesutil | ||
setfib | ||
setfmac | ||
setpmac | ||
smbmsg | ||
snapinfo | ||
spi | ||
spkrtest | ||
spray | ||
syslogd | ||
sysrc | ||
tcpdchk | ||
tcpdmatch | ||
tcpdrop | ||
tcpdump | ||
tests | ||
traceroute | ||
traceroute6 | ||
trim | ||
trpt | ||
tzsetup | ||
uathload | ||
uefisign | ||
ugidfw | ||
uhsoctl | ||
unbound | ||
usbconfig | ||
usbdump | ||
utx | ||
vidcontrol | ||
vigr | ||
vipw | ||
wake | ||
watch | ||
watchdogd | ||
wlandebug | ||
wpa | ||
yp_mkdb | ||
ypbind | ||
ypldap | ||
yppoll | ||
yppush | ||
ypserv | ||
ypset | ||
zic | ||
zonectl | ||
zzz | ||
Makefile | ||
Makefile.amd64 | ||
Makefile.arm | ||
Makefile.arm64 | ||
Makefile.i386 | ||
Makefile.inc | ||
Makefile.mips | ||
Makefile.powerpc | ||
Makefile.riscv | ||
Makefile.sparc64 |