[Bug 152925] "vboxdrv stop" fails, if virtualbox is not running

dAniel hAhler launchpad at thequod.de
Mon Oct 15 12:56:35 BST 2007


Public bug reported:

The "stop" action for /etc/init.d/vboxdrv fails, if virtualbox-ose is
not running, because "killall -q VBoxSVC" exits the script (it's "set
-e").

$ LANG=C sudo dpkg -P virtualbox-ose-modules-2.6.22-14-generic
(Reading database ... 306374 files and directories currently installed.)
Removing virtualbox-ose-modules-2.6.22-14-generic ...
 * Stopping VirtualBox kernel module vboxdrv                                                                                                                                                                     invoke-rc.d: initscript vboxdrv, action "stop" failed.
dpkg: error processing virtualbox-ose-modules-2.6.22-14-generic (--purge):
 subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
 virtualbox-ose-modules-2.6.22-14-generic

The fix is quite simple: just add "|| true" to the line.

** Affects: virtualbox-ose-modules (Ubuntu)
     Importance: Undecided
         Status: New

-- 
"vboxdrv stop" fails, if virtualbox is not running
https://bugs.launchpad.net/bugs/152925
You received this bug notification because you are a member of Ubuntu
Sponsors for universe, which is a direct subscriber.



More information about the Ubuntu-universe-sponsors mailing list