Bug 27936 - VirtualBox: The supplied extension pack cannot be loaded
Summary: VirtualBox: The supplied extension pack cannot be loaded
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 7
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Kernel and Drivers maintainers
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on: 28828
Blocks:
  Show dependency treegraph
 
Reported: 2020-12-26 19:36 CET by Mike Arnautov
Modified: 2021-04-24 01:07 CEST (History)
4 users (show)

See Also:
Source RPM: virtualbox-6.1.16-4.mga7.src.rpm
CVE:
Status comment:


Attachments

Description Mike Arnautov 2020-12-26 19:36:56 CET
Description of problem:
On a new, clean install of virtualbox, the Oracle extensions pack supplied as a part of the package cannot be loaded


Version-Release number of selected component (if applicable):6.1.16


How reproducible: 100%


Steps to Reproduce:
1.Install virtualbox
2.Start virtualbox
3.File->Preferences->Extensions
4. Hover over the name of the pack supplied ("Oracle VM VirtualBox Extension Pack"), which is shown as non-loaded. 
5. Read the message: Failed to load
'/usr/lib64/virtualbox/ExtensionPacks/Oracle_VBoxDTrace_Extension_Pack.xml':
Invalid version string: 6.1.16_Mageia

The p[roblem is resolved by editing the installed file /usr/lib64/virtualbox/ExtensionPacks/Oracle_VM_VirtualBox_Extension_Pack/ExtPack.xml to strip off the _Mageia in line 5. The line should read

    <Version revision="140961">6.1.16</Version>

The alternative is to download a new Extension pack from Oracle and use that instead. So an easy woraround, but loss of function is not minor. Hence I classify it as a "normal" bug.
Mike Arnautov 2020-12-26 19:37:24 CET

Summary: The supplied extension pack cannot be loaded => VirtualBox: The supplied extension pack cannot be loaded

Comment 1 Frank Griffin 2020-12-27 05:21:54 CET
Seems to work just fine here.

CC: (none) => ftg

Comment 2 Lewis Smith 2020-12-27 15:18:27 CET
@Mike: Thank you for the report, and the remedy which works for you.
It is curious that this only comes to light now.

@Frank: Is yours also Mageia 7?
What does your 
/usr/lib64/virtualbox/ExtensionPacks/Oracle_VBoxDTrace_Extension_Pack/ExtPack.xml
file show for the  <Version revision="140961">6.1.16</Version> line ?

Are you both using the same version of Vbox?
Ah, what about the kernel also ? They are sometimes intimately related.

CC: (none) => lewyssmith

Comment 3 Mike Arnautov 2020-12-27 15:45:45 CET
(In reply to Lewis Smith from comment #2)
> @Mike: Thank you for the report, and the remedy which works for you.
> It is curious that this only comes to light now.

I expect it has been a problem for a while and everybody dud the same as I did: when extensions were not available, assume that for some reason Mageia simply did not provide the pack and download one from Oracle. This installed the identical extension pack but without the _mageia suffix, which loaded just fine. It was a complete chance that this time in installing Mageia on a brand new machine I spotted that the pack was reported do be there but marked as broken.

> Are you both using the same version of Vbox?

Mine's 6.1.16_Mageia r140961

> Ah, what about the kernel also ? They are sometimes intimately related.

Linux version 5.7.19-desktop-3.mga7 (iurt@ec2x1.mageia.org) (gcc version 8.4.0 (Mageia 8.4.0-1.mga7), GNU ld (GNU Binutils) 2.33.1) #1 SMP Sun Oct 18 15:46:00 UTC 2020
Comment 4 Rolf Pedersen 2020-12-27 17:47:47 CET
[rolf@x570i ~]$ VBoxManage -v
6.1.16_Mageiar140961
[rolf@x570i ~]$ rpm -q virtualbox
virtualbox-6.1.16-4.mga7
[rolf@x570i ~]$ uname -a
Linux x570i 5.7.19-desktop-3.mga7 #1 SMP Sun Oct 18 15:46:00 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[rolf@x570i ~]$

I found I had the same failed-to-load pack as Mike, same error, same resolution by removing _Mageia in line 5 of the cited file.

I don't spend a lot of time with virtualbox and recall a long history of having to flounder about with extension packs, eventually downloading the current one and using VBoxManage to install, IIRC.

Thanks.

CC: (none) => rolfpedersen

Comment 5 Martin Whitaker 2020-12-27 20:56:15 CET
(In reply to Mike Arnautov from comment #3)
> I expect it has been a problem for a while and everybody dud the same as I
> did: when extensions were not available, assume that for some reason Mageia
> simply did not provide the pack and download one from Oracle.

This may have been a problem in cauldron for a while, but it only appeared in Mageia 7 with the recent update from virtualbox-6.0.24-1.mga7.x86_64 to virtualbox-6.1.16-4.mga7.x86_64. Prior to that the distro branding wasn't used.

I think there's a bit of confusion in this report. The extension pack available in the Mageia repositories is the Oracle VBoxDTrace Extension Pack, and that is the one affected by this bug. The Oracle VM VirtualBox Extension Pack is not available in the repositories because it's licence does not permit redistribution, so always has to be obtained from the Oracle download site, and is not affected by this bug.

I've never made use of the VBoxDTrace Extension Pack; it's the VM VirtualBox Extension Pack that provides the extensions most users care about (e.g. USB support).

CC'ing tmb.

CC: (none) => mageia, tmb

Comment 6 Thomas Backlund 2020-12-27 22:30:31 CET
Thanks for the report.

I've added a fix in SVN for next virtualbox update
Thomas Backlund 2020-12-27 22:31:14 CET

Assignee: bugsquad => basesystem

Thomas Backlund 2020-12-27 22:31:51 CET

Assignee: basesystem => kernel

Comment 7 Mike Arnautov 2020-12-27 23:02:52 CET
Well, once fixed, the pack supplied by Mageia does what I need, so it'll be nice to have virtualbox working ... er... out of the box. :-)

Thanks, guys!
Comment 8 Lewis Smith 2020-12-28 21:38:25 CET
Thank you everyone for chipping in on this one, and with agreement!

CC: lewyssmith => (none)

Comment 9 Mike Arnautov 2021-03-30 15:37:00 CEST
I note that the default extension package no longer has distro branding and is loading without problem. Hence the problem has been resolved.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Thomas Backlund 2021-04-22 19:45:45 CEST

Depends on: (none) => 28828

Comment 10 Thomas Backlund 2021-04-24 01:07:49 CEST
An update for this issue has been pushed to the Mageia Updates repository.

https://advisories.mageia.org/MGASA-2021-0197.html

Note You need to log in before you can comment on or make changes to this bug.