Package:  odccm
Version:  0.11-3
Severity: serious
Tags:     patch
User:     [email protected]
Usertags: incorrect-dependency
User:     [email protected]
Usertags: piuparts

With dependency based boot sequencing, I discovered what I believe is
a bug in the init.d script of this package.  The init.d script depend
on hal and dbus, while the package do not depend on the packages
providing these scripts.  This break installation of the package on
systems where hal and dbus isn't installed.

The installation problem was discovered by piuparts, see
<URL: http://piuparts.debian.org/sid/fail/odccm_0.13-1.log > for the
test log.  These are the error messages:

  insserv: Service hal has to be enabled to start service odccm
  insserv: Service dbus has to be enabled to start service odccm
  insserv: exiting now!

I'm setting severity to important, as both hal and dbus is installed
on most systems.

This patch should solve the issue.

diff -ur ../odccm-0.13/debian/init.d ../odccm-0.13-pere/debian/init.d
--- ../odccm-0.13/debian/init.d 2009-09-27 16:55:49.000000000 +0200
+++ ../odccm-0.13-pere/debian/init.d    2009-09-27 16:58:40.000000000 +0200
@@ -2,8 +2,9 @@

 ### BEGIN INIT INFO
 # Provides:        odccm
-# Required-Start:  $network $syslog hal dbus
+# Required-Start:  $network $syslog
 # Required-Stop:   $network $syslog
+# Should-Start:    hal dbus
 # Default-Start:   2 3 4 5
 # Default-Stop:    0 1 6
 # Short-Description: Start odccm daemon

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to