1か月半様子を見ていたけど、問題なく電源切れてるということで解決。
root の cron で
su - XXXX -c "/usr/bin/pg_dump XXXX"
とかやってたんだけど、いつの間にか
su: must be run from a terminal
といってできなくなってた。
よくわからんけど su じゃなくて sudo を使うようにするか。sudoers に
root ALL=(XXXX) NOPASSWD:/usr/bin/pg_dump
を追加して、cron を
sudo -u XXXX /usr/bin/pg_dump XXXX
にしてみた。これできちんと動くかな。
sudo できちんと動いた。
trayer は引き取られて Debian native になるようだ。> Upstream has abandoned the program, so the package is now Debian native.
#538128 によると次期リリースで修正されるようだ。
一足先に New maintainer のほうが入ったようだ。> Accepted trayer 1.0-3 (source i386)
どうやら Debian native なのはポシャったようだ。> Re: trayer_1.1_i386.changes REJECTED
なにやら最近の sysv-rc が
info: Checking if it is safe to convert to dependency based boot. error: Unable to migrate to dependency based boot sequencing. error: Problems detected: package timidity left obsolete init.d script behind, package nfs-common removed but not purged, package nfs-kernel-server removed but not purged, package open-vm-tools removed but not purged, package portmap removed but not purged, package tor removed but not purged, insserv: warning: script 'S32unicon-tools' missing LSB tags and overrides, insserv: warning: script 'unicon-tools' missing LSB tags and overrides,
と言い出してるが、The future of the boot system in Debian とかの件かな?
remove で残ってる init scripts に関しては purge はしないで rm で消してみた。timidity は #538967 で何度も直されてるけど残ってるな...どうせ起動してないし rm で消した。
で、残るは unicon-tools、これは自分で直さねば。Dependency based boot sequence を見ると Lintian Tag: init.d-script-missing-lsb-section に誘導され、さらに How to LSBize an Init Script に誘導される。
...とりあえず kvm の init script をパクって、
### BEGIN INIT INFO # Provides: unicon # Required-Start: # Required-Stop: # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: unicon init script # Description: This script loads the kernel modules needed by unicon ### END INIT INFO
を書いて、dpkg-reconfigure sysv-rc してみる。お、通った。
This migration process is non-reversible. The legacy way of ordering boot scripts using static sequence numbers will be made obsolete by choosing to migrate. Any boot sequence changes done locally will be lost and have to redone using dependencies.
と警告されるが、
Migrate legacy boot sequencing to dependency based sequencing?
との問いには YES。
info: Reordering boot system, log to /var/lib/insserv/run-20090916T0031.log success: Enabled dependency based boot system.
となって完了。/etc/rc?.d/ 以下、かなりすっきりしたなー...。
unicon-tools パッケージの作り直しはまた後日。
dist-upgrade が途中で止まる。
The following packages will be upgraded: libperl5.10 perl perl-base perl-modules 4 packages upgraded, 0 newly installed, 0 to remove and 2 not upgraded. Need to get 0B/8982kB of archives. After unpacking 1192kB will be used. Do you want to continue? [Y/n/?] y Writing extended state information... Done E: Internal Error, Could not perform immediate configuration (2) on perl A package failed to install. Trying to recover:
#548848 によると debhelper のほうの問題らしい...と思ったら、liblocale-gettext-perl のほうに割り当て直されてた。
前 | 2009年 9月 |
次 | ||||
日 | 月 | 火 | 水 | 木 | 金 | 土 |
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 |
[amd64 | audacious | comp | debian | gkrelluim | kip | misc | movie | research | rime | unicon | vdr | work | えふえふ]
書いてる人: dai
パッチ等(無保証)