From: WANG Cong <xiyou.wangcong@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: Re: Syslog-NG Fails as of Kernel 2.6.38-rc1
Date: Fri, 28 Jan 2011 09:53:04 +0000 (UTC) [thread overview]
Message-ID: <ihu3lv$921$4@dough.gmane.org> (raw)
In-Reply-To: 513567.89196.qm@web55903.mail.re3.yahoo.com
On Thu, 27 Jan 2011 04:51:10 -0800, Eugene Markow wrote:
> The following appears in dmesg from kernels 2.6.38-rc1 to
> 2.6.38-rc2-git5 (Not an issue in 2.6.37 stable):
>
> ----------
> WARNING: at kernel/printk.c:430 do_syslog+0xeb/0x5e0()
Looks like syslog-ng passes a wrong type to sys_syslog():
if (type == SYSLOG_ACTION_OPEN || !from_file) {
if (dmesg_restrict && !capable(CAP_SYSLOG))
goto warn;
if ((type != SYSLOG_ACTION_READ_ALL &&
type != SYSLOG_ACTION_SIZE_BUFFER) &&
!capable(CAP_SYSLOG))
goto warn;
}
...
>
> Furthermore, during the bootup process, I'm getting:
>
>
> ----------
> ::Starting Syslg-NG [BUSY] Error opening file for reading:
> filename '/proc/kmsg', error='Operation not permitted (1)'
> Error initializing source driver: source='src', id='src#2' Error
> initializing message pipline;
> [FAIL]
Hmm, it writes /proc/kmsg... I will look at the code later.
next prev parent reply other threads:[~2011-01-28 9:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-27 12:51 Syslog-NG Fails as of Kernel 2.6.38-rc1 Eugene Markow
2011-01-28 9:53 ` WANG Cong [this message]
2011-01-28 10:21 ` Gergely Nagy
2011-01-31 20:14 ` Marc Koschewski
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='ihu3lv$921$4@dough.gmane.org' \
--to=xiyou.wangcong@gmail.com \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox