[Bug 1042726] New: virtualbox is missing support for building kernel modules
http://bugzilla.novell.com/show_bug.cgi?id=1042726 Bug ID: 1042726 Summary: virtualbox is missing support for building kernel modules Classification: openSUSE Product: openSUSE Distribution Version: Leap 42.2 Hardware: Other OS: Other Status: NEW Severity: Major Priority: P5 - None Component: Virtualization:Tools Assignee: virt-bugs@suse.de Reporter: nettezzaumanaa@gmail.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- Hello geeko minions, I've found that our suse distribution of vbox 5.1.22-x is broken. There is missing completely on package level infrastructure for building the modules locally. Moreover, etc/init.d/vboxdrv requires that for its ability to setup() function and it could be clearly seen - after you add exec 2>/var/tmp/`basename $0`.debug; set -x to etc/init.d/vboxdrv - that the script is failing at this point expecting what is not present in usr/lib/virtualbox Normally you find this infra in $VBOXSRC/src/VBox/Installer/linux .. If you are using for example the kernel from http://download.opensuse.org/repositories/Kernel:/stable/standard/ there's no easy way to build modules locally. Proposed fix: re-add to a virtualbox package scripts for building modules or create some another package for it. regards, daniel -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=1042726
http://bugzilla.novell.com/show_bug.cgi?id=1042726#c2
Daniel Pecka
http://bugzilla.novell.com/show_bug.cgi?id=1042726
http://bugzilla.novell.com/show_bug.cgi?id=1042726#c4
Larry Finger
http://bugzilla.novell.com/show_bug.cgi?id=1042726
http://bugzilla.novell.com/show_bug.cgi?id=1042726#c5
Daniel Pecka
http://bugzilla.novell.com/show_bug.cgi?id=1042726
http://bugzilla.novell.com/show_bug.cgi?id=1042726#c6
Daniel Pecka
http://bugzilla.novell.com/show_bug.cgi?id=1042726
http://bugzilla.novell.com/show_bug.cgi?id=1042726#c7
Larry Finger
http://bugzilla.novell.com/show_bug.cgi?id=1042726
http://bugzilla.novell.com/show_bug.cgi?id=1042726#c8
--- Comment #8 from Daniel Pecka
3. Why is "if [ ! $? ] ; then" wrong? To me, that means to examine the status of the previously run command.
It's a logic (and semi-syntax) error and it is not going to work, it's just wrongly used test, will always be false:
[ 1 ] && echo ue ue
[ 0 ] && echo ue ue
you wanted to do [ "$?" -ne "0" ] or directlty ``if ! CMD; then BLOCK; fi''
5. If you wish to do things "your way", I am very willing to transfer the maintainership of VirtualBox to you. Keeping up with the rapid changes in both the Oracle version, and the demands of Leap 42.3 are more than I bargained for, and I would be happy to get rid of the work.
I have to politely refuse ... This won't work and I appreciate very much that ppl (like you) are doing a priceless time investment into open source techs. I simply don't have a time for that. now back to business, after doing ``> diff ./src/VBox/Installer/linux/vboxdrv.sh /etc/init.d/vboxdrv'' it's obvious, that only part of real code that changed is setup() function ... If original setup() function doesn't work my plan A would be to fix it to keep things simple ... and we're now returning in circles at the beginning, because original setup() function requires other scripts that are in $VBOXSRC/src/VBox/Installer/linux (eg check_module_dependencies.sh). regards, dan -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=1042726
http://bugzilla.novell.com/show_bug.cgi?id=1042726#c9
--- Comment #9 from Larry Finger
http://bugzilla.novell.com/show_bug.cgi?id=1042726
http://bugzilla.novell.com/show_bug.cgi?id=1042726#c13
Larry Finger
http://bugzilla.novell.com/show_bug.cgi?id=1042726
http://bugzilla.novell.com/show_bug.cgi?id=1042726#c15
--- Comment #15 from Daniel Pecka
http://bugzilla.novell.com/show_bug.cgi?id=1042726
http://bugzilla.novell.com/show_bug.cgi?id=1042726#c16
Daniel Pecka
http://bugzilla.novell.com/show_bug.cgi?id=1042726
http://bugzilla.novell.com/show_bug.cgi?id=1042726#c17
--- Comment #17 from Larry Finger
http://bugzilla.novell.com/show_bug.cgi?id=1042726
http://bugzilla.novell.com/show_bug.cgi?id=1042726#c18
--- Comment #18 from Daniel Pecka
participants (1)
-
bugzilla_noreply@novell.com