On Wed, 3 May 2017 15:42:47 -0700
stan <[email protected]> wrote:

> I run the 4.11 kernels on F25.  For the last couple of kernels I've
> compiled, they constantly write messages from auditd to the virtual
> consoles.  Working away, and suddenly 10 lines of output appear and
> overwrite the console.

My original solution of changing auditd rules was wrong.  It turns out
that this is an issue with printk log messages from the kernel.  Here
is some information from the link below discussing this.

...
I suggest you alter your /etc/sysctl.conf. Specifcally, you want to
tweak the kernel.printk line.

# Uncomment the following to stop low-level messages on console
kernel.printk = 3 4 1 3


Display:

# sysctl kernel.printk
kernel.printk = 7       4       1       7

The separators in the output are single tabs, btw.

Set. Here the separators are just spaces. Works as well.

# sysctl -w kernel.printk="3 4 1 3"
kernel.printk = 3 4 1 3
# sysctl kernel.printk
kernel.printk = 3       4       1       3

See man sysctl - "configure kernel parameters at runtime" for more.
...

https://superuser.com/questions/351387/how-to-stop-kernel-messages-from-flooding-my-console

When I set the printk bar to 3 4 1 3, the messages stopped because they
weren't high enough priority.  Lower number is higher priority.
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to