Bug#62333: syslogd drops every second message
Package: boot-floppies
Version: 2.2.11
boot-floppie's syslogd (Busybox) drops every second message. I experienced
this with the 2.2.11 m68k boot floppies as found on
<http://www.debian.org/~cts/debian-m68k/boot-floppies/> but since I've
read the same suspect (turned down) on debian-boot with regard to the
i386 floppies, I don't think it's a m68k specific bug.
A description of how to provoke an error where this becomes obvious
is not neccessary, as the following few-liner
-------8<-------------------------------8<--------------
/* test the syslog facility */
#include <syslog.h>
int main()
{
int i;
openlog("testlog", LOG_PID, LOG_DAEMON);
for(i=1; i<=9; ++i) {
syslog(LOG_ERR, "one, two, three, test #%d\n", i);
};
closelog();
return(0);
};
--------------8<-------------------8<--------------------------
executed from tty2 is sufficient to fully demonstrate the bug. I get
exactly the tests #1, 3, 5, 7, 9 on tty3 and in /var/log/messages (I do
get all 9 of course when running this under an installed potato).
Regards,
Bjoern Brill
--
Bj"orn Brill <brill@fs.math.uni-frankfurt.de>
Frankfurt am Main, Germany
Reply to: