[PATCH] syslog: fix 'everyone logs with user facility'

Bernhard Reutner-Fischer rep.dot.nop at gmail.com
Tue Jan 11 18:51:42 UTC 2011


On Thu, Dec 23, 2010 at 11:57:49AM +0300, Roman I Khimov wrote:
>It's been found that on uclibc-based system most of the programs log with
>'user' facility despite the calls to openlog() with other facilities explicitly
>set. Most but not all. Investigating that I've found that the ones logging with
>proper facilities used LOG_NDELAY in openlog(). The problem is that LogFacility
>is overwritten in openlog_intern and LOG_USER is passed to it from vsyslog() no
>matter what the program set with openlog().

Good catch.
Applied, thanks!


More information about the uClibc mailing list