From: Gergely Nagy <algernon@balabit.hu>
To: linux-kernel@vger.kernel.org
Subject: Re: Syslog-NG Fails as of Kernel 2.6.38-rc1
Date: Fri, 28 Jan 2011 11:21:36 +0100 [thread overview]
Message-ID: <1296210096.24341.23.camel@moria> (raw)
In-Reply-To: <ihu3lv$921$4@dough.gmane.org>
> > 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):
[...]
> > ----------
> > ::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]
The problem is, that syslog-ng doesn't have the CAP_SYSLOG capability,
only CAP_SYS_ADMIN, which was enough pre-2.6.38. In 2.6.38+ however, one
needs CAP_SYSLOG (it was split out from CAP_SYS_ADMIN).
Which pretty much means that any userspace code that was using
CAP_SYS_ADMIN to access /proc/kmsg will have to be updated to use
CAP_SYSLOG (either instead, or in addition to CAP_SYS_ADMIN) in order to
work on new kernels.
I find that quite unfortunate, to be honest, as older applications that
aren't upgraded along with the kernel will simply break.
--
|8]
next prev parent reply other threads:[~2011-01-28 10:46 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
2011-01-28 10:21 ` Gergely Nagy [this message]
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=1296210096.24341.23.camel@moria \
--to=algernon@balabit.hu \
--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