[prev in list] [next in list] [prev in thread] [next in thread] 

List:       busybox
Subject:    [BusyBox] Problems with klogd and uclibc
From:       "Oleg I. Vdovikin" <oleg () cs ! msu ! su>
Date:       2004-03-22 15:28:38
Message-ID: 012501c41022$59f18730$6628d0c3 () mlab ! cs ! msu ! su
[Download RAW message or body]

Hi,

    I've noticed what every kernel message logged by klogd with LOG_KERN
becomes LOG_USER in the log. The problem is that uclibc performs the
following check

/* Set default facility if none specified. */
 if ((pri & LOG_FACMASK) == 0)
                pri |= LogFacility;

    LOG_KERN is zero, so it's become LOG_USER (the LogFacility value) every
time. As seems there are similar problems with glibc.

    I think there are at least two ways to fix this: either merge klogd with
syslogd or write a separate function inside the klogd to log directly to
/dev/log, rather than using syscall.

    Any ideas on this?

Regards,
    Oleg.



_______________________________________________
busybox mailing list
busybox@mail.busybox.net
http://codepoet.org/mailman/listinfo/busybox


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic