VirtualBox

Opened 13 years ago

Closed 8 years ago

#7774 closed defect (wontfix)

VBoxLinuxAdditions-amd64.run needs prerequsites sanity check -> will probably fix some time

Reported by: godwinchan Owned by:
Component: guest additions Version: VirtualBox 3.2.10
Keywords: sanity check Cc:
Guest type: Linux Host type: Mac OS X

Description (last modified by Michael Thayer)

VBoxLinuxAdditions-amd64.run doesn't do sanity check for the existence of 3 components required for the compilation of kernel modules for Guest Additions (at least under Ubuntu 10.10). For Ubuntu it is: dkms build-essential linux-headers-generic

If the modules are not installed. The script runs, and say it is creating and installing the modules but it doesn't actually make the components.

But lsmod | grep vbox there will be no vboxsf there.

Basically a rehash of the following post, but want to report that adding some kind of sanity check would be nice.

http://forums.virtualbox.org/viewtopic.php?t=15679

Attachments (1)

test.sh (732 bytes ) - added by godwinchan 13 years ago.
A simple test script for checking for prerequistes

Download all attachments as: .zip

Change History (5)

by godwinchan, 13 years ago

Attachment: test.sh added

A simple test script for checking for prerequistes

comment:2 by Technologov, 13 years ago

"VBoxLinuxAdditions-amd64.run" tries to be cross-distro installer (work on all Linuxes), and you can't check for package names in a cross-distro compatible way.

-Technologov

comment:3 by godwinchan, 13 years ago

I understand about the numerous distributions out there. However if you look at the Linux Guest OS forum http://forum.virtualbox.org/viewforum.php?f=3&sid=45465d2751d5ec8f4b02897dac12172e, most of the issues are due to the false positive installation of Guest Additions Kernel Modules. I mean the script is not reporting failure of modules being compiled.

I think if at the very least tell people to consult the thread http://forums.virtualbox.org/viewtopic.php?t=15679 to get the prerequistes installed ahead of time will help too.

comment:4 by Michael Thayer, 8 years ago

Description: modified (diff)
Resolution: wontfix
Status: newclosed
Summary: VBoxLinuxAdditions-amd64.run needs prerequsites sanity checkVBoxLinuxAdditions-amd64.run needs prerequsites sanity check -> will probably fix some time

We generally improve these things from time to time but there is rarely much time available to spend on them.

Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use