virtualbox /proc/modules warning

Alex Efros <[email protected]>
Newsgroups gmane.linux.gentoo.hardened
Organization http://powerman.name/
Message-ID <[email protected]>
Hi!

Each time any of VirtualBox commands started it print this useless warning:

---cut---
libkmod: kmod_module_new_from_loaded: could not open /proc/modules: Permission denied
Error: could not get list of modules: Permission denied
WARNING: The VirtualBox kernel modules are not loaded.
         Please load all the needed kernel modules by:

           for m in vbox{drv,netadp,netflt}; do modprobe $m; done

         You will not be able to start VMs until this problem is fixed.
---cut---

Of course, modules are loaded, but non-root users can't access
/proc/modules because of GrSecurity. So, VirtualBox works fine, but this
multiline warning really annoying. Is it possible to somehow switch it off?

-- 
			WBR, Alex.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.