Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 423355 - app-emulation/virtualbox - remove `-f' from VBox_load_modules
Summary: app-emulation/virtualbox - remove `-f' from VBox_load_modules
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: Lars Wendler (Polynomial-C)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-24 16:43 UTC by dE
Modified: 2013-10-02 16:22 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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) 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.

Thanks!