[FAQ 索引]
跟踪 -current
目录
介绍
此文档针对跟踪 -current 的用户。
它包含了从 4.6-release 到 -current 的修改信息,不能用于从 4.5
或更早版本的升级,或者想跟踪
-stable 的用户。
如果你想从旧版本更新到 4.6-release 或
4.6-stable,参见升级指南。
在使用 -current 和执行下述操作之前,请确认已经阅读和理解了
FAQ 5 - 从源代码构建系统。
你始终应该使用快照作为运行 -current 的起点。
不支持从你自己的源代码编译升级。
如果你想查阅从早期的 OpenBSD 升级的信息,参见
upgrade-old.html。
它作为历史记录提供 -- 不能用做升级指南。
2009/07/21 - [ports] postgresql 升级到新版本
PostgreSQL 的新版本需要你在升级之前导出数据,升级后重新导入。
2009/07/21 - [ports] New postgresql version
The new version of postgresql requires that your databases be dumped
before upgrade and reloaded after.
2009/07/24 - thread model posix enabled for gcc 3
This change was reverted. No special steps are needed now.
2009/07/25 - audio and MIDI device naming change
sndio(7)
now uses a different scheme for audio and MIDI device naming.
Though the old naming will continue working for some time, it's recommended
to start updating any scripts or configuration files of applications using
sndio(7),
as follows:
2009/07/26 - thread model posix reverted for gcc 3
For users who upgraded userland to enable thread model posix for gcc3,
follow these steps to upgrade. Otherwise no special steps are needed.
2009/08/01 - "split-horizon" default behaviour and syntax change in ripd(8)
- The accepted values for "split-horizon" in ripd.conf(5) are now:
none, simple, poisoned.
The "default" parameter, used to force simple split horizon with no poisoned
reverse, has now been replaced with "simple".
- The default behaviour of split horizon is now set to poisoned reverse instead of none.
2009/08/18 - sysmerge(8) default running mode change
sysmerge(8)
now runs in auto-mode by default.
The "-a" switch has been replaced by "-b" which can be used to get the
former behaviour (full diff mode).
2009/08/26 - ftp(1) auto-fetch redirection handling change
In ftp(1),
when auto-fetching (command line operation) is used without specifying a
filename with -o, the file is now always saved under a filename
derived from the command line. Previous behaviour was to derive the
filename from the redirection URL.
2009/09/01 - pf(4) address translation changes
As described in more detail in
this
mailing list post, PF's separate nat/rdr/binat (translation) rules
have been replaced with actions on regular match/filter rules.
Simple rulesets may be converted like this:
nat on $ext_if from 10/8 -> ($ext_if)
rdr on $ext_if to ($ext_if) -> 1.2.3.4
becomes
match out on $ext_if from 10/8 nat-to ($ext_if)
match in on $ext_if to ($ext_if) rdr-to 1.2.3.4
and...
binat on $ext_if from $web_serv_int to any -> $web_serv_ext
becomes
match on $ext_if from $web_serv_int to any binat-to $web_serv_ext
nat-anchor and/or rdr-anchor lines, e.g. for
relayd(8),
ftp-proxy(8)
and tftp-proxy(8),
are no longer used and should be removed from
pf.conf(5),
leaving only the anchor lines. Translation rules relating to these and
spamd(8)
will need to be adjusted as appropriate.
N.B.: Previously, translation rules had "stop at first match" behaviour,
with binat being evaluated first, followed by nat/rdr depending on direction
of the packet. Now the filter rules are subject to the usual "last match"
behaviour, so care must be taken with rule ordering when converting.
2009/09/02 - pf(4) route-to/reply-to syntax change
The route-to, reply-to, dup-to and fastroute options in pf.conf
move to filteropts;
pass in on $ext_if route-to (em1 192.168.1.1) from 10.1.1.1
pass in on $ext_if reply-to (em1 192.168.1.1) to 10.1.1.1
becomes
pass in on $ext_if from 10.1.1.1 route-to (em1 192.168.1.1)
pass in on $ext_if to 10.1.1.1 reply-to (em1 192.168.1.1)
2009/09/04 - bgpd(8), dvmrpd(8) additonal syntax checking
bgpd(8)
and dvmrpd(8)
now strictly check whether something other than yes or no is used
in a yes/no token. If your existing syntax is incorrect (e.g. using
"announce capabilities none" instead of "no") this will produce an
error at startup rather than starting up and silently giving incorrect
behaviour.
2009/10/01 - [ports] Bacula major version update
Bacula has been upgraded from 2.4.4 to 3.0.2; this has a new catalog
format which requires a database schema change on the director. The
commit
log entry and
release
notes have more details.
The server components (storage daemons and director) are not compatible
between major versions so these must be upgraded together.
- 3.x server components (sd/dir) are backwards compatible with 2.4.x clients.
- 3.x clients are not compatible with 2.4.x server components.
2009/10/06 - bgpd(8) capability announcement changes
bgpd(8)
now announces 4-byte ASN and graceful restart capabilities by default.
Previously graceful restart was not announced by default, and 4-byte
ASN support was only advertised when one or other peer used an ASN
above 65535. There is now per-session control over which capabilities
are announced:
announce refresh yes # was already on by default
announce restart no
announce as-4byte no # was only set on sessions to peers with 4byte AS nums
2009/10/19 - need new config(8) to build the kernel
config(8)
has been changed. You must install a new version before building a kernel
from newly updated sources.
# cd /usr/src/usr.sbin/config
# make
# make install
2009/10/21 - two packages come with perl 5.10.1
p5-parent and p5-Parse-CPAN-Meta now come with base Perl.
If you have installed the packages, delete them.
# pkg_delete p5-parent p5-Parse-CPAN-Meta
2009/10/25 - iwn(4) requires a firmware package update
iwn(4)
now needs iwn-firmware package version 5.2.
You can install the iwn-firmware-5.2 package with:
# pkg_add http://damien.bergamini.free.fr/packages/openbsd/iwn-firmware-5.2.tgz
2009/11/03 - pflogd(8) requires new method of logfile rotation
pflogd(8)
has lost its -p option. Change /etc/newsyslog.conf to
include:
/var/log/pflog 600 3 250 * ZB "pkill -HUP -u root -U root -t - -x pflogd"
2009/11/22 - brconfig(8)/bridgename.if(5) replaced by ifconfig(8)/hostname.if(5)
The functionality of
brconfig(8)
has been integrated into
ifconfig(8).
Since the priority argument to set the spanning tree priority
on a bridge conflicts with the existing ifconfig(8) interface priority,
it has been renamed to spanpriority.
Existing /etc/bridgename.bridge* files should be replaced with
/etc/hostname.bridge* files; if you use priority, replace
it with spanpriority.
2009/12/13 - [ports] New asterisk release and app_conference
The Asterisk package was updated to 1.6.0.x, you might need to make some
configuration changes; please see /usr/local/share/doc/asterisk/UPGRADE-16.txt.
The old app_conference plugin is incompatible with the new version, you must use
appkonference instead.
2009/12/20 - Makefile.yp(8) support for mknetid(8) -P
On YP server hosts, merge
Makefile.yp rev. 1.15
into all your copies of the YP Makefile, /var/yp/*/Makefile.
Strictly speaking, this is only required if you have set the DIR variable
to a non-standard YP source directory AND you do not provide a passwd(5)
file in your YP source directory. For maximum security to never leak group
information from /etc/master.passwd into your netid(5) YP map,
it is recommended that all YP server hosts be updated.
2010/01/10 - IPsec/HMAC-SHA2 incompatible change
Two bugs in
IPsec/HMAC-SHA2
were fixed, resulting in an incompatibility with the HMAC-SHA-256/384/512
hash algorithms with previous versions of OpenBSD and other IPsec
implementations sharing the bugs.
In particular the default authentication algorithm HMAC-SHA-256
is affected.
Upgrade both sides together, or switch to another authentication
algorithm during the transition.
The per-packet overhead has increased; if you are clamping the
MSS to exact values (i.e. without slack), this will need to be
recalculated.
2010/01/16 - new user and group for nsd
The following needs to be run:
useradd -u 97 -g =uid -c "NSD Daemon" -d /var/empty -s /sbin/nologin _nsd
2010/02/03 - make(1) update required
Changes in the build infrastructure to build the
OpenBSD/loongson port require the use of a new
make(1) binary, providing the MACHINE_CPU variable to Makefiles.
You must install a new version before building userland
from newly updated sources.
# cd /usr/src/usr.bin/make
# make depend
# make
# make install
2010/02/22 - new user and group for ldpd(8)
The following needs to be run:
useradd -u 98 -g =uid -c "LDP Daemon" -d /var/empty -s /sbin/nologin _ldpd
2010/03/26 - softraid(4) metadata changes
The
softraid(4)
metadata format has changed and is not compatible with previous versions.
As a result, any softraid volumes created with older kernels will not assemble.
Data on existing volumes should be backed up before upgrading.
The volume should then be recreated and the data restored.
2010/03/23 - [Ports] Major Dovecot upgrade
Dovecot has been updated from 1.1.20 to 1.2.11. The configuration file changed
and the old cmusieve plugin has been removed in favor of the new Dovecot sieve
implementation. The
commit
log entry has more details.
2010/04/03 - mandoc(1) required now
mandoc(1) has been added to the build tree, and is now required for
building the system. If you do not have it:
# cd /usr/src/usr.bin/mandoc
# make obj
# NOMAN= make && NOMAN= make install
2010/04/17 - ahci(4) no longer attaches to RAID-mode disks
To avoid risk of corrupting metadata on certain Intel RAID devices,
ahci(4)
no longer attaches to the PCI device IDs used by these controllers
when set to RAID mode.
If you lose access to your disks, you'll need to change the
controller type from RAID to AHCI in the BIOS to get them back.
2010/04/21 - removal of libevent evdns.h
As part of updating libevent from 1.3 to 1.4, the asynchronous DNS
component was removed. You should delete the /usr/include/evdns.h
and /usr/libdata/perl5/site_perl/*-openbsd/evdns.ph header files manually.
2010/04/24 - new user and group for aucat(1) and midicat(1)
The following needs to be run:
useradd -u 99 -g =uid -c "sndio privsep" -d /var/empty -s /sbin/nologin _sndio
2010/04/26 - [ports] samba default user db backend changed
The default user database backend for the Samba port has changed.
If you currently use smbpasswd, you must either adjust your configuration,
or convert your database. See README.OpenBSD
for more information.
www@openbsd.org
$OpenBSD: current.html,v 1.24 2010/05/11 06:30:57 ajacoutot Exp $