Opened 7 years ago
#17258 new defect
vbox kernel modules should be signed for OL7
Reported by: | dbv | Owned by: | |
---|---|---|---|
Component: | installer | Version: | VirtualBox 5.2.0 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | other |
Description
For OL7 running on a server with Secure Boot installation of VirtualBox will fail:
fslin1:/root # yum install VirtualBox-5.1 ... Running transaction
Installing : VirtualBox-5.1-5.1.30_118389_el7-1.x86_64 1/1
Creating group 'vboxusers'. VM users must be member of that group!
vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.
There were problems setting up VirtualBox. To re-start the set-up process, run
/sbin/vboxconfig
as root.
Verifying : VirtualBox-5.1-5.1.30_118389_el7-1.x86_64 1/1
Installed:
VirtualBox-5.1.x86_64 0:5.1.30_118389_el7-1
Complete''
The reason for failure is the absence of module signature:
fslin1:/root # modprobe vboxdrv modprobe: ERROR: could not insert 'vboxdrv': Required key not available
And the module is not signed:
fslin1:/root # cd /lib/modules/uname -r
/misc
fslin1:/lib/modules/4.1.12-94.3.9.el7uek.x86_64/misc # ls
vboxdrv.ko vboxnetadp.ko vboxnetflt.ko vboxpci.ko
fslin1:/lib/modules/4.1.12-94.3.9.el7uek.x86_64/misc # modinfo vboxdrv.ko
filename: /lib/modules/4.1.12-94.3.9.el7uek.x86_64/misc/vboxdrv.ko
version: 5.1.30 r118389 (0x002a0000)
license: GPL
description: Oracle VM VirtualBox Support Driver
author: Oracle Corporation
srcversion: 8FBD7594E804ED618ED1A07
depends:
vermagic: 4.1.12-94.3.9.el7uek.x86_64 SMP mod_unload modversions
parm: force_async_tsc:force the asynchronous TSC mode (int)
There is no 'signer', 'sig_key' & 'sig_hashalgo' in the above. Would you be able to sign VBox modules accordingly?