>Synopsis: OpenBSD upgrade instructions should mention process accounting
>Category: FAQ - Upgrade Guide
>Environment:
System : OpenBSD 5.5
Details : OpenBSD 5.5 (GENERIC) #0: Sat May 3 16:39:14 MST 2014
[email protected]:/usr/src/sys/arch/amd64/compile/GENERIC
Architecture: OpenBSD.amd64
Machine : amd64
>Description:
The upgrade installer script and upgrade guide do not address the
file /var/account/acct (process accounting) which, due to the
time_t change, needs to be reset as part of the upgrade process,
just as /var/log/lastlog and /var/log/wtmp do.
>How-To-Repeat:
Enable process accounting (accton /var/account/accton) on an
OpenBSD 5.4 system and upgrade it to OpenBSD 5.5. The
output of the lastcomm command will illustrate the problem.
>Fix:
Use the same manual step as suggested for lastlog and wtmp, i.e.:
cp /dev/null /var/account/acct
before re-enabling process accounting.