Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 197930 - app-emulation/virtualbox-1.4.0 wrapper doesn't work with symlink (VirtualBox vs. virtualbox)
Summary: app-emulation/virtualbox-1.4.0 wrapper doesn't work with symlink (VirtualBox ...
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-11-03 09:08 UTC by Markus Preis
Modified: 2007-11-03 09:14 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Preis 2007-11-03 09:08:06 UTC
During the installation the ebuild creates the symlinks :
dosym /opt/VirtualBox/wrapper.sh /usr/bin/virtualbox
dosym /opt/VirtualBox/wrapper.sh /usr/bin/vboxmanage
dosym /opt/VirtualBox/wrapper.sh /usr/bin/vboxsdl

but the wrapper.sh check the corrct Spelling of calling with:
case "$APP" in
  VirtualBox)
    exec "$INSTALL_DIR/VirtualBox" "$@"
  ;;
  VBoxManage)
    exec "$INSTALL_DIR/VBoxManage" "$@"
  ;;
  VBoxSDL)
    exec "$INSTALL_DIR/VBoxSDL" "$@"
  ;;
  *)
    echo "Unknown application - $APP"
  ;;
esac

So I've got allways the message Unknown application - virtualbox



Reproducible: Always

Steps to Reproduce:
1.
master markus # groups
root bin daemon sys adm disk wheel floppy dialout tape video lpadmin plugdev vboxusers
2.
master markus # virtualbox
Unknown application - virtualbox
3.
master markus # vboxmanage
Unknown application - vboxmanage
4.
master markus # vboxsdl
Unknown application - vboxsdl




After recreate the symlink with corrct upper/lowercase all works as aspected.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-11-03 09:14:02 UTC
Reopen if you have problems w/ 1.5.2