Opened 8 years ago
#15980 new defect
Guests won't go in Save States on Host shutdown with Ubuntu 16.04
Reported by: | uspinosa | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 5.1.6 |
Keywords: | savestate | Cc: | ugo@… |
Guest type: | all | Host type: | Linux |
Description
I've noticed that since Ubuntu 16.04 (probably since systemd was introduced with 15.04), VMs won't automatically go in savestates on shutdown or reboot of the host. Following instructions in vboxdrv.sh, I created a virtualbox file in /etc/default, containing SHUTDOWN_USERS="myuser" and SHUTDOWN=savestate with no luck. Here's what I've tested:
- I've done that test with a fresh install 14.04 and it works like a charm.
- With 16.04, if I run /usr/lib/virtualbox/vboxdrv.sh stop, all VMs will successfully go in savestate.
- If I run "systemctl stop vboxdrv.service", all VMs will successfully go in savestate as well.
I blame systemd. There seem to be some configuration errors concerning the dependencies in vboxdrv.service but I couldn't figure out how to fix them.
Note:
See TracTickets
for help on using tickets.