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
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.

Replies

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