Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Password prompt not working correctly when using NFS #182

Open
TheLalaMan opened this issue Jan 2, 2020 · 1 comment
Open

Password prompt not working correctly when using NFS #182

TheLalaMan opened this issue Jan 2, 2020 · 1 comment

Comments

@TheLalaMan
Copy link

I have set up a synced folder with NFS and now I'm required to supply my password when starting or reloading the machine. So far so good.

On the command line it all works as expected, but when using Vagrant Manager, a password prompt appears, and even though I input the correct password, it keeps reappearing and then the operation fails (see log file extract below).

Vagrant Manager: 2.7.1
Host: macOS 10.14.6
Vagrant: 2.2.6
Virtualbox: 6.0.14 r133895
Guest: CentOS

==> master: Preparing to edit /etc/exports. Administrator privileges will be required...
tee: /etc/exports: Operation not permitted
tee: /etc/exports: Operation not permitted
tee: /etc/exports: Operation not permitted
==> master: 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 192.168.56.1:/*** /var/www/***

Stdout from the command:



Stderr from the command:

mount.nfs: requested NFS version or transport protocol is not supported```
@TheLalaMan
Copy link
Author

Additionally, even after implementing https://www.vagrantup.com/docs/synced-folders/nfs.html#root-privilege-requirement, it still fails with the same error. In my own terminal, everything works as expected.

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

No branches or pull requests

1 participant