]> git.ipfire.org Git - thirdparty/dracut.git/commit
multipath: install all multipath path selector kernel modules
authorHarald Hoyer <harald@redhat.com>
Fri, 3 Jul 2015 12:24:50 +0000 (14:24 +0200)
committerHarald Hoyer <harald@redhat.com>
Wed, 11 Nov 2015 14:46:39 +0000 (15:46 +0100)
commit848edf22f0a2f664310026871139e1ab0f49bd52
treed4dd4916e1b398bac88afe47d5de397f81905881
parent3913d061c4bdfad3f496f7a3d0a69e0f3ef51a47
multipath: install all multipath path selector kernel modules

By default, dracut only builds in dm-service-time into the initramfs as
that is the default multipath.conf path selector. If the user changes
the path selector to "round robin" on the fly and runs dracut, multipath
does not find any paths on boot and the user will be dropped into a
shell.

Apparently, in RHEL7 dracut defaults to "hostonly" mode, i.e. modules
not currently in use at the time dracut runs do not get built into
initramfs. This is definitely one case where this doesn't work. A change
to reconfigure multipath probably should not render the system
unbootable.

https://bugzilla.redhat.com/show_bug.cgi?id=1195392
(cherry picked from commit f11d7a81e2eec37ed5b6708ed8cd359f0a5eaa69)
modules.d/90multipath/module-setup.sh