Check for kernel logger on Centos 7

Post Reply
marcele
Junior Member
Posts: 215
Joined: 17 Sep 2007, 17:02

Check for kernel logger on Centos 7

Post 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?
hanzzon
Junior Member
Posts: 10
Joined: 07 Mar 2012, 20:31

Re: Check for kernel logger on Centos 7

Post by hanzzon »

This does appear to be a bug I agree, see the following post:
viewtopic.php?f=6&t=8145
ForumAdmin
Moderator
Posts: 1524
Joined: 01 Oct 2008, 09:24

Re: Check for kernel logger on Centos 7

Post by ForumAdmin »

This will be addresses in the next release of csf.
Post Reply