Page 1 of 1

Check for kernel logger on Centos 7

Posted: 22 Dec 2014, 18:12
by marcele
When CSF is installed on Centos 7 in the CSF server security check I get this message.

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
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

Code: Select all

#$ModLoad imklog # reads kernel messages (the same are read from journald)
Is this a bug or is imklog no longer needed to log kernel messages to syslog in RHEL/Centos 7?

Re: Check for kernel logger on Centos 7

Posted: 05 Jan 2015, 13:59
by hanzzon
This does appear to be a bug I agree, see the following post:
viewtopic.php?f=6&t=8145

Re: Check for kernel logger on Centos 7

Posted: 27 Feb 2015, 16:17
by ForumAdmin
This will be addresses in the next release of csf.