]> 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>
Fri, 3 Jul 2015 12:25:40 +0000 (14:25 +0200)
commitf11d7a81e2eec37ed5b6708ed8cd359f0a5eaa69
tree549c15ef12e3074e1c16f5455bfe0d1692090c36
parent34b49be88219519f678f665987787784751b11bd
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
modules.d/90multipath/module-setup.sh