Opened 18 years ago
Closed 18 years ago
#16 closed defect (fixed)
Bug in /etc/init.d/virtualbox prevents recomplication of kernel module with dpkg-reconfigure
Reported by: | tfim | Owned by: | |
---|---|---|---|
Component: | other | Version: | VirtualBox 1.3.2 |
Keywords: | Cc: | ||
Guest type: | other | Host type: | other |
Description
The /etc/init.d/virtualbox script checks if a kernel module exists and fails if there is none, regardless of the action requested. This causes problems when using dpkg-reconfigure virtualbox to rebuild the kernel module, because the init script will be called to stop the virtualbox service first - and cause dpkg to abort because it fails, creating a chicken-and-egg problem.
A workaround is to replace line 133:
fail "Kernel module not found"
with
true
Note:
See TracTickets
for help on using tickets.
That has already been addressed. Check the User's FAQ on the webpage for a workaround (similar to yours).