Re: seeing audit messages to virtual consoles, sort of a workaround

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 3 May 2017 15:42:47 -0700
stan <stanl-fedorauser@xxxxxxxxxxx> 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 -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux