OpenBSD Upgrade 6.7 to 6.8
- Infrastructure and operations
- Published
- 2 min read
- @nabbisen
Table of contents
Summary Summary
The latest OpenBSD (opens in a new tab) OS is now 6.8 (opens in a new tab) ✨ which was released on 18 Oct 2020.

Moody artwork 😊

Almost all what to do is what nice sysupgrade (opens in a new tab) which first appeared in 6.6 will do automatically and thankfully.
By the way, httpd.conf (opens in a new tab) might have to be paid attention to, because the grammar about fastcgi has been changed (opens in a new tab)… 👀
Tutorial Tutorial
Here is a step-by-step guide for the upgrade with a set of the commands to run.
- Pre-upgrade
- Upgrade
- Post-upgrade
- Follow configuration changes
- Remove old files
- Special packages
1. Pre-upgrade 1. Pre-upgrade
$ # validate available disk size of /usr is greater than 1.1GB
$ df -h
2. Upgrade 2. Upgrade
$ doas sysupgrade
$ # Reboot automatically,
$ # and the sysupgrade process continues.
$ # The login message will be "OpenBSD 6.8 (GENERIC)" next time.
3. Post-upgrade 3. Post-upgrade
$ doas sysmerge
$ # There is a case when something happens, which is not always. In my case, I had sometimes to merge /etc/login.conf and so on.
$ doas syspatch; doas pkg_add -u
$ doas reboot
$ # Almost done!
What to do after pkg_add -u is due to the server. For example, in one of my servers, running doas crontab -u _mailman /usr/local/lib/mailman/cron/crontab.in was required to update /var/cron/tabs/_mailman.
4. Follow configuration changes 4. Follow configuration changes
Check the official documentation (opens in a new tab) if you use some of:
- httpd.conf(5) (opens in a new tab)
- ldapd(8) (opens in a new tab)
- snmpd.conf(5) (opens in a new tab)
- npppd.conf(5) (opens in a new tab)
5. Remove old files 5. Remove old files
$ doas rm -f /usr/lib/libperl.a
$ doas rm /usr/X11R6/lib/libxkbui.* \
/usr/X11R6/lib/pkgconfig/xkbui.pc \
/usr/X11R6/include/X11/extensions/XKBui.h
The descriptions are here (opens in a new tab).
6. Special packages 6. Special packages
Check the documentaion (opens in a new tab) if you use some of:
- net/isc-bind
- www/goaccess
Wish you happy time with OBSD 😊
More on: Upgrade and maintain OpenBSD
-
The OpenBSD official documentation says:
-
This post is about a single option around OpenBSD’s rcctl, utility to “configure and control daemons and services”.
OBSD Solutions
OBSD Solutions: OpenBSD consulting and support by Scqr, Reflerd Inc. (opens in a new tab)
Comments and feedback are welcome.