From owner-freebsd-bugs@freebsd.org Sun Oct 1 20:59:46 2017 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 13E95E2E663 for ; Sun, 1 Oct 2017 20:59:46 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EBCFF6ECA1 for ; Sun, 1 Oct 2017 20:59:45 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v91KxjYf011456 for ; Sun, 1 Oct 2017 20:59:45 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 222728] segfault during vagrant provision Date: Sun, 01 Oct 2017 20:59:45 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 10.3-STABLE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: andrew.pennebaker@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 01 Oct 2017 20:59:46 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D222728 Bug ID: 222728 Summary: segfault during vagrant provision Product: Base System Version: 10.3-STABLE Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: freebsd-bugs@FreeBSD.org Reporter: andrew.pennebaker@gmail.com I'm trying to run a shell script to install docker in FreeBSD on Vagrant, b= ut when I instruct Vagrant to run the script, it reports an ssh command failur= e. With debugging enabled, Vagrant shows this strange segfault near a chmod section. Trace: $ VAGRANT_LOG=3Ddebug vagrant provision ... DEBUG ssh: =3D=3D Net-SSH connection debug-level log END =3D=3D INFO ssh: Execute: chown -R vagrant /tmp/vagrant-shell (sudo=3Dtrue) DEBUG ssh: stderr: Segmentation fault DEBUG ssh: Exit status: 139 DEBUG ssh: Uploading: /var/folders/53/300vy1ys7tv8h8fr_z3tm8gr0000gn/T/vagrant-shell20171001-3401= -19khci5.sh to /tmp/vagrant-shell DEBUG ssh: Re-using SSH connection. INFO interface: detail: Running: /var/folders/53/300vy1ys7tv8h8fr_z3tm8gr0000gn/T/vagrant-shell20171001-3401= -19khci5.sh INFO interface: detail: default: Running: /var/folders/53/300vy1ys7tv8h8fr_z3tm8gr0000gn/T/vagrant-shell20171001-3401= -19khci5.sh default: Running: /var/folders/53/300vy1ys7tv8h8fr_z3tm8gr0000gn/T/vagrant-shell20171001-3401= -19khci5.sh DEBUG ssh: Re-using SSH connection. INFO ssh: Execute: chmod +x '/tmp/vagrant-shell' && /tmp/vagrant-shell (sudo=3Dtrue) DEBUG ssh: stderr: Segmentation fault DEBUG ssh: Exit status: 139 ERROR warden: Error occurred: The SSH command responded with a non-zero exit status. Vagrant assumes that this means the command failed. The output for this command should be in the log above. Please read the output to determine what went wrong. Vagrantfile: Vagrant.configure("2") do |config| config.vm.box =3D "freebsd/FreeBSD-10.3-STABLE" config.vm.guest =3D :freebsd config.vm.synced_folder ".", "/vagrant", id: "vagrant-root", disabled: tr= ue config.ssh.shell =3D "sh" config.vm.base_mac =3D "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 config.vm.provision "shell", path: "bootstrap.sh" end bootstrap.sh: #!/bin/sh echo "Bootstrapping..." # sudo kldload /boot/kernel/zfs.ko # sudo pkg install -y docker-freebsd ca_root_nss --=20 You are receiving this mail because: You are the assignee for the bug.=