On Tue, Jul 24, 2018 at 10:25 AM Ed Greshko <ed.greshko@greshko.com> wrote:
On 07/24/18 12:08, Sudhir Khanger wrote:
> systemd-modules-load.service fails at boot and then it probably builds the modules.
> After the system boots, systemd-modules-load.service has active status and not
> failed. But the only way to get rid of Failed to start Load Kernel Modules**is by
> rebuilding initramfs via command dracut -v -f. This error crops up everytime you
> install a new kernel irrespective of VirtualBox's installation source.


As a matter of fact, systemd-modules-load.service never runs on my system.  Why?

None of these conditions are met....


[egreshko@meimei ~]$ ll /lib/modules-load.d
total 0
[egreshko@meimei ~]$ ll /usr/lib/modules-load.d
total 0
[egreshko@meimei ~]$ ll /usr/local/lib/modules-load.d
ls: cannot access '/usr/local/lib/modules-load.d': No such file or directory
[egreshko@meimei ~]$ ll /etc/modules-load.d
total 0
[egreshko@meimei ~]$ ll /run/modules-load.d
ls: cannot access '/run/modules-load.d': No such file or directory

And the kernel command line does not contain either of those parameters.


[egreshko@meimei proc]$ journalctl -u systemd-modules-load.service
-- Logs begin at Thu 2017-12-21 09:55:27 CST, end at Tue 2018-07-24 12:39:54 CST. >
-- No entries --

I never have to run dracut to get rid of anything.

As I've already shown in my previous message it is vboxdrv.sh that checks/loads the
vbox drivers.

It does it here in the script

        if ! $MODPROBE vboxdrv > /dev/null 2>&1; then

And then goes here if the modprobe fails.

# setup_script
    begin_msg "Building VirtualBox kernel modules" console
    log "Building the main VirtualBox module."

And it creates the /var/log/vbox-setup.log

[egreshko@meimei log]$ cat vbox-setup.log
Building the main VirtualBox module.
Building the net filter module.
Building the net adaptor module.
Building the PCI pass-through module.

Conjecture is just a conclusion based on incomplete information. It isn't a fact.

users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org/message/P2MTTXEPYI7CGN7SP7Z5UROJZXPULZWA/

Like I mentioned earlier that systemd-modules-load.service service fails and starts working after I create a new initramfs. You were unwilling to accept what I experienced on my system irrespective of the cause I shot a video of it which you can find below.


Sudhir Khanger,