Re: syslog-ng makes a kernel WARNING in 2.6.38

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Sat, Feb 26, 2011 at 9:44 AM, Damjan <gdamjan@xxxxxxxxx> wrote:
> I'm running a self compiled 2.6.38-rc6-00113-g4662db4 on my 64bit desktop,
> and I get a nasty warning in dmesg complaining about capabilities.
>
> Is this a syslog-ng issue, or something with the package in Arch, or maybe I
> need to setup some capabilities to the binary?
>
> syslog-ng is 3.2.2-1, the full kernel warning is below, but afaik most
> important is:
> Attempt to access syslog with CAP_SYS_ADMIN but no CAP_SYSLOG (deprecated).

This is nothing to be concerned about. 2.6.38 added a new capability
(CAP_SYSLOG) and deprecated CAP_SYS_ADMIN for accessing syslog. The
warning just means that syslog-ng does not use the new capability yet
(so it works like it did pre-2.6.38). From what I read, it is not
entirely trivial to move syslog-ng over to CAP_SYSLOG (due to wanting
backwards compatibility with kernels before 2.6.38), but they are
working on it.

In short, it is harmless, and the warning will go away in a future
release of syslog-ng.

Cheers,

Tom


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux