Package:  p910nd
Version:  0.93-1
Severity: important
Tags:     patch
User:     initscripts-ng-de...@lists.alioth.debian.org
Usertags: incorrect-runlevels incorrect-dependency

With dependency based boot sequencing, I discovered what I believe is
a bug in the init.d/p910nd script.  The runlevel list state that it
should stop in runlevel 2 and not start in runlevel 4.  This is
inconsistent with the Debian runlevels and the arguments used for
update-rc.d.  Also, the dependencies are not correct.  It uses files
in /usr/, and thus need to depend on $remote_fs.

<URL: 
http://refspecs.freestandards.org/LSB_2.1.0/LSB-generic/LSB-generic/initscrcomconv.html
 >
documents the LSB header format.  Some debian notes are available from
<URL: http://wiki.debian.org/LSBInitScripts >.

This patch should solve the issue.  Without it, the init.d fail to
start in runlevel 2 and 4 by default with dependency based boot
sequencing, and will start to early in the boot sequence.

diff -ur omnievents-2.6.2/etc/init.d/omniorb-eventservice.in 
omnievents-2.6.2-pere/etc/init.d/omniorb-eventservice.in
--- omnievents-2.6.2/etc/init.d/omniorb-eventservice.in 2005-05-11 
20:44:21.000000000 +0200
+++ omnievents-2.6.2-pere/etc/init.d/omniorb-eventservice.in    2009-08-12 
20:07:45.000000000 +0200
@@ -14,10 +14,10 @@

 ### BEGIN INIT INFO
 # Provides: omniorb-eventservice
-# Required-Start: $syslog $network
-# Required-Stop: $syslog
-# Default-Start: 3 4 5
-# Default-Stop: 0 1 2 6
+# Required-Start: $remote_fs $syslog $network
+# Required-Stop:  $remote_fs $syslog
+# Default-Start:  2 3 4 5
+# Default-Stop:   0 1 6
 # Short-Description: CORBA event service
 # Description: CORBA event service. http://www.omnievents.org/
 ### END INIT INFO

Happy hacking,
-- 
Petter Reinholdtsen



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to