Re: [PATCH v2] printk: Add kernel parameter to disable writes to /dev/kmsg

From: Steven Rostedt
Date: Mon Apr 25 2016 - 17:23:41 EST


On Mon, 25 Apr 2016 13:45:25 -0700
Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx> wrote:

> On Mon, Apr 25, 2016 at 1:34 PM, Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:
> >
> > There's a bug somewhere with mine:
> >
> > # journalctl -k
> > No journal files were found.
> > -- No entries --
>
> Is that with your patch? If you don't allow kmsg open, maybe systemd
> doesn't end up logging for reads either?

Nope. This is on Debian testing, with sysvinit and a systemd-shim to
allow other parts to work. Perhaps that's where the breakage is.

-- Steve