#1  
Old 26th May 2011, 08:44
theWeird theWeird is offline
Member
 
Join Date: Nov 2009
Posts: 70
Thanks: 10
Thanked 6 Times in 5 Posts
Default 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:
Code:
Warning: The kernel modules directory '/lib/modules' is missing or empty.
Can you tell me how to disable the kernel module check of rkhunter?
Reply With Quote
Sponsored Links
  #2  
Old 27th May 2011, 13:25
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
Default

According to the man page (
Code:
man rkhunter
) this is not possible...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 27th May 2011, 16:55
theWeird theWeird is offline
Member
 
Join Date: Nov 2009
Posts: 70
Thanks: 10
Thanked 6 Times in 5 Posts
Default

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.
Reply With Quote
The Following User Says Thank You to theWeird For This Useful Post:
falko (28th May 2011)
  #4  
Old 20th March 2013, 07:35
SamTzu SamTzu is offline
HowtoForge Supporter
 
Join Date: Apr 2007
Location: Helsinki
Posts: 426
Thanks: 33
Thanked 55 Times in 38 Posts
Send a message via Skype™ to SamTzu
 
Default

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

Sami Mattila
Internet-Content

Telephone:
00358942833310
Email: firstname.lastname@internet-content.org
Shop: http://shop.internet-content.net
Site: http://www.internet-content.net
Blog: http://www.internet-content.net/en/blog
FB: https://www.facebook.com/internetcontent

Reply With Quote
Reply

Bookmarks

Tags
openvz, rkhunter

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
LXC containers as VM's for ISPConfig 3 - First steps & quick start. CSsab Tips/Tricks/Mods 6 7th February 2011 16:14
openVZ installation doubt marmellata HOWTO-Related Questions 1 8th September 2010 22:23
rkhunter Messages atjensen11 Installation/Configuration 0 16th September 2009 17:59
How to convert a KVM image in to an openvz container in Proxmox? kumarullal HOWTO-Related Questions 2 26th June 2009 14:17
Pls Help - Problem installing OpenVZ with Debian Etch. joelee HOWTO-Related Questions 3 14th January 2007 18:37


All times are GMT +2. The time now is 12:32.


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