[Pkg-corba-devel] Bug#541249: omnievents: Incorrect runlevels in init.d LSB header
Petter Reinholdtsen
pere at hungry.com
Wed Aug 12 18:16:12 UTC 2009
Package: omnievents
Version: 1:2.6.2-1
Severity: important
Tags: patch
User: initscripts-ng-devel at 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/omniorb-eventservice script. The runlevel list
state that it should stop in runlevel 2. 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 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
More information about the Pkg-corba-devel
mailing list