Bug 25070

Summary: vboxconfig is missing in /sbin/ preventing the vboxdrv kernel module to be installed
Product: Mageia Reporter: Kristoffer Grundström <lovaren>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal CC: lovaren, tmb
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: virtualbox CVE:
Status comment:

Description Kristoffer Grundström 2019-07-08 08:02:12 CEST
Description of problem: I installed Virtualbox in Cauldron and as I got no menu entry in MATE Program menu I had to open Virtualbox from a terminal window. Running VirtualBox showed this error:

WARNING: The vboxdrv kernel module is not loaded. Either there is no module
         available for the current kernel (5.1.15-desktop-1.mga8) or it failed to
         load. Please recompile the kernel module and install it by

           sudo /sbin/vboxconfig

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

So I opened a new tab and ran sudo /sbin/vboxconfig and typed my password and pressed Enter which then gave me:

sudo: /sbin/vboxconfig: command not found

I checked with ll if there is a vboxconfig in /sbin/ and this is the result:

[root@localhost ~]# ll /sbin/

-rwxr-xr-x 1 root root       45592 maj  6 18:30 v4l2-dbg*
-rwxr-xr-x 1 root root       47248 feb 12 18:44 veritysetup*
lrwxrwxrwx 1 root root           3 dec 29  2018 vgcfgbackup -> lvm*
lrwxrwxrwx 1 root root           3 dec 29  2018 vgcfgrestore -> lvm*
lrwxrwxrwx 1 root root           3 dec 29  2018 vgchange -> lvm*

It should be between v4l2-dbg* and veritysetup*, but it isn't.

Version-Release number of selected component (if applicable): 6.0.8

How reproducible: All the time.

Steps to Reproduce:
1. Make sure you're using Cauldron in a physical machine.
2. Login to MATE.
3. Install Virtualbox.
4. Install the extpack.
5. Now open VirtualBox in a terminal window.
6. Voila! The kernel module is not installed and the suggested command sudo /sbin/vboxconfig does not work because there is no vboxconfig in /sbin/
Comment 1 Kristoffer Grundström 2019-07-08 08:03:21 CEST
I have installed dkms-virtualbox as well in case it's needed, but I still get the same error.
Kristoffer Grundström 2019-07-08 08:03:32 CEST

CC: (none) => hamnisdude

Comment 2 Thomas Backlund 2019-07-08 10:33:06 CEST
We dont ship /sbin/vboxconfig as we provide our own dkms package and also provide prebuilt kmods...

I guess I should patch out that code suggesting vboxconfig stuff...


If you use dkms-virtualbox, you must also have the kernel-*-devel package  matching the running kernel installed, or alternatively install the prebuilt virtualbox-kernel-* matching the running kernel

Resolution: (none) => INVALID
Status: NEW => RESOLVED
CC: (none) => tmb