Le mer. 14 déc. 2022 à 12:42, Sérgio M. Basto <sergiomb(a)rpmfusion.org> a écrit :
commit 7faa5ed40864b93ef5fb54e223701856db38ad5f
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Wed Dec 14 11:38:33 2022 +0000
we should restart vboxdrv just after akmods builds
VirtualBox.spec | 7 +++++--
1 file changed, 5 insertions(+), 2 deletions(-)
---
[ ... ]
@@ -700,7 +700,7 @@ fi
%systemd_preun vboxdrv.service
%postun server
-%systemd_postun_with_restart vboxdrv.service
+%systemd_postun vboxdrv.service
Note that this could work as-is on RHEL where we rely on pre-built
kmod (or maybe wait until %posttrans , maybe there is a need to double
check the snippets ordering)
But the assumption is that the VirtualBox process isn't running
already virtual machine. (or it may fail).
Also is there hard dependencies on vbox kmod/userspace version missmatch ?