Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 196949 - =app-emulation/virtualbox-1.4.0, permission problems, etc.
Summary: =app-emulation/virtualbox-1.4.0, permission problems, etc.
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Markus Ullmann (RETIRED)
Depends on:
Reported: 2007-10-24 17:56 UTC by Itay Perl
Modified: 2007-10-29 10:30 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Itay Perl 2007-10-24 17:56:54 UTC
1. At first running "virtualbox" gave me this error: "Could not find VirtualBox installation. Please reinstall."
I had to manually touch /etc/vbox/vbox.cfg and chown it root:vboxusers to make this error disappear.

2. The symbolic links in /usr/bin were owned by root:root. I had to manually chown them to root:vboxusers so non-root users can use them.

3. Then I tried running "virtualbox" again and got: "Unknown application - virtualbox". The wrapper seems to only recogzine "VirtualBox" (caps), so I had to manually rename the links in /usr/bin (virtualbox, vboxmanage, vboxsdl => VirtualBox, VBoxManage, VBoxSDL).

4. Then I got this:
/usr/bin/VirtualBox: line 102: /VirtualBox: No such file or directory
/usr/bin/VirtualBox: line 102: exec: /VirtualBox: cannot execute: No such file or directory
The wrapper tries to exec $INSTALL_DIR/VirtualBox. INSTALL_DIR is not defined.
So, I did an export INSTALL_DIR=/opt/VirtualBox, and then I could at last get VirtualBox to start.

By the way, why is virtualbox installed in /opt ?


Reproducible: Always

Steps to Reproduce:
1. emerge =app-emulation/virtualbox-1.4.0
2. virtualbox
Comment 1 Markus Ullmann (RETIRED) gentoo-dev 2007-10-28 21:16:30 UTC
retry with 1.5.2 please
Comment 2 Itay Perl 2007-10-29 00:17:47 UTC
That's ~ but oh well... Yup, all OK in 1.5.2.
Comment 3 Markus Ullmann (RETIRED) gentoo-dev 2007-10-29 10:30:03 UTC
Already triggered arch teams to stable it so that should happen soonish.
Thanks for the feedback :)