Following -current and using snapshots
Active OpenBSD development is known as the
These sources are frequently compiled into releases known as snapshots.
Active development sometimes pushes aggressive changes, and complications can
arise when building the latest code from a previous point in time.
Some of the shortcuts for getting over these hurdles are explained on this page.
In general, it's far better to use the
OpenBSD upgrade procedure
with a newer snapshot, as developers will have gone through the trouble for
Make sure you've read and understand how to
build the system from source
before using -current and the instructions below.
You should always use a snapshot as the starting point for running
Upgrading by compiling your own source code is not supported.
Most of these changes will have to be performed as root.
2016/03/07 - lpd(8) default spool directory change
top spool directory /var/spool/output is now only writable by root.
Point the sd path in
to a subdirectory where the daemon group has write access.
It defaults to /var/spool/output/lpd.
2016/03/19 - csu and ld.so update
The definitions of environ and __progname for dynamically
linked programs have been moved from the C startup code to
An updated ld.so must be built and installed before running
make SUBDIR= obj
make SUBDIR= depend
make SUBDIR= install
2016/03/31 - changes in wscons and synaptics
The previous version of the synaptics driver won't work with a new
version of the kernel. Touchpad users must rebuild that driver.
2016/04/01 - rcctl(8) syntax change
The keyword for listing enabled but stopped daemons with
has changed from faulty to failed.
rcctl ls failed
2016/04/24 - option WSDISPLAY_COMPAT_PCVT removed
The kernel option WSDISPLAY_COMPAT_PCVT and associated code have been removed.
You need an X server built after April 3 before booting a new kernel.
2016/04/26 - softraid metadata version changed
The current softraid metadata version has been incremented as part of
implementing support for sector sizes other than 512 bytes. Since on-disk
metadata is automatically updated every time a softraid volume is mounted,
once you mount a softraid volume on a current kernel that volume will no
longer be recognized by older kernels.
2016/04/28 - /dev/bpf[0-9] to be replaced with
Device cloning was enabled for bpf(4).
If you upgrade to -current from source, you need to run
to generate the new /dev/bpf device node after the build is complete.
cd /dev && ./MAKEDEV bpf
2016/05/02 - clean out /usr/share/man
Formerly, hard links were used to provide the same manpage under several
These hard links are no longer needed and may get in the way.
before upgrading to a new snapshot or building the system from source.
If you upgrade from source, don't forget the
rm -rf /usr/share/man
step before running make build.
cd /usr/src/etc && doas env DESTDIR=/ make distrib-dirs
$OpenBSD: current.html,v 1.672 2016/05/03 08:34:27 tb Exp $