Bug 258159 - emulators/virtualbox-ose-additions CONFLICTS_INSTALL edge case(s)
Summary: emulators/virtualbox-ose-additions CONFLICTS_INSTALL edge case(s)
Status: Open
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Virtualbox Team (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-08-30 07:19 UTC by Graham Perrin
Modified: 2023-08-18 20:32 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (vbox)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Perrin freebsd_committer freebsd_triage 2021-08-30 07:19:25 UTC
I see the various CONFLICTS_INSTALL lines under <https://www.freshports.org/emulators/virtualbox-ose-additions/#description>

An edge case arose when I (carelessly) tested to tell whether virtualbox-ose-kmod-legacy was installable on FreeBSD 12.2-RELEASE-p7: 

root@freebsd:~ # pkg info -x virtualbox
virtualbox-ose-additions-6.1.26
virtualbox-ose-kmod-legacy-5.2.44_5
virtualbox-ose-nox11-legacy-5.2.44_6

– careless because the test, in response to <https://forums.FreeBSD.org/threads/81892/post-529422>, was in a VirtualBox guest (not on real hardware). 

> … there should probably be a conflict between guest additions 
> and the kernel module. …
Comment 1 Guido Falsi freebsd_committer freebsd_triage 2021-09-03 10:48:34 UTC
I'm not sure if anything is actually wrong in this case.

Does having additions and the kmod installed at the same time cause issues?

Both are also not loaded by default even if installed. I'd say that trying to load them at the same time is a configuration error, preventing it goes beyond the package management tools duties.
Comment 2 Vladimir Druzenko freebsd_committer freebsd_triage 2023-08-07 14:47:27 UTC
(In reply to Guido Falsi from comment #1)
But what about nested virtualization?
Comment 3 Guido Falsi freebsd_committer freebsd_triage 2023-08-07 16:09:21 UTC
Sorry can't help anymore here. I stopped using VirtualBox months ago and not contributing to its ports anymore.

Never tried nested virtualization and I'm not even sure it is actually supported, though.

In theory the additions and virtualization (kmod) modules perform very different tasks and they could, in theory, be loaded together, but I never tried, nor going to, since, as I said, I don't use this software anymore.