On Fri, Jul 6, 2012 at 10:38 PM, Alan Cox <a...@lxorguk.ukuu.org.uk> wrote: > On Fri, 6 Jul 2012 20:45:44 +0300 > Jukka Ollila <jiikst...@gmail.com> wrote: >> A few days ago I filed a kernel regression report concerning a change >> in /proc/kmsg behaviour with short reads: >> >> https://bugzilla.kernel.org/show_bug.cgi?id=44211
>> I don't know what other distros do. Is it just Debian being the odd one out? > > If this is observed on an actual standard distro userspace and breaks it > then its a regression and it needs fixing or reverting. Now this got me wondering if Debian _unstable_ actually qualifies as a standard distro userspace. And I did a little digging. According to the Debian package tracking system[1] it would seem that the _stable_ distro carries a version that doesn't do the dd shuffling at all and probably runs its klogd as root, reading /proc/kmsg directly. That may or may not work with 3.5-rc kernels, depending on how big its reads are. I'm CCing the listed maintainer just in case. The unstable version does the problematic dd bs=1 trick. Also the Ubuntu diff in the PTS has the dd. But I have no idea how Ubuntu does it's release management. Not to mention other derivatives. So it might not be too late to fix this in userspace, in case the kernel wants to move on. Some real distro people might want to chime in. Thanks, -J [1] http://packages.debian.org/search?keywords=sysklogd -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/