Page MenuHomePhabricator

Add a setting to enable mounting nfs through 'TCP' protocol in Mediawiki-Vagrant
Closed, ResolvedPublic

Description

I think it'd be a good idea if Mediawiki-Vagrant had a setting to enable "mounting nfs with TCP protocol".

I want this setting to be added to Mediawiki-Vagrant since I have this problem with my mediawiki-vagrant:

....
zero exit status. (Vagrant::Errors::NFSMountFailed)
Vagrant assumes that this means the command failed!

mount -o vers=3,udp,noatime,rsize=32767,wsize=32767,async 10.11.12.1:/home/rafid/WikimediaGerrit/mediawiki-vagrant /vagrant

Stdout from the command:



Stderr from the command:

mount.nfs: requested NFS version or transport protocol is not supported
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

mount -o vers=3,udp,noatime,rsize=32767,wsize=32767,async 10.11.12.1:/home/rafid/WikimediaGerrit/mediawiki-vagrant /vagrant

Stdout from the command:



Stderr from the command:

mount.nfs: requested NFS version or transport protocol is not supported

(Currently I'm using Fedora 28, with mediawiki-vagrant provider 'virtualbox')

And to overcome this, I have to edit the Vagrantfile file manually and add tcp protocol to the nfs mount options.

I wish the setting can be added in the future, so I (and perhaps the future users of Mediawiki-vagrant) can get the mediawiki-vagrant up without editing the Vagrantfile first. Any thoughts are welcome!