FS#61350 - [virtualbox] missing vboxservice.service and vboxservice-nox.service files
Attached to Project:
Community Packages
Opened by Malix (Malix) - Friday, 11 January 2019, 09:38 GMT
Last edited by Christian Hesse (eworm) - Friday, 11 January 2019, 15:03 GMT
Opened by Malix (Malix) - Friday, 11 January 2019, 09:38 GMT
Last edited by Christian Hesse (eworm) - Friday, 11 January 2019, 15:03 GMT
|
Details
Description:
Updated my system, it had older virtualbox installed (5.*, not sure), after rebooting I notice my headless vm's are not starting, systemctl status says virtualbox com service isn't running, and it isn't, since the service is nowhere to be found. the package is missing vboxservice.service and vboxservice-nox.service files, and therefore these services can't be started. These files can be seen in the trunk (https://git.archlinux.org/svntogit/community.git/tree/trunk?h=packages/virtualbox), they are not installed in PKGBUILD Additional info: * package version(s) * config and/or log files etc. Steps to reproduce: update from older vbox version to 6.0.0-2, reboot, see that vm services don't start # pacman -Qii virtualbox | grep Version Version : 6.0.0-2 # pacman -Qll virtualbox | grep service virtualbox /usr/lib/systemd/system/vboxweb.service only the vboxweb.service is in the package. |
This task depends upon
Closed by Christian Hesse (eworm)
Friday, 11 January 2019, 15:03 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#61225
Friday, 11 January 2019, 15:03 GMT
Reason for closing: Duplicate
Additional comments about closing:
How does one get the headless vm's to run then?
# vboxmanage list vms
VBoxManage: error: Failed to create the VirtualBox object!
VBoxManage: error: Code NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154) - Class not registered (extended info not available)
VBoxManage: error: Most likely, the VirtualBox COM server is not running or failed to start.
# vboxheadless -startvm "debbie"
Oracle VM VirtualBox Headless Interface 6.0.0
(C) 2008-2019 Oracle Corporation
All rights reserved.
VBoxHeadless: ERROR: failed to create the VirtualBoxClient object!
VBoxHeadless: error: Code NS_ERROR_FACTORY_NOT_REGISTERED (0x80040154) - Class not registered (extended info not available)
Most likely, the VirtualBox COM server is not running or failed to start.
Did you make sure the kernel modules are installed and loaded?
managed to solve this by applying head to brickwall for a bit: did a strace:
strace -s128 -f -o ~/log /usr/lib/virtualbox/VBoxHeadless -s debbie
and found this: 645 openat(AT_FDCWD, "/usr/lib/libopus.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
after installing libopusenc my vm started without issues