Hi,
I'm running the latest version of macOS 10.14 public beta (which lags behind the developer beta), and I'm running into problems using the latest version of both Vagrant (2.1.5) and VirtualBox (5.2.18) and NFS sharing.
Whenever I boot my vagrant box, I get the following error:
==> default: Exporting NFS shared folders...
==> default: 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
The nfsd service does not appear to be running.
Starting the nfsd service
==> 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 192.168.254.1:/Users/<user>/<path> /vagrant
Stdout from the command:
Stderr from the command:
mount.nfs: Connection timed out
Looking into it further, it seems that /etc/exports doesn't currently exist, and creating it manually also fails (both as regular user and root). I've read up about it saw that the file is protected by the System Integrity Protection. Using csrutil to disable it seems to work, so at least I found a workaround.
However, I can not believe that would be the final solution, as that poses a major security thread.
Is there anybody else that has the same problem, or can confirm that it has been fixed in later developer betas?