[Bug 222704] `sudo pkg update` segfaults in Vagrant

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Sep 30 17:21:16 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=222704

            Bug ID: 222704
           Summary: `sudo pkg update` segfaults in Vagrant
           Product: Base System
           Version: 11.1-STABLE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: freebsd-bugs at FreeBSD.org
          Reporter: andrew.pennebaker at gmail.com

Apologies, I am new to FreeBSD. I'ved used Linux package managers, but I'm just
starting to learn how to use FreeBSD packages/ports, so forgive my syntax.

When I try to run sudo pkg update in FreeBSD 11.1-STABLE in Vagrant, I get a
segfault.

Trace:

vagrant@:~ % sudo pkg update
Segmentation fault

Vagrantfile:

Vagrant.configure("2") do |config|
  config.vm.box = "freebsd/FreeBSD-11.1-STABLE"

  config.vm.guest = :freebsd
  config.vm.synced_folder ".", "/vagrant", id: "vagrant-root", disabled: true
  config.ssh.shell = "sh"
  config.vm.base_mac = "080027D14C66"

  config.vm.provider :virtualbox do |vb|
   vb.customize ["modifyvm", :id, "--memory", "1024"]
   vb.customize ["modifyvm", :id, "--cpus", "1"]
   vb.customize ["modifyvm", :id, "--hwvirtex", "on"]
   vb.customize ["modifyvm", :id, "--audio", "none"]
   vb.customize ["modifyvm", :id, "--nictype1", "virtio"]
   vb.customize ["modifyvm", :id, "--nictype2", "virtio"]
  end
end

I'm using Vagrant v2.0 with VirtualBox 5.1.10r112026 on macOS Sierra 10.12.6,
by the way.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list