[FAQ Index]
Following -current
Table of Contents
Introduction
This document is for people who wish to follow -current.
It contains information about changes from 4.3-release to -current,
and should NOT be used by anyone upgrading from 4.2 or earlier, or people
wishing to follow -stable.
If you wish to update to 4.3-release or 4.3-stable from previous
versions, see the upgrade guide.
Make sure you have read and understood
FAQ 5 - Building 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.
If you wish to see upgrade information for earlier versions of OpenBSD,
see upgrade-old.html.
This is provided as a historical record -- it should NOT be used as
an upgrade procedure guide.
2008/03/23 - cwm configuration and command line options changed
The cwm(1) window manager got a new config parser, so the configuration
needs to be changed according to
cwmrc(5).
The command line option "-f" (font) and "-s" (sticky) were replaced by
config directives.
Remove these options from your .xsession, or your xdm(1) login will
fail!
2008/03/28 - landisk shared libraries enabled
To switch from static build on landisk to shared it is necessary to first
build and install gcc and ld.so before building the rest of the system:
# cd /usr/src/gnu/usr.bin/gcc
# make -f Makefile.bsd-wrapper obj
# make -f Makefile.bsd-wrapper depend
# make -f Makefile.bsd-wrapper
# make -f Makefile.bsd-wrapper install
# cd /usr/src/share/mk
# make install
# cd /usr/src/libexec/ld.so
# make obj
# make depend
# make
# make install
Then follow the
release(8):
directions to build the full system.
2008/04/21 - command line options for rtadvd(8) changed
The rtadvd(8)
IPv6 router advertisement daemon had the command line options
"-f" (foreground), "-d" (debug) and "-D"
(even more debug).
These options were merged to -d which does the same now as the
combination of the three old options and is more OpenBSD-like.
2008/05/08 - file(1) updated, needs new /etc/magic
file(1)
has been updated to a newer version which requires a new
magic(5)
file to be installed:
# cd /tmp
# ftp ftp://mirror/path/to/snapshots/arch/etc43.tgz
# tar xzpf etc43.tgz ./etc/magic
# mv etc/magic /etc
2008/05/22 - spamd(8) sync mode protocol version changed
The protocol that spamd(8)
uses when run in sync mode was changed to fix a number of bugs and the
protocol version was incremented.
Because of this, new versions of spamd can not sync with old versions
(they will skip packets from one another).
Therefore all instances in a spamd sync group must be upgraded at the
same time.
2008/06/06 - httpd(8) manual moved
The Apache manual for
httpd(8)
has been moved out of /var/www/htdocs/manual/ to
/usr/share/doc/html/httpd/.
It has also been moved from the etcXX set to the miscXX
file set.
2008/06/07 - support for dhcpd.interfaces removed
Support for /etc/dhcpd.interfaces has been removed.
The file has been deprecated in favor of the dhcpd_flags
setting in /etc/rc.conf.local.
2008/06/09 - nmeaattach(8) removed
The
nmeaattach(8)
command and the nmeaattach_flags option in /etc/rc.conf have been
removed in -current.
Use
ldattach(8) instead.
It has a slightly different synopsis than nmeaattach(8): nmeaattach
cuaU0 becomes ldattach nmea cuaU0.
2008/06/09 New user and group _rtadvd
rtadvd(8)
daemon now drops privileges after initialization to a new user and group _rtadvd.
As root, add the user and group using
useradd(8):
useradd -u92 -g=uid -c"IPv6 Router Advertisement Daemon" -d/var/empty -s/sbin/nologin _rtadvd
2008/06/10 - per-address counters off by default on pf(4) tables
pf(4)
tables now require the counters option in order to enable
per-address byte and packet counters, eg:
table <webservers> counters { 192.168.33.4, 192.168.33.16/29 }
See pf.conf(5)
for details.
2008/06/13 - mailmode in mg(1) removed
Because mail-mode in
mg(1)
was merely a buggy reimplementation of auto-fill-mode it has been
removed.
If you are using this please change your commands accordingly:
mail-mode => auto-fill-mode
mail-set-margin => set-fill-column
Don't forget to change your .mg file as well.
2008/06/16 - pfsync(4) version number incremented
Due to changes in the
pf(4)
state table, the
pfsync(4)
protocol version number has been incremented; firewalls with differing
version numbers will be unable to synchronise state tables, and existing
connections will be terminated on failover.
2008/07/09 - yacc(1) updated
A rebuild and install of
yacc(1)
is needed before doing a make build with a clean obj dir to make sure all
yacc generated parsers get regenerated.
2008/07/10 - TCP/UDP baddynamic lists, sysctl(8), named(8) and /etc/rc
The kernel
net.inet.tcp.baddynamic and net.inet.udp.baddynamic sysctls
and the
sysctl(8)
utility
have been extended to cover the full range of TCP/UDP ports. These lists
identify source ports to never allocate dynamically so to avoid conflicts with
well-known services. The /etc/rc
script now automatically populates these lists from /etc/services
at boot time.
The new version of
named(8)
(9.4.2-P1) that has just been imported uses random source ports for queries and
requires this facility for robust operation.
To avoid any incompatibility, the kernel,
sysctl(8),
named(8) and
/etc/rc
should be updated in unison (build and install kernel before "make build").
2008/07/11 - openchrome(4) driver for Xenocara
The xf86-video-openchrome driver has been added to Xenocara for via chipsets in place of the old, obsolete, version of xf86-video-via that was there before.
If you're using a VIA chipset with a configuration file, replace
Driver "via"
with
Driver "openchrome"
in /etc/X11/xorg.conf to use the new driver. See the
openchrome(4)
manual page for more configuration options.
2008/07/11 - ati(4) video driver updated
The ati(4) driver has been updated. This update of xf86-video-ati brings about some important changes.
No more MergedFB:
Support for MergedFB mode has been removed in favor of xrandr(1).
Quirk option for Macbooks changed:
Users with Macs or Macbooks that use the following quirk
Option "iBookHacks" "on"
should read the
radeon(4)
man page, specifically the "MacModel" section, if there are problems.
As of this revision this quirk has been removed.
2008/07/19 - softraid metadata handling rewrite
The metadata handling in softraid(4)
has been rewritten from scratch. The new code is not compatible with the old metadata format and hence users must
backup and recreate their softraid volumes. Softraid volumes made prior to this change will not assemble when
booting a kernel with this code.
2008/07/24 - changes in libc and libm
Due to the changes in libc and libm, the following steps have to
be taken before the rest of the system is built.
0. Make sure you have obj.
# cd /usr/src
# make obj
1. Install headers, build and install libc.
# cd /usr/src/include
# make prereq
# make includes
# cd /usr/src/lib/libc
# make cleandir
# make depend
# make
# make install
2. Build and install libm.
# cd /usr/src/lib/libm
# make cleandir
# make depend
# make
# make install
3. Build and install libiberty.
# cd /usr/src/gnu/lib/libiberty
# make -f Makefile.bsd-wrapper cleandir
# make -f Makefile.bsd-wrapper depend
# make -f Makefile.bsd-wrapper
# make -f Makefile.bsd-wrapper install
4. Build and install gcc.
If your platform uses gcc 2.95.3:
# rm -r /usr/obj/gnu/egcs/gcc/*
# cd /usr/src/gnu/egcs/gcc
- or -
If your platform uses gcc 3.3.5:
# rm -r /usr/obj/gnu/usr.bin/gcc/*
# cd /usr/src/gnu/usr.bin/gcc
Common build procedure for v3.3.5 or v2.95.3
# make -f Makefile.bsd-wrapper clean
# make -f Makefile.bsd-wrapper obj
# make -f Makefile.bsd-wrapper depend
# make -f Makefile.bsd-wrapper
# make -f Makefile.bsd-wrapper install
As usual, starting from a snapshot is CONSIDERABLY easier and highly
recommended.
www@openbsd.org
$OpenBSD: current.html,v 1.118 2008/07/27 14:39:14 nick Exp $