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.

Aggressive changes are sometimes pushed in this branch, and complications can arise when building the latest code or upgrading from a previous point in time. Some of the steps for getting over these hurdles are explained on this page. Make sure you've read and understand how to build the system from source before using -current and the instructions below.

In general, it's far easier to use snapshots, as developers will have gone through much of the trouble for you already.

You should always use a snapshot as the starting point for running -current. This process typically consists of running sysupgrade(8) with the -s flag. Alternatively, download (and verify) the appropriate bsd.rd file from the /snapshots/ directory of your preferred mirror, boot from it, and choose (U)pgrade at the prompt. Any installed packages should then be upgraded after booting into the new system.

Upgrading to -current by compiling your own source code is discouraged for everyone except for experts, as difficult build-time crossing-points can occur often, and no assistance will be provided. In case of failure, use a snapshot to recover.

Most of these changes will have to be performed as root.

2023/07/11 - [packages] databases/influxdb upgrade to v2.7

The databases/influxdb port was upgraded to a new major version, which has several impacts:

2023/07/26 - pfsync changes

pfsync(4) has been rewritten. In most cases, no change is needed, and the protocol is compatible with the older version, however if you are configuring it with a hostname.pfsync0 entry like up syncdev $interface (where the interface is brought up before configuring it), it must be rearranged so that the interface is configured first:

syncdev $interface

2023/09/01 - [packages] sysutils/borgbackup/1.2 update to 1.2.6

A flaw in the cryptographic authentication scheme in borgbackup<1.2.5 allowed an attacker to fake archives and potentially indirectly cause backup data loss in the repository. borgbackup>=1.2.5 enforces checking the TAM authentication tag of archives at critical places, and now considers archives without TAM as garbage or an attack.

Steps you must take to upgrade a repository are detailed in the documentation.

2023/09/06 - [packages] Tor Browser update to 12.5.3

As of the 12.5 release, torrc has been moved from ~/TorBrowser-Data/torrc to ~/TorBrowser-Data/Tor/torrc. If you wish to preserve your tor configuration (e.g., bridges), please do the following BEFORE starting tor-browser after you upgrade:

  $ mv ~/TorBrowser-Data/torrc ~/TorBrowser-Data/Tor

2023/09/09 - [packages] sysutils/borgbackup/1.1 removal

The 1.1 branch of borgbackup is end-of-life, and has been removed from ports. Upgrading packages using pkg_add -u will result in borgbackup-1.1.18 to be replaced by a release from the 1.2 branch, which at this time is borgbackup-1.2.6.

Before upgrading it is recommended to follow the upgrade notes.

2023/10/01 - [packages] Exim port changes

Exim's internal SPF support has been disabled due to a int underflow vulnerability in the library used for SPF processing. If using SPF checks directly in Exim you'll need to disable that part of configuration (you may be able to replace this with checks in spam filtering software; at least rspamd and spamassassin can do SPF checks).

Exim's AUTH_SPA (NTLM) support has been disabled in the port, to match upstream's default.

2023/10/05 - [packages] nextcloud 23 must be updated before upgrading

Since OpenBSD 7.3 was released, packages for Nextcloud 23 and 24 have been removed. As Nextcloud upgrades are only supported from one major version to the next, users of Nextcloud 23 must update to at least 24 before upgrading OpenBSD otherwise they will not be able to follow upstream's supported process. To do this, first backup your configuration and database, then pkg_delete nextcloud and pkg_add nextcloud selecting a 24.x release before following the usual Nextcloud upgrade procedure via the web interface or "occ upgrade".

$OpenBSD: current.html,v 1.1111 2023/10/05 14:22:03 sthen Exp $