syslog: facility for kernel messages is "user"

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Wed Mar 16 23:12:39 UTC 2011


On Wed, Mar 16, 2011 at 05:25:49PM +0300, Sergey Naumov wrote:
>Hello.
>
>I have noticed that in uclibc-0.9.31 facility of kernel messages are
>"user" in busybox syslogd applet.
>There was a fix (maybe from Denys Vlasenko - busybox maintaier) to
>openlog() function for 0.9.31 and now KERN facility (=0) is
>interpreted correctly in this function. However vsyslog() function
>also interprets =0 value as "not set" and sets LOG_USER facility
>instead of LOG_KERN. After applying attached patch I see appropriate
>facility for kernel messages in /var/log/messages.
>
>As far as I know this issue is not fixed in uclibc-0.9.32-rc2.

According to the manpage userspace should not be able to generate
kern logfac.


More information about the uClibc mailing list