Ticket #3753 (closed defect: fixed)

Opened 9 years ago

Last modified 7 years ago

Error stopping vbox with mounted shared folder on LFS/bash-4.0 guest

Reported by: ilya Owned by:
Priority: major Component: shared folders
Version: VirtualBox 2.2.0 Keywords:
Cc: Guest type: Linux
Host type: Windows


When trying to make "/etc/rc.d/init.d/vboxadd stop" with mounted folder the script fails on Linux From Scratch with bash 4.0. The problem seems to be in the stop() function in the /etc/rc.d/init.d/vboxadd. In the beginning of stop() it has

if !umount -a -t vboxsf 2>/dev/null; then

The absence of space between ! and umount seem to cause the problem because the shell interprets it incorrectly. Maybe it's a change in bash. When I added the space between ! and umount everything started to work.

Change History

comment:1 Changed 7 years ago by frank

  • Status changed from new to closed
  • Resolution set to fixed

Fixed long time ago.

Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use