/etc/rc6.d/K20virtualbox hangs on reboot if a VM is running
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
virtualbox (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
I had a Vagrant virtual machine running in the background, configured with two network interfaces: NAT and host-only.
I tried to reboot my laptop. It got stuck in the shutdown phase.
Pressing Esc let me see the following kernel messages:
unregister_
repeated every few seconds.
I got bored of waiting after a few minutes and tried most of the SysRq keys. Unfortunately show-task-states(t) and show-blocked-
K20virtualbox
rmmod
Following that I completed the reboot with Alt+SysRq+S,U,B.
vboxnet0 is used for the host-only networking. It's plausible that VMs that only use NAT networking do not cause problems for the init script.
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: virtualbox 4.3.10-dfsg-1
ProcVersionSign
Uname: Linux 3.13.0-36-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.4
Architecture: amd64
CurrentDesktop: GNOME
Date: Thu Sep 25 13:21:47 2014
EcryptfsInUse: Yes
InstallationDate: Installed on 2012-07-25 (791 days ago)
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
SourcePackage: virtualbox
UpgradeStatus: Upgraded to trusty on 2014-04-18 (160 days ago)
This can be reproduced by starting a Vagrant virtual machine and attempting to run
sudo service virtualbox stop
The init script loops forever. (I waited more than an hour once.)