Ticket #3753 (closed defect: fixed)
Error stopping vbox with mounted shared folder on LFS/bash-4.0 guest
|Reported by:||ilya||Owned by:|
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.