HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Installation/Configuration (
-   -   RKHunter in OpenVZ VE (

theWeird 26th May 2011 09:44

RKHunter in OpenVZ VE
Hey there,
I've got a problem with RKHunter in my OpenVZ VEs.
Because the VEs cannot access the installed kernel modules RKHunter sends me a mail each day containig the following line:

Warning: The kernel modules directory '/lib/modules' is missing or empty.
Can you tell me how to disable the kernel module check of rkhunter?

falko 27th May 2011 14:25

According to the man page (

man rkhunter
) this is not possible... :(

theWeird 27th May 2011 17:55

I found the possibility to turn off some tests by adding 'os_specific' to the disabled tests in /etc/rkhunter.conf.
But I think I'll try to write a mail rule instead to delete these notifications automatically.

SamTzu 20th March 2013 08:35

Why not simply add the missing folder to the VM?
It works for me.

All times are GMT +2. The time now is 14:33.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.