freebsd-skq/etc
dougb 7cea22540c Update how accounting log files are rotated.
The old version had a race between the time that the old file was
cp'ed to acct.0 and the time that 'sa -s' was run that prevented
the commands that occurred in the meantime from being backed up.

It's also arguable that the old version was inefficient in using
cp which can be a problem on a space-constrained system.

This version avoids both problems, albeit it's considerably more
complicated. The advantage of putting the log rotation in the rc.d
script is that it can handle the _enable and _file questions without
having to do gymnastics to discover either value in the periodic script.

As a side effect of reviewing the rc.d script I cleaned it up a bit.
2011-02-22 21:13:40 +00:00
..
bluetooth
defaults Replace nfs4 with newnfs in netfs_types. nfs4 was removed in r192578 and 2011-01-09 09:21:11 +00:00
devd Change usb devd events from fake attach to a notify. The ugen device is not a 2010-04-21 21:51:14 +00:00
etc.amd64 Remove pseudo-terminals from ttys(5). 2010-01-27 11:54:42 +00:00
etc.arm Remove pseudo-terminals from ttys(5). 2010-01-27 11:54:42 +00:00
etc.i386 Remove pseudo-terminals from ttys(5). 2010-01-27 11:54:42 +00:00
etc.ia64 Remove pseudo-terminals from ttys(5). 2010-01-27 11:54:42 +00:00
etc.mips Remove pseudo-terminals from ttys(5). 2010-01-27 11:54:42 +00:00
etc.pc98 Remove pseudo-terminals from ttys(5). 2010-01-27 11:54:42 +00:00
etc.powerpc Remove pseudo-terminals from ttys(5). 2010-01-27 11:54:42 +00:00
etc.sparc64 Remove pseudo-terminals from ttys(5). 2010-01-27 11:54:42 +00:00
gss Implement support for RPCSEC_GSS authentication to both the NFS client 2008-11-03 10:38:00 +00:00
mail o Add user 'hast'. 2011-01-31 07:47:28 +00:00
mtree Flesh out WITHOUT_GROFF support to DTRT. 2011-02-22 08:13:49 +00:00
namedb Add a note about AXFR of important zones being available from ICANN 2011-02-20 00:59:39 +00:00
pam.d tabify 2009-10-05 09:28:54 +00:00
periodic Update how accounting log files are rotated. 2011-02-22 21:13:40 +00:00
ppp Remove COMPILATIONDATE from the default section. This string is no longer 2010-02-16 01:07:06 +00:00
rc.d Update how accounting log files are rotated. 2011-02-22 21:13:40 +00:00
root Switch the default terminal emulation style to xterm for most platforms. 2009-11-13 05:54:55 +00:00
sendmail Minor changes to force commit these files so new freebsd*.cf files are 2010-01-26 04:44:12 +00:00
amd.map
apmd.conf
auth.conf
crontab Remove HOME= - this has surprised me several times in the past. 2009-06-14 06:37:19 +00:00
csh.cshrc
csh.login Change the commented msgs examples in profile/csh.login from -f to -q. 2010-05-15 17:49:56 +00:00
csh.logout
ddb.conf
devd.conf Fix typo in default config file. 2011-01-04 23:00:54 +00:00
devfs.conf
dhclient.conf
disktab
fbtab
freebsd-update.conf Add support for backing up the old kernel when installing a new kernel 2009-08-19 20:47:31 +00:00
ftpusers o Add user 'hast'. 2011-01-31 07:47:28 +00:00
gettytab Fix spelling of "weirdo" in /etc/gettytab comment. 2010-07-12 19:09:18 +00:00
group Add 'hast' user and 'hast' group that will be used by hastd (and maybe hastctl) 2011-01-28 22:28:12 +00:00
hosts
hosts.allow
hosts.equiv
hosts.lpd
inetd.conf Add -k to the recommended fingerd(8) command line. 2010-04-01 13:13:09 +00:00
libalias.conf
login.access
login.conf Remove vestiges of 'slip'. 2010-06-19 09:21:34 +00:00
mac.conf
Makefile Flesh out WITHOUT_GROFF support to DTRT. 2011-02-22 08:13:49 +00:00
man.alias
master.passwd Change hast user home directory to /var/empty. 2011-01-28 22:29:38 +00:00
minfree
motd
netconfig
netstart /etc/rc.d/network_ipv6 was deprecated. 2010-08-05 15:11:03 +00:00
network.subr Split $ipv6_prefer into $ip6addrctl_policy and $ipv6_activate_all_interfaces. 2010-09-13 19:55:40 +00:00
networks
newsyslog.conf Let rc and periodic infrastructure and newsyslog use the utmpx files. 2010-01-13 19:07:48 +00:00
nls.alias
nscd.conf
nsmb.conf
nsswitch.conf
ntp.conf 1) Use our vendor domain at the pool. 2009-07-13 05:51:33 +00:00
opieaccess
pccard_ether
pf.os
phones
portsnap.conf Remove INDEX-6 from the default portsnap configuration file; the 6.x index 2010-12-30 01:13:42 +00:00
printcap
profile Change the commented msgs examples in profile/csh.login from -f to -q. 2010-05-15 17:49:56 +00:00
protocols
rc
rc.bsdextended
rc.firewall Remove trailing white space. No functional changes. 2010-05-14 04:53:57 +00:00
rc.initdiskless Remove trailing white space. No functional changes. 2010-05-14 04:53:57 +00:00
rc.resume Consistently use full pathnames for external commands. 2010-08-13 21:23:13 +00:00
rc.sendmail
rc.shutdown Instead of killing the 'watchdog' subshell and leaving a sleep for 2009-01-25 10:31:45 +00:00
rc.subr Warn if rules could not be read from a ruleset file. Now at least 2011-01-07 10:59:22 +00:00
rc.suspend Consistently use full pathnames for external commands. 2010-08-13 21:23:13 +00:00
regdomain.xml Remove trailing white space. No functional changes. 2010-05-14 04:53:57 +00:00
remote Add ucomX shortcuts just like its uart sibling. 2008-10-27 17:19:14 +00:00
rpc
services Add for existing protocol entries the missing SCTP port allocations 2010-11-13 17:52:04 +00:00
shells
snmpd.config Add (disabled) sample configuration lines needed to enable snmp_target(3) module 2010-12-20 17:28:15 +00:00
sysctl.conf
syslog.conf syslog.conf: pop up from logging only ppp messages at the end of file 2009-06-11 15:07:02 +00:00
termcap.small Fix termcap entry typo. 2011-02-09 10:06:31 +00:00