Opened 8 years ago
Closed 3 years ago
#17034 closed defect (obsolete)
ExtPack installation failure
Reported by: | D-H | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 5.1.26 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | Linux |
Description
I have VirtualBox running as an unprivileged user on a RHEL 7.4 server with no GUI, phpvirtualbox is installed on this machine. I've recently upgraded to 5.1.26 and I'm trying to install the extension pack so I have console access to my VMs which are mostly used as build machines.
Trying to install as the unprivileged user gives the following error:
vbox@virthost:~$ vboxmanage extpack install ~/Oracle_VM_VirtualBox_Extension_Pack-5.1.26-117224.vbox-extpack --accept-license=715c7246dc0f779ceab39446812362b2f9bf64a55ed5d3a905f053cfab36da9e License accepted. 0%... Progress state: NS_ERROR_FAILURE VBoxManage: error: Failed to install "/repo/vbox/vbox/Oracle_VM_VirtualBox_Extension_Pack-5.1.26-117224.vbox-extpack" VBoxManage: error: The installer failed with exit code 127: Error creating textual authentication agent: Error opening current controlling terminal for the process (`/dev/tty'): No such device or address VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ExtPackManagerWrap, interface IExtPackManager VBoxManage: error: Context: "RTEXITCODE handleExtPack(HandlerArg*)" at line 1201 of file VBoxManageMisc.cpp vbox@virthost:~$
It is possible to install the extpack as root or with sudo but this only makes the extensions available for root and not as the unprivileged user that is running the VMs.
Change History (11)
comment:1 by , 8 years ago
comment:2 by , 8 years ago
Hi Frank,
I can install OK as root or using sudo
vbox@virthost:~$ sudo vboxmanage extpack install ./Oracle_VM_VirtualBox_Extension_Pack-5.1.26-117224.vbox-extpack --accept-license=715c7246dc0f779ceab39446812362b2f9bf64a55ed5d3a905f053cfab36da9e License accepted. 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100% Successfully installed "Oracle VM VirtualBox Extension Pack".
But the extpack is not available to the unprivileged user.
vbox@virthost:~$ vboxmanage list extpacks Extension Packs: 0
It's only available to root
vbox@virthost:~$ sudo vboxmanage list extpacks Extension Packs: 1 Pack no. 0: Oracle VM VirtualBox Extension Pack Version: 5.1.26 Revision: 117224 Edition: Description: USB 2.0 and USB 3.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption, NVMe. VRDE Module: VBoxVRDP Usable: true Why unusable: vbox@virthost:~$
comment:3 by , 8 years ago
Thread on your forums here: https://forums.virtualbox.org/viewtopic.php?f=7&t=84195
comment:4 by , 8 years ago
Hmm, that used to work! Which VirtualBox package (exact name please) are you using?
comment:5 by , 8 years ago
VirtualBox-5.1-5.1.26_117224_el7-1.x86_64.rpm Oracle_VM_VirtualBox_Extension_Pack-5.1.26-117224.vbox-extpack
comment:8 by , 3 years ago
Hi Maico. This issue is still marked new.
It also still fails in VB 6.1.26 on final Centos 6.
Was any resolution found?
comment:9 by , 3 years ago
Hi klydar,
Have you tried the latest official release 6.1.26 (https://www.virtualbox.org/wiki/Linux_Downloads)? I do not see the issue with it.
comment:10 by , 3 years ago
Hi, I had the exact same problem too, so found here. I am using VB 6.1.34 r150636, Manjaro 5.15.48.
I solved the problem by doing another install under the normal user, it seems that the normal user and root permissions were fixed by coincidence in this install.
~ vboxmanage extpack install Oracle_VM_VirtualBox_Extension_Pack-6.1.34.vbox-extpack ... ... VBoxManage: error: Extension pack 'Oracle VM VirtualBox Extension Pack' is already installed. In case of a reinstallation, please uninstall it first VBoxManage: error: Details: code NS_ERROR_FAILURE (0x80004005), component ExtPackManagerWrap, interface IExtPackManager VBoxManage: error: Context: "RTEXITCODE handleExtPack(HandlerArg*)" at line 1424 of file VBoxManageMisc.cpp
then you can list it
~ vboxmanage list extpacks Extension Packs: 1 Pack no. 0: Oracle VM VirtualBox Extension Pack Version: 6.1.34 Revision: 150636 Edition: Description: Oracle Cloud Infrastructure integration, USB 2.0 and USB 3.0 Host Controller, Host Webcam, VirtualBox RDP, PXE ROM, Disk Encryption, NVMe. VRDE Module: VBoxVRDP Usable: true Why unusable:
comment:11 by , 3 years ago
Resolution: | → obsolete |
---|---|
Status: | new → closed |
Hi guys,
I do not see the issue with VirtualBox 6.1.36. Extension Pack can be installed either with "sudo VBoxManage extpack install.." or without involving sudo. In the second case, your Linux distribution is expected to have installed either kdesudo, gksu, pkexec or su tool for Extension Pack installer to ask root password.
In both cases, "VBoxManage list extpacks" is showing installed Extension Pack as a result.
klydar, I am also able to install extpack 6.1.36 into ContOS 6.6. I assume this issue was fixed long time ago. Closing it.
Sorry, but installing the Extension Pack as root does NOT restrict the Extension Pack for unprivileged users. So running
should fix your problem.