﻿id,summary,reporter,owner,description,type,status,component,version,resolution,keywords,cc,guest,host
17639,synced folder not working  (Ubuntu 16.04 hosting debian/stretch64 9.4.0 ),axd,,"When setting up a VM via '''Vagrant 2.0.1''' using '''VirtualBox 5.2.8''' and guest additions 5.2.8, touching a file in the default synced folder /vagrant does not make that file appear on the host side.

a similar test works fine for a guest of type ""ubuntu/xenial64 v20180215.0.0"".

how to reproduce: create following Vagrantfile (also attached):


{{{
Vagrant.configure(""2"") do |config|

      config.vm.box = ""debian/stretch64"" # or generic/debian9
      config.vm.box_version = ""9.4.0""
      config.ssh.insert_key = false

      config.vm.network ""private_network"", ip: ""192.168.33.10""
end
}}}

and the run following script from the hos:

{{{
#!/usr/bin/env bash

# to run from tools/vagrant/

set -x
set -e
set -u

GUEST=${1:-""default""} #$1    # name from `vagrant status`

export VERSION=5.2.8   # must be equal to the VirtualBox version!
export URL=""http://download.virtualbox.org/virtualbox/""$VERSION""/VBoxGuestAdditions_""$VERSION"".iso""

time vagrant ssh $GUEST << HERE

set -e
set -x

sudo bash

apt-get update

apt-get install -y dkms build-essential

apt-get install -y linux-headers-amd64 linux-headers-4.9.0-4-amd64

apt-get install -y module-assistant

cd /opt/

wget -c $URL -O vb.iso
mount vb.iso -o loop /mnt

cd /mnt/
sh ./VBoxLinuxAdditions.run --nox11

cd /opt
sudo rm *.iso

lsmod | grep vboxguest || echo ""*** something went wrong while attempting to install the guest additions""

HERE


}}}

touch a file in /vagrant

observe that the file does not appear in the host location.

",defect,new,guest additions,VirtualBox 5.2.8,,,,Linux,Linux
