Opened 11 years ago
Closed 8 years ago
#12890 closed defect (obsolete)
sleep in check_running in routines.sh is too short
Reported by: | magallz1 | Owned by: | |
---|---|---|---|
Component: | installer | Version: | VirtualBox 4.3.10 |
Keywords: | installer routines.sh check_running | Cc: | |
Guest type: | all | Host type: | Linux |
Description
I'm running Slackware 14.1 with kernel 3.10.17 and tried to upgrade to VirtualBox 4.3.10. The installer kept saying that VirtualBox was currently running and I needed to close it to continue. I confirmed no VMs were running and that the balloon and web services were stopped. I unloaded the kernel modules and confirmed that they were unloaded. I even commented out the start-up scripts and restarted. Still it would give this error.
I unpacked the installer and looked things over. Ultimately I found that check_running() in routines.sh was not waiting long enough on the sleep. On my system, one second is not long enough for everything to clear before the if statement runs. I changed this to sleep 5 and the installer runs perfectly.
Could the sleep command be changed to "sleep 5" instead of "sleep 1"? It might help others get VirtualBox installed on their Linux system.
Please reopen if still relevant with a recent VirtualBox release.