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

NFS problem in sharing an encrypted folder on host #41

@waynemerry

Description

@waynemerry

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions