Bug ID 1137161
Summary vboxdrv.service fails to start after kernel upgrades
Classification openSUSE
Product openSUSE Tumbleweed
Version Current
Hardware x86-64
OS Other
Status NEW
Severity Normal
Priority P5 - None
Component Virtualization:Other
Assignee virt-bugs@suse.de
Reporter draeath@gmail.com
QA Contact qa-bugs@suse.de
Found By ---
Blocker ---

Created attachment 806691 [details]
init script and the broken shell script it calls

Information for package virtualbox:
-----------------------------------
Repository     : Main Repository (OSS)    
Name           : virtualbox               
Version        : 6.0.6-1.7                
Arch           : x86_64                   
Vendor         : openSUSE                 
Installed Size : 39.0 MiB                 
Installed      : Yes                      
Status         : up-to-date               
Source package : virtualbox-6.0.6-1.7.src

After installing a kernel upgrade, the virtualbox kernel modules require a
rebuild. However, this process (instigated by
/usr/lib/systemd/system/vboxdrv.service) fails as a function is missing (?)
from the script /usr/lib/virtualbox/vboxdrv.sh.

Journalctl detail:
ginnungagap:~ # systemctl status vboxdrv.service
��� vboxdrv.service - VirtualBox Linux kernel module
   Loaded: loaded (/usr/lib/virtualbox/vboxdrv.sh; disabled; vendor preset:
disabled)
   Active: failed (Result: exit-code) since Mon 2019-06-03 14:35:52 EDT; 15min
ago

Jun 03 14:35:51 ginnungagap systemd[1]: Starting VirtualBox Linux kernel
module...
Jun 03 14:35:52 ginnungagap vboxdrv.sh[1315]: vboxdrv.sh: Starting VirtualBox
services.
Jun 03 14:35:52 ginnungagap vboxdrv.sh[1315]: /usr/lib/virtualbox/vboxdrv.sh:
line 224: setup: command not found
Jun 03 14:35:52 ginnungagap vboxdrv.sh[1315]: vboxdrv.sh: failed: modprobe
vboxdrv failed. Please use 'dmesg' to find out why.
Jun 03 14:35:52 ginnungagap systemd[1]: vboxdrv.service: Control process
exited, code=exited, status=1/FAILURE
Jun 03 14:35:52 ginnungagap systemd[1]: vboxdrv.service: Failed with result
'exit-code'.
Jun 03 14:35:52 ginnungagap systemd[1]: Failed to start VirtualBox Linux kernel
module.


--------------

The script itself has no defined setup() function, which is attempted to be
called on line 224. I think that the intent is that the script would call
itself with the setup argument - see the case statement entry on line 425.


You are receiving this mail because: