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
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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 
Comment by Christian Hesse (eworm) - Friday, 11 January 2019, 10:27 GMT
The files belong to packages virtualbox-guest-utils and virtualbox-guest-utils-nox.
Comment by Malix (Malix) - Friday, 11 January 2019, 10:28 GMT
the service files from trunk don't work, so that *might* be the reason why they're not included in the package.

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.
Comment by Christian Hesse (eworm) - Friday, 11 January 2019, 10:31 GMT
Do you run a host or a guest? The service file is used on guests only.

Did you make sure the kernel modules are installed and loaded?
Comment by Malix (Malix) - Friday, 11 January 2019, 10:55 GMT
I am trying to start a guest, kernel modules are 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


Loading...