Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 197930

Summary: app-emulation/virtualbox-1.4.0 wrapper doesn't work with symlink (VirtualBox vs. virtualbox)
Product: Gentoo Linux Reporter: Markus Preis <markus.preis>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED TEST-REQUEST    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

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