11.28.2011

OpenRC 0.9.4 のアップデート

いつものように emerge をしていると OpenRC のアップデートがありました。何かとアップデートがあると怖い (OpenRC, Baselayout-2 のアップデートで失敗して起動しなくなったことあり) この OpenRC ですが、openrc-0.9.4 を emerge すると以下のメッセージが表示されました。

LOG: preinst
/etc/conf.d/rc is no longer used for configuration.
Please migrate your settings to /etc/rc.conf as applicable
and delete /etc/conf.d/rc
LOG: postinst
//etc/conf.d/net.example should be removed.
The new file is //usr/share/doc/openrc-0.9.4/net.example
//etc/conf.d/wireless.example is deprecated and should be removed.
If you are using the old style network scripts,
Configure wireless settings in //etc/conf.d/net
after reviewing //usr/share/doc/openrc-0.9.4/net.example
You should now update all files in /etc, using etc-update
or equivalent before restarting any services or this host.

Please read the migration guide available at:
http://www.gentoo.org/doc/en/openrc-migration.xml



とメッセージにあるように /etc/conf.d/rc はもう構成には使われないようです。また /etc/conf.d/net も古いスタイルで書いている場合は新しいスタイルに書き直すようにとなってます。と言うわけで古いスタイルで書いている方は新しいスタイルで書き直しましょう。

今回のアップデートでかなりの数 (32個だったかな) の設定ファイル (といってもほとんどが /etc/init.d/ 配下のスクリプト) が更新対象になっているので忘れずに etc-update か dispatch-conf しましょう。

新しいインストーラで Gentoo Linux をインストールしたひとは問題ないかも。

0 件のコメント:

コメントを投稿