Skip to content

Fatal error when defining NFS mounted folders on macOS #77

Description

@jackatpitch

Describe the bug

Defining a synced folder on macOS using NFS causes fatal errors that prevent Vagrant from running at all. I think this is a vagrant-tart issue, but I could be wrong.

To Reproduce

  1. Copy below Vagrantfile
  2. vagrant up

Expected behavior

It boots and syncs.

Actual behavior

Error:

No valid IDs were given to the NFS synced folder implementation to
prune. This is an internal bug with Vagrant and an issue should be
filed

Versions (please complete the following information)::

  • Operating system: Apple M1 Pro, Tahoe 26.4.1, Darwin Tests-MacBook-Pro.local 25.4.0 Darwin Kernel Version 25.4.0: Thu Mar 19 19:30:44 PDT 2026; root:xnu-12377.101.15~1/RELEASE_ARM64_T6000 arm64
  • Tart version [ouput of tart version]: 2.32.1
  • Vagrant version [output of vagrant version]: 2.4.9
  • Vagrant flavour [Upstream or Distro]: whatever homebrew installls
  • Vagrant plugins versions (including vagrant-tart) [output of vagrant plugin list]:
vagrant-tart (1.0.0, global)

Debug Log

vagrant.log

Vagrant.configure("2") do |config|
  config.vm.define "sandbox" do |sandbox|
    sandbox.vm.provider "tart" do |tart|
      tart.image = "ghcr.io/cirruslabs/ubuntu:latest"
      tart.name = "ubuntu-base"
      tart.disk = 20
      tart.memory = 2048
    end

    sandbox.ssh.username = 'admin'
    sandbox.ssh.password = 'admin'

    sandbox.vm.synced_folder ".", "/src/",
      type: 'nfs',
      nfs_udp: false,
      nfs_export: true
  end
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions