I hit a problem with the latest version of the debian/jessie64 box for vagrant.
Instead of virtualbox’ shared folders, the default sync method has been set to rsync. For lots of my projects I use symlinks, which aren’t properly rsynced by vagrant. If I force vagrant to use virtual box’s shared folders again, it also fails.
Failed to mount folders in Linux guest. This is usually because
the "vboxsf" file system is not available. Please verify that
the guest additions are properly installed in the guest and
can work properly. The command attempted was:
mount -t vboxsf -o uid=`id -u vagrant`,gid=`getent group vagrant | cut -d: -f3` vagrant /vagrant
mount -t vboxsf -o uid=`id -u vagrant`,gid=`id -g vagrant` vagrant /vagrant
The error output from the last command was:
stdin: is not a tty
mount: unknown filesystem type ‘vboxsf’
There was an error when attempting to rsync a synced folder.
Please inspect the error message below for more info.
Host path: /Users/bas/scm/marietje/
Guest path: /vagrant
Command: rsync --verbose --archive --delete -z --copy-links --no-owner --no-group --rsync-path sudo rsync -e ssh -p 2222 -o ControlMaster=auto -o ControlPath=/var/folders/pc/lwlntsnj5bz17sg593fb7y940000gn/T/ssh.214 -o ControlPersist=10m -o StrictHostKeyChecking=no -o IdentitiesOnly=true -o UserKnownHostsFile=/dev/null -i '/Users/bas/scm/marietje/.vagrant/machines/default/virtualbox/private_key' --exclude .vagrant/ /Users/bas/scm/marietje/ email@example.com:/vagrant
Error: Warning: Permanently added '[127.0.0.1]:2222' (ECDSA) to the list of known hosts.
symlink has no referent: "/Users/bas/scm/marietje/py/bertha"
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1236) [sender=3.1.1]