]> git.ipfire.org Git - thirdparty/systemd.git/commit
modules-load: do not fail service if modules are not present
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Sun, 27 Oct 2019 09:00:31 +0000 (10:00 +0100)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 28 Oct 2019 13:55:36 +0000 (22:55 +0900)
commitfec837e96e902c041adae552aa3101b8a8132869
treeca3e8279a5d54c8504a00cd21e8704ceff9698f2
parent1c507a6db52a25566f3f267b0685c80802219c8c
modules-load: do not fail service if modules are not present

It is pretty common for the service to fail in the initramfs (for example
because certain modules have not been copied over or haven't been built yet in
case of dkms modules). This seems to be more trouble than it is worth. Let's
change the service to simply log any missing modules at error level, but not
fail the whole service.

https://bugzilla.redhat.com/show_bug.cgi?id=1254340
src/modules-load/modules-load.c