Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Mar 2020 12:20:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 245051] Vagrant image for 12.1 can't start shell
Message-ID:  <bug-245051-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D245051

            Bug ID: 245051
           Summary: Vagrant image for 12.1 can't start shell
           Product: Base System
           Version: 12.1-STABLE
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: misc
          Assignee: bugs@FreeBSD.org
          Reporter: ruslan.yakauleu@gmail.com

By this doc https://www.freebsd.org/releases/12.1R/announce.html

$ vagrant init freebsd/FreeBSD-12.1-RELEASE
$ vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
=3D=3D> default: Box 'freebsd/FreeBSD-12.1-RELEASE' could not be found. Att=
empting
to find and install...
    default: Box Provider: virtualbox
    default: Box Version: >=3D 0
=3D=3D> default: Loading metadata for box 'freebsd/FreeBSD-12.1-RELEASE'
    default: URL: https://vagrantcloud.com/freebsd/FreeBSD-12.1-RELEASE
=3D=3D> default: Adding box 'freebsd/FreeBSD-12.1-RELEASE' (v2019.11.01) for
provider: virtualbox
    default: Downloading:
https://vagrantcloud.com/freebsd/boxes/FreeBSD-12.1-RELEASE/versions/2019.1=
1.01/providers/virtualbox.box
    default: Download redirected to host:
vagrantcloud-files-production.s3.amazonaws.com
=3D=3D> default: Successfully added box 'freebsd/FreeBSD-12.1-RELEASE'
(v2019.11.01) for 'virtualbox'!
=3D=3D> default: Importing base box 'freebsd/FreeBSD-12.1-RELEASE'...
=3D=3D> default: Generating MAC address for NAT networking...
=3D=3D> default: Checking if box 'freebsd/FreeBSD-12.1-RELEASE' version
'2019.11.01' is up to date...
=3D=3D> default: Setting the name of the VM: vm_default_1585136809769_53470
Vagrant is currently configured to create VirtualBox synced folders with
the `SharedFoldersEnableSymlinksCreate` option enabled. If the Vagrant=20=
=20=20=20=20=20=20=20=20=20
guest is not trusted, you may want to disable this option. For more=20=20=
=20=20=20=20=20=20=20=20=20=20=20
information on this option, please refer to the VirtualBox manual:=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20

  https://www.virtualbox.org/manual/ch04.html#sharedfolders=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20

This option can be disabled globally with an environment variable:=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20

  VAGRANT_DISABLE_VBOXSYMLINKCREATE=3D1=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20

or on a per folder basis within the Vagrantfile:=20=20=20=20=20=20=20=20=20=
=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20

  config.vm.synced_folder '/host/path', '/guest/path',
SharedFoldersEnableSymlinksCreate: false
=3D=3D> default: Clearing any previously set network interfaces...
=3D=3D> default: Preparing network interfaces based on configuration...
    default: Adapter 1: nat
=3D=3D> default: Forwarding ports...
    default: 22 (guest) =3D> 2222 (host) (adapter 1)
=3D=3D> default: Booting VM...
=3D=3D> default: Waiting for machine to boot. This may take a few minutes...
    default: SSH address: 127.0.0.1:2222
    default: SSH username: vagrant
    default: SSH auth method: private key
    default: Warning: Connection reset. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Connection reset. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Connection reset. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Connection reset. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Connection reset. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Connection reset. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Connection reset. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Connection reset. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Connection reset. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Connection reset. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Connection reset. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Connection reset. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Connection reset. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Connection reset. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Connection reset. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Connection reset. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Connection reset. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Connection reset. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Connection reset. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Connection reset. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Remote connection disconnect. Retrying...
    default: Warning: Connection reset. Retrying...
The configured shell (config.ssh.shell) is invalid and unable
to properly execute commands. The most common cause for this is
using a shell that is unavailable on the system. Please verify
you're using the full path to the shell and that the shell is
executable by the SSH user.

$vagrant --version
Vagrant 2.2.7

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-245051-227>