]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
90multipath: do not fail startup on missing configuration
authorHannes Reinecke <hare@suse.de>
Tue, 27 Sep 2016 10:40:22 +0000 (12:40 +0200)
committerDaniel Molkentin <dmolkentin@suse.com>
Fri, 15 Dec 2017 19:41:36 +0000 (20:41 +0100)
References: bsc#930019

If rootfs is on multipath, but platform does not have an /etc/multipath.conf
file which is not urgently needed, they system will not boot, due to:

multipathd is not started and rootfs and swap are not found:
systemctl status multipathd.service
* multipathd.service - Device-Mapper Multipath Device Controller
   Loaded: loaded (/usr/lib/systemd/system/multipathd.service; disabled; vendor preset: enabled)
   Active: inactive (dead)
Condition: start condition failed at Thu 2015-05-07 11:49:11 CEST; 7min ago
           ConditionPathExists=/etc/multipath.conf was not met

and exit to dracut shell.

modules.d/90multipath/multipathd.service

index b64b02cdfac17f3b15b46c489a5cff73721eb8ff..f7bc65fe2837a020db443ac17cba6b60e0aa9182 100644 (file)
@@ -6,7 +6,6 @@ Conflicts=shutdown.target
 ConditionKernelCommandLine=!nompath
 ConditionKernelCommandLine=!rd.multipath=0
 ConditionKernelCommandLine=!rd_NO_MULTIPATH
-ConditionPathExists=/etc/multipath.conf
 
 [Service]
 Type=simple