Bénédicités amis du chapeau,
J'ai un problème d'installation de VirtualBox. J'ai testé la version RPM-fusion, la version Oracle. Mais à la fin de l'install je tombe toujours sur le message bien connu :
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. If your system is using EFI Secure Boot you may need to sign the
kernel modules (vboxdrv, vboxnetflt, vboxnetadp, vboxpci) before you can load
them. Please see your Linux system's documentation for more information.
Quand je lance le bin ça fonctionne mais lorsque j'essaie de démarrer une VM, VirtualBox me renvoie
Kernel driver not installed (rc=-1908)
$ cat /var/log/vbox-setup.log
Building the main VirtualBox module.
Building the net filter module.
Building the net adaptor module.
Effectivement je suis en EFI
$ mokutil --sb-state
SecureBoot enabled
$ sudo akmods && systemctl restart systemd-modules-load.service
Checking kmods exist for 5.7.15-100.fc31.x86_64 [ OK ]
$ rpm -qa kernel\* | grep `uname -r` | sort
kernel-5.7.15-100.fc31.x86_64
kernel-core-5.7.15-100.fc31.x86_64
kernel-devel-5.7.15-100.fc31.x86_64
kernel-modules-5.7.15-100.fc31.x86_64
kernel-modules-extra-5.7.15-100.fc31.x86_64
$ systemctl status vboxdrv.service
● vboxdrv.service - VirtualBox Linux kernel module
Loaded: loaded (/usr/lib/virtualbox/vboxdrv.sh; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since Fri 2020-08-28 18:25:38 CEST; 17s ago
Process: 13880 ExecStart=/usr/lib/virtualbox/vboxdrv.sh start (code=exited, status=1/FAILURE)
CPU: 1min 1.092s
août 28 18:25:13 essai vboxdrv.sh[13880]: See the documenatation for your Linux distribution..
août 28 18:25:13 essai vboxdrv.sh[13880]: vboxdrv.sh: Building VirtualBox kernel modules.
août 28 18:25:13 essai vboxdrv.sh[13880]: /usr/lib/virtualbox/vboxdrv.sh: ligne 148: /var/log/vbox-setup.log: Permission non accordée
août 28 18:25:22 essai vboxdrv.sh[13880]: /usr/lib/virtualbox/vboxdrv.sh: ligne 148: /var/log/vbox-setup.log: Permission non accordée
août 28 18:25:28 essai vboxdrv.sh[13880]: /usr/lib/virtualbox/vboxdrv.sh: ligne 148: /var/log/vbox-setup.log: Permission non accordée
août 28 18:25:38 essai vboxdrv.sh[13880]: vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.
août 28 18:25:38 essai systemd[1]: vboxdrv.service: Control process exited, code=exited, status=1/FAILURE
août 28 18:25:38 essai systemd[1]: vboxdrv.service: Failed with result 'exit-code'.
août 28 18:25:38 essai systemd[1]: Failed to start VirtualBox Linux kernel module.
août 28 18:25:38 essai systemd[1]: vboxdrv.service: Consumed 1min 1.092s CPU time.
$ journalctl -xe
août 28 18:25:37 essai systemd[1]: fprintd.service: Succeeded.
-- Subject: Unit succeeded
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- The unit fprintd.service has successfully entered the 'dead' state.
août 28 18:25:37 essai audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=fprintd comm="systemd" ex>
août 28 18:25:38 essai vboxdrv.sh[17648]: VirtualBox kernel modules built.
août 28 18:25:38 essai kernel: Lockdown: modprobe: unsigned module loading is restricted; see man kernel_lockdown.7
août 28 18:25:38 essai vboxdrv.sh[13880]: vboxdrv.sh: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.
août 28 18:25:38 essai vboxdrv.sh[17650]: failed: modprobe vboxdrv failed. Please use 'dmesg' to find out why.
août 28 18:25:38 essai systemd[1]: vboxdrv.service: Control process exited, code=exited, status=1/FAILURE
-- Subject: Unit process exited
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- An ExecStart= process belonging to unit vboxdrv.service has exited.
--
-- The process' exit code is 'exited' and its exit status is 1.
août 28 18:25:38 essai systemd[1]: vboxdrv.service: Failed with result 'exit-code'.
-- Subject: Unit failed
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- The unit vboxdrv.service has entered the 'failed' state with result 'exit-code'.
août 28 18:25:38 essai systemd[1]: Failed to start VirtualBox Linux kernel module.
-- Subject: L'unité (unit) vboxdrv.service a échoué
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- L'unité (unit) vboxdrv.service a échoué, avec le résultat failed.
août 28 18:25:38 essai audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=vboxdrv comm="systemd" e>
août 28 18:25:38 essai systemd[1]: vboxdrv.service: Consumed 1min 1.092s CPU time.
-- Subject: Ressources consommées durant l'éxécution de l'unité (unit)
-- Defined-By: systemd
-- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- L'unité (unit) vboxdrv.service s'est arrêtée et a consommé les ressources indiquées.
août 28 18:25:38 essai polkitd[1147]: Unregistered Authentication Agent for unix-process:13852:238340 (system bus name :1.516, object path /org/freedesktop/P>
$ dmesg
Blahblah Ce qu'il y a avant ne me semble pas opportun mais dîtes moi si je me trompe
[ 529.843747] Lockdown: modprobe: unsigned module loading is restricted; see man kernel_lockdown.7
[ 2390.462759] Lockdown: modprobe: unsigned module loading is restricted; see man kernel_lockdown.7
[ 2414.619253] Lockdown: modprobe: unsigned module loading is restricted; see man kernel_lockdown.7
Du coup, je suis allé jeter un œil sur la page de
https://docs.fedoraproject.org/en-US/fedora/rawhide/system-administrators-guide/kernel-module-driver-configuration/Working_with_Kernel_Modules/#sect-signing-kernel-modules-for-secure-boot
Ça me paraît tout de même touchy pour mes compétences.
Au secours, Obi-Wan Kenobi. Vous êtes mon seul espoir...