This patch ensures that even if an error is printed, it will never be sent to a socket or other embarrassing fd. --- ./sysklogd/syslogd.c~ 2006-03-13 22:35:44.000000000 +0100 +++ ./sysklogd/syslogd.c 2006-03-13 22:32:55.000000000 +0100 @@ -824,6 +824,7 @@ bb_perror_msg_and_die("daemon"); #endif /* __uClinux__ */ close(0); close(1); close(2); + open("/dev/null", O_RDWR); dup(0); dup(0); } doSyslogd();