2004年11月13日
FreeBSD 5.3-RELEASE前1ヶ月のシステム変更点メモ
FreeBSD 5.3-BETA7からFreeBSD 5.3-STABLEにソースを置き換え、システム全体の再構築を行ったが、システムの振る舞いはほとんど一緒で変わらなかった。BETA7に至るまでに、性能にかかわる大きな変更がなされていて、それ以降はシステム構成の変更やバグフィックスが主だったのだろう。FreeBSD 5.3-BETA7(20041009)からFreeBSD 5.3-STABLE登場(20041107)までで、注意すべきシステムやportsの変更点をまとめる。
まず、システム関係の/usr/src/UPDATINGから、
20041023: GENERIC kernel config files for amd64 and i386 no longer have "options SMP". That has been moved to a new config file named SMP for users who want an easy way to build an SMP kernel.
HT対応やDual搭載のCPUを使っている人はこの項目に注意。GENERICからSMPオプションがはずされていて、SMPというコンフィグファイルができている。
20041010: The FreeBSD keyword is no longer a requirement for a valid rc.d script. The rc(8) and rc.shutdown(8) scripts no longer check for the existence of this keyword when ordering rc.d scripts. This change touches most of the file in /etc/rc.d; therefore, if you have not modified any files in that directory it may be easier to rm -rf /etc/rc.d and then use the -i switch with mergemaster(8).
/etc/rc.d の仕様が変わったようだ。mergemasterを実行するときは、次のようにしないと骨が折れる。
# mv /etc/rc.d /etc/rc.d.20041107
# mergemaster -i
そして、ports関係の/usr/ports/UPDATINGから、
20041018: AFFECTS: users of mail/courier-imap AUTHOR: oliver@FreeBSD.org The courier-imap port must now be enabled / disabled in rc.conf. See the script for details.
/usr/local/etc/rc.d/ の仕様変更にあわせて、起動スクリプトの修正が必要になっているアプリケーションがいくつかある。courier-imapもその一つ。主に、/etc/rc.confにオプションを設定して自動起動を制御する仕組みが採用されている。
例えば、courier-imapのアップグレード後に、
# portupgrade -r courier-imap
起動のためのオプションを/etc/rc.confに加える必要がある。
# vi /etc/rc.conf
courier_imap_imapd_enable="YES" # for imap 143/tcp,udp (including starttls)
courier_imap_imapdssl_enable="NO" # for imaps 993/tcp,udp