[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#62333: syslogd drops every second message



On Thu Apr 13, 2000 at 08:41:33PM +0200, Bjoern Brill wrote:
> 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).

I am seeing some strangeness with busybox syslogd, and I
know where it is coming from.  I'll have it fixed in CVS
tonight,

 -Erik

--
Erik B. Andersen   Web:    http://www.xmission.com/~andersen/ 
                   email:  andersee@debian.org
--This message was written using 73% post-consumer electrons--


Reply to: