[syslog-ng]syslog-ng 1.4.x troubles : 2nd post

[email protected] [email protected]
Wed, 31 Jul 2002 23:33:47 +0200 (CEST)

Please CC me, I'm not subscribed to the list.

Okay, to try to isolate the problem shown on my previous post, here is what I did :

<snip /etc/init.d/syslog-ng>
case "$1" in
        echo -n "Starting system logging: syslog-ng"
        #start-stop-daemon --start --quiet --exec /usr/local/sbin/syslog-ng
        strace -f syslog-ng > /var/log/syslog-ng.strace 2>&1 & 
        echo -n " klogd"
        start-stop-daemon --start --quiet --exec /sbin/klogd -- $KLOGD
        echo "."

And guess what : when I run syslog-ng thru strace it works!! @#[|%!!  Ie when I boot the box syslog-ng is not blocked any more.

I finally found a way to make it actually work by not using start-stop-daemon :

#start-stop-daemon --start --quiet --exec /usr/local/sbin/syslog-ng
#strace -f syslog-ng > /var/log/syslog-ng.strace 2>&1 &

simpler! But why?!?