Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

NFS problem in sharing an encrypted folder on host #41

Open
waynemerry opened this issue Oct 18, 2018 · 0 comments
Open

NFS problem in sharing an encrypted folder on host #41

waynemerry opened this issue Oct 18, 2018 · 0 comments

Comments

@waynemerry
Copy link

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant