[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: vagrant debian/jessie64 symlink regression



Hi Bas,

Thanks for emailing!

Consider this base box instead: https://atlas.hashicorp.com/debian/boxes/contrib-jessie64

See this discussion for more details: https://lists.debian.org/debian-cloud/2015/12/msg00003.html

Let me know if that takes care of your problem.

On Mon, Jan 4, 2016 at 9:58 AM, Bas Westerbaan <bas@westerbaan.name> wrote:
Hi,

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[2].  If I force vagrant to use virtual box’s shared folders again, it also fails[1].

Best,

 Bas




[1]
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’

[2]
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/ vagrant@127.0.0.1:/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]


Reply to: