boxcutter/ubuntu

Synced folder for current directory fails

dvolosnykh opened this issue · 4 comments

I am facing issue mounting default /vagrant synced folder when using config.vm.box = "boxcutter/ubuntu1604-desktop" to create Parallels VM.

==> default: Mounting shared folders...
    default: /vagrant => /Users/dvolosnykh/Develop
The following SSH command responded with a non-zero exit status.
Vagrant assumes that this means the command failed!

/sbin/initctl emit --no-wait vagrant-mounted MOUNTPOINT=/vagrant

Stdout from the command:



Stderr from the command:

initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused

Disabling this synced folder allows to proceed further, but only to fail on next mount.

Seems to be Parallels-specific legacy issue: hashicorp/vagrant#5377 (comment)

I've made changes to vagrant-parallels plugin looking in to VirtualBox plugin shipped with Vagrant. Still out of luck. Has anybody encounter such issues? I face it when using boxcutter box, not when official parallels box.

Since VM is created (despite the fact that synced folder are not mounted properly) I decided to see what happens if I execute this command manually. When I vagrant ssh into VM I get error:
initctl: Name "com.ubuntu.Upstart" does not exist. But when I access VM via GUI window and use gnome-terminal this command completes successfully.

Opened pull request into vagrant-parallels fixing this issue: Parallels/vagrant-parallels#307