tags 309813 + pending patch
thanks

[Hermann Gottschalk]
> the /etc/init.d/rc-script doesn't handle kill-links in the
> runleveldirectories correctly. Changing from runlevel X to Y
> executes the kill-links in runlevel Y and not the kill-links in X.

I agree.  It should run the kill script for the run level it is
leaving, not the one it is entering.

I've commited this patch to svn, to solve it.

Index: debian/sysv-rc/etc/init.d/rc
===================================================================
--- debian/sysv-rc/etc/init.d/rc        (revision 833)
+++ debian/sysv-rc/etc/init.d/rc        (working copy)
@@ -246,7 +246,7 @@
                        fi
                        CURLEVEL=$level
                        SCRIPTS=""
-                       for i in /etc/rc$runlevel.d/K$level*
+                       for i in /etc/rc$previous.d/K$level*
                        do
                                # Check if the script is there.
                                [ ! -f $i ] && continue


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

Reply via email to