Vagrant Shared Directory Hangs on Ubuntu 13.10
Performing any operation on the Vagrant shared directory hangs. E.g.
How to Fix It
- Update VirtualBox to a version greater than 4.3.
- In the same directory as your Vagrantfile, install the vagrant-vbguest
vagrant plugin install --plugin-source https://rubygems.org --plugin-prerelease vagrant-vbguest.
Detail: What causes this symptom
The problem occurs with the following configuration:
- Vagrant with VirtualBox below version 4.3.
- The official Ubuntu 13.10 box installed.
The shared folders hang because of a small bug that was fixed in version 4.3 of VirtualBox (see the bugfix in changeset 48529). Updating VirtualBox on the host machine is easy, you just install the latest version. Unfortunatly the bug wasn’t in the code for the host, but within the Guest Additions source (
trunk/src/VBox/Additions/linux/sharedfolders/dirops.c). The version of Guest Additions hard baked into the Ubuntu 13.10 Vagrant box is older than 4.3, so doesn’t have the fix.
vagrant-vbguest plugin sorts this by checking the version of the Guest Additions on startup, and updating it if neccessary.