[Pkg-nagios-devel] Bug#577166: icinga-idoutils: Init.d script depend on non-existing virtual facility $icinga

Petter Reinholdtsen pere at hungry.com
Sat Apr 10 08:35:58 UTC 2010


Package:  icinga-idoutils
Version:  1.0.1-1
Severity: grave
Tags:     patch
User:     initscripts-ng-devel at lists.alioth.debian.org
Usertags: incorrect-dependency

In an archive wide check of the boot script ordering in Debian, I
noticed this new error:

  error: script icinga-idoutils/init.d/ido2db depend on non-existing
    provides: $icinga

The problem is that the init.d script dependency is using the $
indicator reserved for virtual facilities.  The $ should be removed to
depend on the icinga facility.

Setting severity to grave, as the boot order will be wrong when the
icinga-idoutils is installed and concurrent booting is used.

diff -ur ../icinga-1.0.1/debian/icinga-idoutils.ido2db.init ../icinga-1.0.1-pere/debian/icinga-idoutils.ido2db.init
--- ../icinga-1.0.1/debian/icinga-idoutils.ido2db.init  2010-04-10 10:16:50.000000000 +0200
+++ ../icinga-1.0.1-pere/debian/icinga-idoutils.ido2db.init     2010-04-10 10:17:45.000000000 +0200
@@ -1,7 +1,7 @@
 #! /bin/sh
 ### BEGIN INIT INFO
 # Provides:          ido2db
-# Required-Start:    $remote_fs $syslog $named $network $time $icinga
+# Required-Start:    $remote_fs $syslog $named $network $time icinga
 # Required-Stop:     $remote_fs $syslog $named $network
 # Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6

Happy hacking,
-- 
Petter Reinholdtsen





More information about the Pkg-nagios-devel mailing list