vagrantboxes icon indicating copy to clipboard operation
vagrantboxes copied to clipboard

Arch box fails to mount synced folder

Open djhaskin987 opened this issue 9 years ago • 2 comments

I'm using this box: http://cloud.terry.im/vagrant/archlinux-x86_64.box

I get this when I run vagrant up:

    default: /vagrant => /home/djhaskin987/Workspace/libgpg-error-git
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

mkdir -p /vagrant

Stdout from the command:



Stderr from the command:


We trust you have received the usual lecture from the local System
Administrator. It usually boils down to these three things:

    #1) Respect the privacy of others.
    #2) Think before you type.
    #3) With great power comes great responsibility.

sudo: no tty present and no askpass program specified

The synced folder does not show up:

$ vagrant ssh
Last login: Mon Aug 25 10:13:20 2014
vagrant@archlinux:~$ ls /
bin  boot  dev  etc  home  lib  lib64  lost+found  mnt  opt  proc  root  run  sbin  srv  sys  tmp  usr  var

djhaskin987 avatar Oct 11 '14 15:10 djhaskin987

Seeing the same issue, it looks like sudo requires a password which is what is causing that error. You also get it if you run vagrant halt or vagrant reload

==> default: Attempting graceful shutdown of VM...
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

shutdown -h now

Stdout from the command:



Stderr from the command:

sudo: no tty present and no askpass program specified

mdaffin avatar Oct 21 '14 21:10 mdaffin

Time to close this issue ?

marco-m avatar Jun 28 '17 19:06 marco-m