NFS problem in sharing an encrypted folder on host
waynemerry opened this issue · comments
After going through the setup process as documented on an Ubuntu 16.04 host, the vagrant up command ends with a non zero exit status with:
==> default: Checking for guest additions in VM...
==> default: Setting hostname...
==> default: Configuring and enabling network interfaces...
==> default: Exporting NFS shared folders...
==> default: Preparing to edit /etc/exports. Administrator privileges will be required...
==> default: Mounting NFS shared folders...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!
mount -o vers=3,udp 1.2.3.1:/home/wayne/Documents/Programming/git/django /django
Stdout from the command:
Stderr from the command:
mount.nfs: access denied by server while mounting 1.2.3.1:/home/wayne/Documents/Programming/git/django
As discussed at hashicorp/vagrant#5424, this issue appears to be an issue with NFS being unable to share a folder that is part of an encrypted (ecryptfs) volume. In my case /home/wayne is an ecryptfs volume
Due to the failure of the NFS share, /django in the test box is empty and therefore no tests can be run