なんとなく OpenNTPD に換えてみる
aptitude show openntpd すると only implements a subset of the NTP protocol, and does not adjust the rate of the clock.
とか説明に出てくるんだけど、それで全然かまわないわけで、なんとなく sudo aptitude install openntpd ntp_ してみる。openntpd のヴァージョンは 3.9p1-7 (Debian Sid)。
設定ファイルは /etc/openntpd/ntpd.conf。NTP サーヴァを ntp.nict.jp に変えようと、"http://www2.nict.go.jp/w/w114/tsp/PubNtp/qa.html#setting" にあるとおり "servers ntp.nict.jp" というラインを追加し、ディフォルトのサーヴァ設定をコメントアウトして sudo /etc/init.d/openntpd force-reload したんだけど、エラーが出て動かない。
ntp engine ready fatal: client_query socket: Address family not supported by protocol dispatch_imsg in main: pipe closed Lost child: child exited Terminating
"server ntp.nict.jp" ("servers" でなく "server") や "servers pool.ntp.org" ("ntpd.conf(5) - OpenBSD manual pages" にある例) だと、ちゃんと動く。Debian の BTS を眺めてみたり、軽く Google してみたりしたけど、なんでだかさっぱり。
しかたがないので、"server ntp.nict.jp" を 3 行書くって workaround。
ntp engine ready peer 133.243.238.243 now valid peer 133.243.238.164 now valid peer 133.243.238.163 now valid
以上、よくわからないのでメモっておく。
2009-04-17 追記: 知らない間に直ってたみたい。