Part of the problem seems to be that the patch to allow read access to
kmsg to non-root users (see bug #515623, comment 1) isn't applied to
2.6.33.2. I applied the patch (it almost worked out-of-the-box, but I
needed to define SYSLOG_CONTEXT_SYSCALL in printk.c) and this resolves
the problem.

The patch appears to be included in 2.6.34-rc4, but I can't test this
yet as it kernel panics on my PC at some point after X starts.

I still think rsyslog should default to the Debian behaviour (ie root
access to kmsg) if 'de-rooting' doesn't work, but perhaps the quickest
'fix' for this is to include a release note saying that kernel logging
is not supported with 2.6.33 kernels (or in fact any custom kernels
prior to 2.6.34).

-- 
rsyslog fails to read kmsg on 2.6.33 kernels
https://bugs.launchpad.net/bugs/565288
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to