Closed Tecktron closed 7 years ago
I found this to be the cause of issue
VM: /opt => /home/tecktron/vm-shared
You should not mount anything directly into /opt
directory as the guest additions also uses this folder and if you're making a mount point of it, it can't read that directory, hence the permissions error.
The fix was simple, mount on to a different or sub-directory instead.
I have a vagrant box with a vbox provisioner, it's nothing very fancy, using the default sync. It's working fine, but takes forever if I have to spin it up several times, and found this plugin that looks to be an amazing shortcut. However, whenever I try and use it, I get an error mounting the cache dir and thus can't use it.
I'm running Ubuntu 15.10 and am using the latest version of debian/jessie64 box. With Virtualbox 5.0.14_Ubuntu and GuestAdditions 5.0.14_Ubuntu This is on vagrant 1.8.1 With Plugins: vagrant-cachier (1.2.1) vagrant-env (0.0.3) vagrant-reload (0.0.1) vagrant-share (1.1.5, system) vagrant-vbguest (0.11.0)
When I add this to my Vagrantfile:
I see it try and mount the folder:
But then, it sits there for a few seconds before it gives me this error:
Everything dies there. It would seem that it's trying to mount the folder before the guest additions are not finished? Maybe there's a permission issue (although I own everything)? IDK.
I ran dmesg | tail as suggested which gives me
I'm hoping someone has also had this issue and maybe has some answers. Thanks