Package: portmap
Version: 5-18
Severity: normal
Tags: patch

In bug #326125, when I sent a LSB formatted info block for
/etc/init.d/portmap, I made a slight error.  The script should be
called with the stop argument in runlevel 1, so the '1' need to move
to 'Default-Stop'.  Without this change, the insserv package create
the wrong script order for rc1.d/.

This patch solve the issue:

diff -u /etc/init.d/portmap etc/init.d/portmap
--- /etc/init.d/portmap 2005-10-08 17:29:03.000000000 +0200
+++ etc/init.d/portmap  2006-04-04 16:39:04.000000000 +0200
@@ -8,8 +8,8 @@
 # Required-Stop:     $network
 # Should-Start:      $named
 # Should-Stop:       $named
-# Default-Start:     S 1 2 3 4 5
-# Default-Stop:      0 6
+# Default-Start:     S 2 3 4 5
+# Default-Stop:      0 1 6
 ### END INIT INFO

 test -f /sbin/portmap || exit 0


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

Reply via email to