Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

debian-8.6 VMware hangs on graceful shutdown #712

Closed
jvf opened this issue Nov 3, 2016 · 2 comments
Closed

debian-8.6 VMware hangs on graceful shutdown #712

jvf opened this issue Nov 3, 2016 · 2 comments
Labels
Type: Bug Does not work as expected.
Milestone

Comments

@jvf
Copy link

jvf commented Nov 3, 2016

I'm trying to use the bento/debian-8.6 box from Atlas. Starting and sshing into the box work fine, but vagrant halt hangs forever in default: Attempting graceful shutdown of VM.... Using the hashicorp/precise-64 box works fine. Any idea what the reason could be or how to debug and fix this? I'm happy to provide more information.

Environment:
OS: Mac OS X 10.11.6
Vagrant 1.8.6
vagrant-vmware-fusion (4.0.14)
VMware Fusion Pro 8.5.1

@jvf
Copy link
Author

jvf commented Nov 3, 2016

Running VAGRANT_LOG=debug vagrant halt gives:

...
 INFO guest: Detected: debian!
DEBUG guest: Searching for cap: halt
DEBUG guest: Checking in: debian
DEBUG guest: Checking in: linux
DEBUG guest: Found cap: halt in linux
 INFO guest: Execute capability: halt [#<Vagrant::Machine: default (HashiCorp::VagrantVMwarefusion::Provider)>] (debian)
DEBUG ssh: Re-using SSH connection.
 INFO ssh: Execute: shutdown -h now (sudo=true)
DEBUG ssh: stderr: stdin: is not a tty

DEBUG ssh: Sending SSH keep-alive...
DEBUG ssh: Sending SSH keep-alive...
...

The problem and fix is described here. Installing libpam-systemd fixed the issue for me. I would still consider this potentially a bug in the Debian template, as the box should work correctly without installing additional software.

@cheeseplus cheeseplus added this to the 2.3.1 milestone Nov 18, 2016
@cheeseplus cheeseplus added the Bug label Nov 18, 2016
@cheeseplus
Copy link
Contributor

Fixed by #693 - we just need to build the next version 2.3.1 and push.

@tas50 tas50 added Type: Bug Does not work as expected. and removed Bug labels Jan 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Does not work as expected.
Projects
None yet
Development

No branches or pull requests

3 participants