Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 490988 - app-emulation/virtualbox-modules should install a modules-load.d config file
Summary: app-emulation/virtualbox-modules should install a modules-load.d config file
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-11 02:22 UTC by Rafal Rzepecki
Modified: 2013-11-17 12:24 UTC (History)
2 users (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 Rafal Rzepecki 2013-11-11 02:22:39 UTC
While on many init systems adding modules to autoload lists is problematic, systemd provides a very easy way to do that. What's needed is just to place a file containing three lines of needed modules:

vboxnetflt
vboxnetadp
vboxdrv

in /usr/lib/modules-load.d/virtualbox.conf. The ebuild message should also comment how manual adjustment is unnecessary if systemd is used (or perhaps detect it and supress the message). Note it might be good to load the modules immediately on merge with `systemctl restart systemd-modules-load`.
Comment 1 Pacho Ramos gentoo-dev 2013-11-17 12:24:46 UTC
+  17 Nov 2013; Pacho Ramos <pacho@gentoo.org> +files/virtualbox.conf,
+  virtualbox-modules-4.3.2.ebuild:
+  Install a modules-load.d file to load modules automatically on systemd
+  (#490988 by Rafal Rzepecki)
+