freebsd-skq/usr.sbin
ian fca80533ae Eliminate spurious periodic.daily error message for rotating accounting log.
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
2019-07-07 17:15:45 +00:00
..
ac
accton
acpi Merge ACPICA 20190329. 2019-03-29 20:21:28 +00:00
adduser
amd Convert amd newvers to using newvers.sh -v. 2019-05-23 17:18:56 +00:00
ancontrol
apm
apmd
arp
audit
auditd
auditdistd
auditreduce
authpf
autofs Fix segfault that could occur on "automount -LL". 2019-04-10 16:09:06 +00:00
bhyve bhyve: abstraction for network backends 2019-07-07 12:15:24 +00:00
bhyvectl
bhyveload
binmiscctl
blacklistctl
blacklistd
bluetooth
boot0cfg
bootparamd
bsdconfig
bsdinstall bsdinstall: up the interface before calling dhclient 2019-04-25 16:47:15 +00:00
bsnmpd No need for each bsnmpd(1) module to open connection to syslog 2019-06-21 07:45:58 +00:00
btxld
camdd Fix uninitialized variable in camdd 2019-06-09 02:06:31 +00:00
cdcontrol
chkgrp
chown
chroot chroot.8: Add examples & clean up 2019-03-14 14:34:36 +00:00
ckdist
clear_locks
config config: Only warn if duplicate option/device comes from the same file 2019-04-16 20:08:19 +00:00
cpucontrol
crashinfo
cron cron(8): schedule interval jobs that get loaded during execution 2019-04-20 02:54:20 +00:00
crunch
ctladm
ctld
cxgbetool
daemon daemon(8): Don't block SIGTERM during restart delay 2019-06-04 16:07:01 +00:00
dconschat
devctl Fix gcc warning about shadowed global. 2019-04-05 20:12:19 +00:00
devinfo
diskinfo
dumpcis
editmap
edquota
eeprom
efibootmgr efibootmgr: Do not add the new boot entry in dry-run is specified 2019-05-10 16:44:35 +00:00
efidp
efivar
etcupdate Move back group, master.passwd and shells to etc directory 2019-05-23 18:37:05 +00:00
extattr
extattrctl
fdcontrol
fdformat
fdread
fdwrite
fifolog
flowctl
fmtree
freebsd-update
fstyp
ftp-proxy
fwcontrol
getfmac
getpmac
gpioctl
gssd
gstat
hyperv
i2c Add a new 'tr' (transfer) mode to i2c(8) to support more i2c controllers. 2019-05-22 21:06:10 +00:00
ifmcstat
inetd
iostat In iostat(8) output, skip the decimal point and the fractional part 2019-06-16 17:32:05 +00:00
iovctl
ip6addrctl
ipfwpcap
iscsid
jail Change ed(4), ep(4), and fxp(4) examples to em(4). 2019-05-18 21:01:36 +00:00
jexec
jls
kbdcontrol kbdcontrol -h prints two error messages. 2019-06-24 21:05:14 +00:00
kbdmap
keyserv
kgmon
kldxref kldxref(8): Sort MDT_MODULE info first in linker.hints output 2019-05-27 17:33:20 +00:00
lastlogin
lpr Fix clang -Wcast-qual issues 2019-05-04 02:09:30 +00:00
lptcontrol
mailstats
mailwrapper
makefs makefs: Fix "time" mtree attribute handling 2019-03-18 19:26:36 +00:00
makemap
manctl
memcontrol
mergemaster Move back group, master.passwd and shells to etc directory 2019-05-23 18:37:05 +00:00
mfiutil
mixer
mld6query
mlx5tool Ensure that only one command is specified at a time in mlx5tool(8). 2019-05-08 11:05:30 +00:00
mlxcontrol
mount_smbfs
mountd Fix strsep_quote() on strings without quotes. 2019-06-25 17:00:53 +00:00
moused
mpsutil Pass data pointers to the driver in way in expects. 2019-05-30 15:07:39 +00:00
mptable
mptutil
mtest
ndiscvt
ndp
newsyslog
nfscbd
nfsd nfsd.8: Fix mandoc -Tlint and igor warnings 2019-05-09 19:03:52 +00:00
nfsdumpstate Add #ifdef INET6 around declaration of nbuf. 2019-04-28 22:37:59 +00:00
nfsrevoke
nfsuserd Delete the BUGS entry related to failing when jails are enabled. 2019-04-06 22:14:03 +00:00
ngctl
nghook
nmtree
nologin
nscd
ntp Replace the leap-seconds file in r347488 from USNO with a 2019-05-15 03:39:27 +00:00
nvram
ofwdump
pc-sysinstall
pciconf
periodic Eliminate spurious periodic.daily error message for rotating accounting log. 2019-07-07 17:15:45 +00:00
pkg Keep two versions of the FreeBSD.conf pkg configuration file; one which 2019-04-24 06:25:21 +00:00
pmc pmc: Fix stack std::string lifetime 2019-05-22 01:22:33 +00:00
pmcannotate
pmccontrol
pmcstat
pmcstudy
pnfsdscopymr
pnfsdsfile
pnfsdskill
pnpinfo
portsnap Remove INDEX-10 reference, as 10.x is now EoL. 2019-04-16 14:07:14 +00:00
powerd
ppp
pppctl
praliases
praudit
prometheus_sysctl_exporter
pstat
pw Remove an uneeded indentation introduced in r286196 to silence gcc warnging 2019-05-25 21:57:01 +00:00
pwd_mkdb
pwm Oops, it seems I left out the word 'cycle', fix it. 2019-06-18 02:27:30 +00:00
quot
quotaon
rarpd
repquota
rip6query
rmt
route6d
rpc.lockd
rpc.statd
rpc.umntall
rpc.yppasswdd rpc.yppasswdd: Fix dirname(3) usage after r305952. 2019-06-03 16:51:07 +00:00
rpc.ypupdated
rpc.ypxfrd
rpcbind
rrenumd
rtadvctl
rtadvd Retry upon NET_RT_IFLIST sysctl failure. 2019-04-30 14:44:39 +00:00
rtprio
rtsold
rwhod
sa
sendmail
service
services_mkdb Fix several places where tool name has been hardcoded: 2019-06-02 23:38:19 +00:00
sesutil
setfib
setfmac
setpmac
smbmsg
snapinfo
spi
spkrtest
spray
syslogd
sysrc Update the spelling of my name 2019-04-22 17:52:46 +00:00
tcpdchk
tcpdmatch
tcpdrop
tcpdump
tests
traceroute
traceroute6
trim trim(8): emit more user-friendly error message in verbose mode. 2019-03-15 14:42:23 +00:00
trpt
tzsetup
uathload
uefisign
ugidfw
uhsoctl
unbound
usbconfig
usbdump Fix parsing of corrupt data in usbdump(8). Check that the transfer 2019-06-25 13:15:29 +00:00
utx
vidcontrol Fix restoring the geometry when recovering from an error. Just restore the 2019-04-08 04:07:37 +00:00
vigr
vipw
wake
watch
watchdogd
wlandebug
wpa MFV r346563: 2019-04-23 03:52:43 +00:00
yp_mkdb
ypbind
ypldap
yppoll
yppush
ypserv
ypset
zic
zonectl
zzz
Makefile Remove NAND and NANDFS support 2019-06-25 04:50:09 +00:00
Makefile.amd64 Remove kgzip and kgzldr. 2019-05-24 05:34:21 +00:00
Makefile.arm
Makefile.arm64
Makefile.i386 Remove kgzip and kgzldr. 2019-05-24 05:34:21 +00:00
Makefile.inc
Makefile.mips
Makefile.powerpc
Makefile.riscv
Makefile.sparc64