最新 追記

ぱぱネット(仮)


2012-02-14 バンアレン帯にサーバー狂う [長年日記]

_ [Linux] Debianのinsserv

いつものようにapt-get upgradeしたら....

insserv:  loop involving service keymap at depth 5
insserv: Starting S99SimpleShutdown depends on
munin-node  and therefore on system facility
`$all' which can not be true!
insserv:  loop involving service networking at depth 12
insserv: Starting S99SimpleShutdown depends on
munin-node  and therefore on system facility `$all'
which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: initscripts の処理中にエラーが発生しました
 (-- configure):
 サブプロセス インストール済みの post-installation
 スクリプト はエラー終了ステータス 1 を返しました
configured to not write apport reports
以下のパッケージの処理中にエラーが発生しました:
initscripts

おいおいinitscriptsとかふざけんな!

このまま起動しなくなっちゃうのか?死ぬ!とか思ったわけが.... どこから来たのかわからないS99SimpleShutdownというファイルを 開いてみると、

#!/bin/sh
#######################
# chkconfig: 12345 99 98
# description: OpenSource Simple Shutdown Service
# processname: ssdService

旧形式か....どうも/etc/init.d/以下に新形式で書いてないスクリプトがあるとinsservが発狂してあらゆるパッケージがインスコできない仕様になったようだ。こういう新形式なら大丈夫。

### BEGIN INIT INFO
# Provides:             sshd
# Required-Start:       $remote_fs $syslog
# Required-Stop:        $remote_fs $syslog
# Default-Start:        2 3 4 5
# Default-Stop:
# Short-Description:    OpenBSD Secure Shell server
### END INIT INFO

もちろんこんな仕様嫌!!と思うわけだが、多分歴史的背景を鑑みてみると、プロジェクトがいくら周知徹底しても治らなかった作法なんだろ。まあ俺みたいなずぼらな奴がいるからな。


2001|04|
2006|07|08|09|10|11|12|
2007|01|02|03|04|05|06|07|08|09|10|11|12|
2008|01|02|03|04|05|06|07|08|09|10|11|12|
2009|01|02|03|04|05|06|07|08|09|10|11|12|
2010|01|02|03|04|05|06|07|08|09|10|11|12|
2011|01|02|03|04|05|06|07|08|09|10|11|12|
2012|01|02|03|04|05|06|07|08|09|10|11|12|
2013|01|03|04|05|06|07|08|09|10|11|12|
2014|01|03|04|05|10|

[BANNER]
このサーバーをもう12年も維持しているかと思うとめまいがしますよ。
ツッコミ機能は、ハンドル名が完全日本語じゃないと登録できません。
また、本文にURLが含まれていても登録できません。
いずれもSPAM対策です。
[Panda Papanda]
2012年
2月
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

[Papanda]  [Kuma]  [Tomorin]  [Iron]  [Eiza]  [Dokkin]  [Honya]  [Zyou]  [Tsuyo]  [Bike]  [KoeBBS]  [Chukei]  [portal]  [tvmatome]  [KaoPaku] 

訪問者数:(+2560143)