Gentoo Archives: gentoo-hardened

From: Alex Efros <powerman@××××××××.name>
To: gentoo-hardened@l.g.o
Subject: [gentoo-hardened] virtualbox /proc/modules warning
Date: Thu, 12 Sep 2013 14:45:59
Message-Id: 20130912144550.GA11317@home.power
1 Hi!
2
3 Each time any of VirtualBox commands started it print this useless warning:
4
5 ---cut---
6 libkmod: kmod_module_new_from_loaded: could not open /proc/modules: Permission denied
7 Error: could not get list of modules: Permission denied
8 WARNING: The VirtualBox kernel modules are not loaded.
9 Please load all the needed kernel modules by:
10
11 for m in vbox{drv,netadp,netflt}; do modprobe $m; done
12
13 You will not be able to start VMs until this problem is fixed.
14 ---cut---
15
16 Of course, modules are loaded, but non-root users can't access
17 /proc/modules because of GrSecurity. So, VirtualBox works fine, but this
18 multiline warning really annoying. Is it possible to somehow switch it off?
19
20 --
21 WBR, Alex.

Replies

Subject Author
Re: [gentoo-hardened] virtualbox /proc/modules warning Peter Volkov <pva@g.o>