Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 423355

Summary: app-emulation/virtualbox - remove `-f' from VBox_load_modules
Product: Gentoo Linux Reporter: dE <de.techno>
Component: Current packagesAssignee: Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c>
Severity: minor CC: bkohler, patrick, proxy-maint, swapon
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description dE 2012-06-24 16:43:48 UTC
First, it's bad for security, secondly, in my setup, it fails to work -- 

modprobe -f vboxdrv
FATAL: Error inserting vboxdrv (/lib/modules/3.4.2-gentoo-r1/misc/vboxdrv.ko): Invalid module format

I guess it's cause MODULE_SRCVERSION_ALL is enabled.
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2012-07-24 07:36:44 UTC
Can you be a bit more precise please? What does run "modprobe -f vboxdrv" on your system?
Comment 2 dE 2012-07-26 14:29:59 UTC
A script called VBox_load_modules exists in app-emulation/virtualbox which loads all virtualbox modules.

By default this script uses the -f switch with modprobe to load modules, which does not work on my system.
Comment 3 Ben Kohler gentoo-dev 2013-10-02 16:22:15 UTC
I don't see that this file still exists on current in-tree virtualbox-versions.  I've also done recursive greps for any modprobe calls in bundled scripts and I find no problems.  Please re-open the bug if you find that there is still a problem somewhere.