insserv:ファイアウォールとモニターに関連するループ

insserv:ファイアウォールとモニターに関連するループ

したがって、何もインストールまたは削除できません。

insserv: warning: script 'firewall' missing LSB tags and overrides
insserv: There is a loop between service monit and firewall if stopped
insserv:  loop involving service firewall at depth 2
insserv:  loop involving service monit at depth 1
insserv: Stopping firewall depends on monit and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!

何? !

ベストアンサー1

/etc/init.d/firewall依存関係ベースの起動順序の観点から、スクリプト(Debianではないため確認できません)が破損しているようです。ファイアウォールの場合は、次のLSBヘッダーを使用することをお勧めします。

### BEGIN INIT INFO
# Provides:          firewall
# Required-Start:    $local_fs
# Required-Stop:     $local_fs
# X-Start-Before:    networking
# Default-Start:     S
# Default-Stop:
# Short-Description: Start firewall
### END INIT INFO

(起動時にDNS検証が必要ないと仮定)。

おすすめ記事