Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 891313 - sys-kernel/gentoo-kernel-bin: remove the vbox guest modules
Summary: sys-kernel/gentoo-kernel-bin: remove the vbox guest modules
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Distribution Kernel Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 679574
  Show dependency tree
 
Reported: 2023-01-18 15:54 UTC by Viorel Munteanu
Modified: 2023-01-24 15:31 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Viorel Munteanu gentoo-dev 2023-01-18 15:54:54 UTC
sys-kernel/gentoo-kernel-bin installs modules for app-emulation/virtualbox-guest-additions, but they are old and incompatible with the current versions in the tree:

kernel/fs/vboxsf/vboxsf.ko
kernel/drivers/virt/vboxguest/vboxguest.ko
kernel/drivers/gpu/drm/vboxvideo/vboxvideo.ko

Even if the users install app-emulation/virtualbox-guest-additions, the new modules go into misc:

misc/vboxvideo.ko
misc/vboxsf.ko
misc/vboxguest.ko

And modprobe still loads some of the old modules, causing this bug: https://bugs.gentoo.org/679574

Can you please disable the vbox guest modules in future kernel revisions?

Thank you.
Comment 1 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-01-18 16:20:17 UTC
Heh, if you only filed this before I finished building today's batch ;-)...
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-01-18 16:20:58 UTC
That said, any chance you could track down specific CONFIG_* options responsible for this and ideally submit a PR to [1]?

[1] https://github.com/projg2/gentoo-kernel-config
Comment 3 Viorel Munteanu gentoo-dev 2023-01-18 16:24:09 UTC
Sure, I'll do that.  Thank you!
Comment 4 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2023-01-24 15:31:57 UTC
Today's batch should all use g6 config, and:

# qlist gentoo-kernel-bin | grep lib.*vbox
/lib/modules/6.1.7-gentoo-dist/kernel/fs/vboxsf/vboxsf.ko
/lib/modules/6.1.7-gentoo-dist/kernel/drivers/virt/vboxguest/vboxguest.ko
/lib/modules/6.1.7-gentoo-dist/kernel/drivers/gpu/drm/vboxvideo/vboxvideo.ko

i.e. none in 6.1.8, so I guess we're good here.