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 ./debian/rc
--- ../../orig/sysklogd-1.5/debian/rc	2008-06-01 08:14:45.000000000 +0000
+++ ./debian/rc	2008-06-01 08:11:05.000000000 +0000
@@ -81,6 +81,9 @@
     create_xconsole
     start-stop-daemon --start --quiet --pidfile $pidfile --name syslogd --startas $binpath -- $SYSLOGD
     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/sysklogd
     ln -s $pidfile /lib/init/rw/sendsigs.omit.d/sysklogd
     ;;

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

Reply via email to