tags 386500 - unreproducible
tags 386523 - unreproducible
thanks

Hi,

I found the problem in update-rc.d. There is a little logic error in one
of the functions update-rc.d. After i fixed that it worked again:

[EMAIL PROTECTED]:~$ ls /etc/rcS.d/*udev*
/etc/rcS.d/S03udev  /etc/rcS.d/S36udev-mtab
[EMAIL PROTECTED]:~$ sudo update-rc.d udev start 03 S .
 System startup links for /etc/init.d/udev already exist.
[EMAIL PROTECTED]:~$ ls /etc/rcS.d/*udev*
/etc/rcS.d/S03udev  /etc/rcS.d/S36udev-mtab

I have included the patch below

--- /usr/sbin/update-rc.d.orig  2006-09-08 10:56:09.000000000 +0200
+++ /usr/sbin/update-rc.d       2006-09-08 11:02:32.000000000 +0200
@@ -108,7 +108,7 @@
            $fn = "$etcd$i.d/$_";
            $found = 1;
            $islnk = &is_link ($_[0], $fn, $bn);
-           next if (defined $_[0] and $_[0] ne 'remove');
+           next unless (defined $_[0] && $_[0] eq 'remove');
            if (! $islnk) {
                print "   $fn is not a link to ../init.d/$bn; not removing\n";
                next;

Greetings Arjan

Attachment: signature.asc
Description: Dit berichtdeel is digitaal ondertekend

Reply via email to