Package:  elida
Version:  0.4+nmu1
Severity: wishlist
Tags:     patch

I had a closer look at the package, and as far as I can see, there is
no reason why this network service should start in single user mode,
and thus there is no need for elida to start from rcS.d/.

Because of this, and because I got no protest when I suggested to NMU,
I NMU to fix this issue.  This is the patch used.

diff -ur elida-0.4/debian/changelog elida-0.4-pere/debian/changelog
--- elida-0.4/debian/changelog  2009-07-05 07:58:17.000000000 +0200
+++ elida-0.4-pere/debian/changelog     2010-03-19 09:55:42.000000000 +0100
@@ -1,3 +1,11 @@
+elida (0.4+nmu1) unstable; urgency=low
+
+  * Non-maintainer upload to fix release goal.
+  * Correct init.d script dependency information and runlevel
+    setting (Closes: #548868).
+
+ -- Petter Reinholdtsen <p...@debian.org>  Fri, 19 Mar 2010 09:54:54 +0100
+
 elida (0.4) unstable; urgency=low

   * Don't overwrite result/$pkg if it has an old version of $pkg
diff -ur elida-0.4/debian/postinst elida-0.4-pere/debian/postinst
--- elida-0.4/debian/postinst   2009-07-05 05:13:01.000000000 +0200
+++ elida-0.4-pere/debian/postinst      2010-03-19 09:54:23.000000000 +0100
@@ -3,8 +3,14 @@

 . /usr/share/debconf/confmodule

+# Recover from incorrect init.d script runlevel settings in
+# version 0.4 and earlier
+if [ "$1" = "configure" ] && dpkg --compare-versions "$2" le "0.4" ; then
+    update-rc.d -f elida remove
+fi
+
 if [ "$1" = "configure" ]; then
-    update-rc.d elida start 20 2 3 4 5 . stop 20 0 1 6 . start 44 S . 
>/dev/null
+    update-rc.d elida start 20 2 3 4 5 . stop 20 0 1 6 . >/dev/null
 #   if [ ! -d /usr/src/elida ]; then
 #       mkdir /usr/src/elida
 #       chmod 2775 /usr/src/elida
diff -ur elida-0.4/elida.init.d elida-0.4-pere/elida.init.d
--- elida-0.4/elida.init.d      2008-03-09 00:57:34.000000000 +0100
+++ elida-0.4-pere/elida.init.d 2010-03-19 09:54:23.000000000 +0100
@@ -4,11 +4,11 @@

 ### BEGIN INIT INFO
 # Provides:          elida
-# Required-Start:    $network
-# Required-Stop:     $network
+# Required-Start:    $network $remote_fs
+# Required-Stop:     $network $remote_fs
 # Should-Start:      $named
 # Should-Stop:       $named
-# Default-Start:     S 2 3 4 5
+# Default-Start:     2 3 4 5
 # Default-Stop:      0 1 6
 # Short-Description: pbuilder mail interface
 # Description:       elida accepts commands from email messages from

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