http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573980
Michael Biebl wrote:
Reading from /proc/kmsg requires root privileges. [...] What Ubuntu does, it create a socket in /var/run, where the rsyslog process can read with unpriviledgeg rights, and they have a separate dd process (with root priviledges) that shovels the data from /dev/kmsg to /var/run/kmsg.
Stefan K. wrote:
I was confused because lucid lynx uses "/proc/kmsg" as path and no "dd proxy" anymore. As of 4.2.0-2ubuntu6 they changed the kernel interface to read the file directly (deroot.patch).
Not specific to our latest paravirt, it would appear -- it happens to anybody running a non-Ubuntu-specific kernel (which latest paravirt is). They've apparently patched the kernel to work around the "dd running as root" problem.
Under Karmic, I remember a dd with root privileges running at all times. I do not see the same under Lucid.
If I read between the lines of the bug report, it sounds like there might be a knob to twiddle in the init scripts, and you can put their workaround back -- fire off a dd from /proc/kmsg to /var/run/rsyslog/kmsg as root, then point rsyslog at /var/run/rsyslog/kmsg using the twiddling knob. Or, give rsyslog root (might not be the most ideal solution).