View Single Post
Old 7th February 2011, 17:14
letic letic is offline
HowtoForge Supporter
Join Date: Jul 2006
Posts: 28
Thanks: 10
Thanked 3 Times in 3 Posts

Originally Posted by CSsab View Post
Later when I started running Debian Sid (testing) containers the rkhunter warning went further to complain that /lib/modules was "either missing or empty" so I put a dummy-file in there and all is good for now.

vi /lib/modules
## This is a dummy file located /lib/modules in a LXC
A better solution is to disable the "os_specific" test in /etc/rkhunter.conf

See :

On Linux os_specific runs 2 tests :
- check which modules are loaded
- check modules on the disk

As you have neither in a container you can safely disable this test.

Hope this help
Reply With Quote