Re: [RFC PATCH] cmdline: Hide "debug" from /proc/cmdline

H. Peter Anvin
2014-04-03T17:10:55Z

On 04/03/2014 10:05 AM, Theodore Ts'o wrote:
>
> So there are so many other ways of solving this problem without trying
> to abuse the kernel logging facilities (which were never intended to
> be a general-purpose syslog replacement). I suspect some systemd
> developer was being lazy....
>

Having the kernel be the keeper of the logging IPC isn't at all
unreasonable. However, kmsg in its current form isn't adequate.
Augmenting it into a proper logging IPC might be the right thing to do.
(Hmm... new IPC... does this sound a bit like kdbus to anyone?)

The original motivation for /dev/kmsg was of course in the context of
klibc to maintain the current behavior of the items I was hoping to move
from kernel to user space.

-hpa