On Mon, 5 Mar 2018 22:40:00 +0200, gevisz wrote:

> Can anybody explain me who loads virtualbox-modules without my consent
> and how I can make them loaded only when I need them (just before I am
> going to run VirtualBox, which I do not so often)?

The ebuild installs /usr/lib/modules-load.d/virtualbox.conf which causes
the modules to be loaded by systemd-modules-load.service. Systemd gives
priority to similarly names files in /etc so creating an
empty /etc/modules-load.d/virtualbox.conf should prevent them loading,
although I'm basing that on the man page rather than actual experience.

You could also disable the service if you don't want any
non-hotplugged modules loaded at boot.


-- 
Neil Bothwick

Cross-country skiing is great in small countries.

Attachment: pgpZUSRvu7PPd.pgp
Description: OpenPGP digital signature

Reply via email to