We run AlmaLinux 9.5 on several cloud servers at hetzner. They offer a web based console which is actually overflodded with kernel messages from nftables. In case of emergency it would not be possible to login. I think that this console goes via a kinda emulated tty.
Do you have an idea to stop these messages?
I tried some ideas which found , but nothing helped.
Yes, it will prevent it from being started and loaded. It’s a more advanced version of disable.
Do you have a screenshot of the web console displaying the error messages?
Then you cannot disable the nftables because you need the firewall
You cannot remove the log rules from firewall either, because you want them
I bet that nftables (kernel) actually logs to systemd-journald. The rsyslog simply reads from journald
Who does actually write to console? Kernel, journald, or rsyslog? If it is rsyslog, then change its rules so that those “drop” messages are written only to file, not console
I solved the issue with the entry kernel.printk = 3 4 1 3 stored in a file in the folder /etc/sysctl.d. nftables continues to log with rsyslog to a logfile and the console remains silent.