2016-10-07 08:44:57 +00:00
|
|
|
From 796000a6afd2fa20dc40eae053ee71480b16b49c Mon Sep 17 00:00:00 2001
|
2015-05-08 08:10:36 +00:00
|
|
|
From: Hannes Reinecke <hare@suse.de>
|
2016-10-07 08:44:57 +00:00
|
|
|
Date: Tue, 27 Sep 2016 12:40:22 +0200
|
|
|
|
Subject: 90multipath: do not fail startup on missing configuration
|
|
|
|
|
|
|
|
References: bsc#930019
|
2015-05-08 08:10:36 +00:00
|
|
|
|
|
|
|
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.
|
2016-10-07 08:44:57 +00:00
|
|
|
---
|
|
|
|
modules.d/90multipath/multipathd.service | 1 -
|
|
|
|
1 file changed, 1 deletion(-)
|
2015-05-08 08:10:36 +00:00
|
|
|
|
2016-10-07 08:44:57 +00:00
|
|
|
diff --git a/modules.d/90multipath/multipathd.service b/modules.d/90multipath/multipathd.service
|
|
|
|
index b64b02c..f7bc65f 100644
|
|
|
|
--- a/modules.d/90multipath/multipathd.service
|
|
|
|
+++ b/modules.d/90multipath/multipathd.service
|
2015-06-30 12:59:59 +00:00
|
|
|
@@ -6,7 +6,6 @@ Conflicts=shutdown.target
|
2015-05-08 08:10:36 +00:00
|
|
|
ConditionKernelCommandLine=!nompath
|
|
|
|
ConditionKernelCommandLine=!rd.multipath=0
|
|
|
|
ConditionKernelCommandLine=!rd_NO_MULTIPATH
|
|
|
|
-ConditionPathExists=/etc/multipath.conf
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
2016-10-07 08:44:57 +00:00
|
|
|
--
|
|
|
|
2.6.6
|
|
|
|
|