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
macOS host crash with nfs enabled in Vagrant #8331
Comments
I do have the same problem as you stated. I have a C/C++ project that is mounted trough NFS and when I try to compile the program, MacOS crash (kernel panic). Some times it go well and I cannot figure out what is causing this. I even have a more basic vagrant file compared to yours:
(DNFC is the name of the C/C++ project) Another strange thing I notice is that vagrant is telling me that the NFS mounting feature on FreeBSD is currently not supported but, in fact, it mount anyway and I do have plain access to my folder. As I said some times it go well and I can compile on the guest and sometimes it cause MacOSX to crash. |
I found this discussion on Apple: https://discussions.apple.com/thread/7760267 I suggest you to do the same, as it seems there is no easy solution so far. Anyway, my Vagrant is not complaining about FreeBSD being unable to mount NFS paths. |
Hi there. This looks to be an upstream bug with MacOS. I'm going to close this issue as there does not appear any action to be taken from Vagrant itself. If I am mistaken and there is a specific issue with Vagrant causing this issue, please feel free to reopen this issue. Thanks! |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Hi there,
I have a very annoying issue with my FreeBSD guest machine. Every time I try to use NFS as shared folder mechanism, my macOS brutally crashes and reboots (kernel panic). This happens after
vagrant up
and while I'm using the guest. Usually while I'm writing something in the shared folder. I'm not sure this is really a Vagrant issue, but I'm running out of ideas and I need some clues to solve this annoying issue.Vagrant version
Vagrant 1.9.2 (also occurring with 1.9.1)
Host operating system
macOS Sierra 10.12.3 (16D32)
with VirtualBox 5.1.14 r112924 (Qt5.6.2)
Guest operating system
FreeBSD 11.0-STABLE
Vagrantfile
Output and Other Info
macOS's console log doesn't show anything related to
nfs
around the time of the crash. Unfortunately I don't have any crash report, yet the previous time this issue occurred a crash report was generated by macOS. The cause of the crash wasnfsd
.The issue seems to happen randomly. Sometimes I can work for hours. To open this report I replicated the issue disabling almost everything on my mac (no antivirus, no firewalls, no other app running). Here a timeline of the events:
Files are correctly shared, both directions, until the crash.
Here the
/etc/exports
file as generated by Vagrant:Expected behavior
The host shouldn't crash while using nfs' synced folders.
Actual behavior
The host crashes and reboots while using nfs' synced folders.
Workaround
I'm currently using
rsync
but is not an optimal solution.Steps to reproduce
vagrant up; vagrant ssh
;Thank you all.
The text was updated successfully, but these errors were encountered: