Before trying to create a symlink, /lib/init/rw/sendsigs.omit.d should be 
tested if it exists (or created without checking, which is not elegant, but 
effective :) -- see /etc/init.d/portmap). I've attached a fix for this bug.

--
Patryk Cisek
diff -ura ../../orig/sysklogd-1.5/debian/rc.klogd ./debian/rc.klogd
--- ../../orig/sysklogd-1.5/debian/rc.klogd	2008-06-01 08:14:45.000000000 +0000
+++ ./debian/rc.klogd	2008-06-01 08:08:52.000000000 +0000
@@ -26,6 +26,9 @@
     log_begin_msg "Starting kernel log daemon..."
     start-stop-daemon --start --quiet --pidfile $pidfile --name klogd --startas $binpath -- $KLOGD
     log_end_msg $?
+    if [ ! -d /lib/init/rw/sendsigs.omit.d ]; then
+	    mkdir -p /lib/init/rw/sendsigs.omit.d
+    fi
     rm -f /lib/init/rw/sendsigs.omit.d/klogd
     ln -s $pidfile /lib/init/rw/sendsigs.omit.d/klogd
     ;;

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to