OpenBSD Following -current and using snapshots [FAQ Index]

Active OpenBSD development is known as the -current branch. 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 you already.

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 -current. 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

The lpd(8) top spool directory /var/spool/output is now only writable by root.
Point the sd path in printcap(5) to a subdirectory where the daemon group has write access. It defaults to /var/spool/output/lpd.

2016/03/19 - csu and update

The definitions of environ and __progname for dynamically linked programs have been moved from the C startup code to An updated must be built and installed before running make build.
cd /usr/src/libexec/
make SUBDIR= obj
make SUBDIR= depend
make SUBDIR=
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 rcctl(8) 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 /dev/bpf

Device cloning was enabled for bpf(4). If you upgrade to -current from source, you need to run
cd /dev && ./MAKEDEV bpf
to generate the new /dev/bpf device node after the build is complete.

2016/05/02 - clean out /usr/share/man

Formerly, hard links were used to provide the same manpage under several different names. These hard links are no longer needed and may get in the way. Issue
rm -rf /usr/share/man
before upgrading to a new snapshot or building the system from source. If you upgrade from source, don't forget the
cd /usr/src/etc && doas env DESTDIR=/ make distrib-dirs
step before running make build.

$OpenBSD: current.html,v 1.672 2016/05/03 08:34:27 tb Exp $