[Pkg-virtualbox-devel] Bug#451743: postinst unconditionally attempts to modprobe vboxdrv

Daniel Baumann daniel at debian.org
Sun Nov 18 09:54:57 UTC 2007


Kel Modderman wrote:
> The following code in kernel module binary package derived from this package 
> should be removed or made smarter:

actually, as you know, modules packages shall not load modules at all;
but i didn't get arround to tell michael yet.

> case "${1}" in
> 	configure)
> 		modprobe vboxdrv || true
> 		invoke-rc.d udev reload
> 
> IMHO, the loading of vboxdrv should be tied in with application runtime. If 
> this "moprobe on install" semantic must persist, it should at least check 
> running kernel version before attempting to call modprobe.

as vbox is called through a wrapper anyway, it should be pretty easy to
check it there.

-- 
Address:        Daniel Baumann, Burgunderstrasse 3, CH-4562 Biberist
Email:          daniel.baumann at panthera-systems.net
Internet:       http://people.panthera-systems.net/~daniel-baumann/





More information about the Pkg-virtualbox-devel mailing list