Check for kernel logger on Centos 7
Posted: 22 Dec 2014, 18:12
When CSF is installed on Centos 7 in the CSF server security check I get this message.
When I look at /etc/rsyslog.conf the line is indeed commented out but firewall messages are already being logged in /var/log/messages correctly.
/etc/rsyslog.conf
Is this a bug or is imklog no longer needed to log kernel messages to syslog in RHEL/Centos 7?
Code: Select all
Check for kernel logger - rsyslogd appears to be running, but klog may not be loaded which logs kernel firewall messages to rsyslog. You should modify /etc/rsyslogd to load the klog module with:
$ModLoad imklog
Then restart rsyslog
/etc/rsyslog.conf
Code: Select all
#$ModLoad imklog # reads kernel messages (the same are read from journald)