dracut/dracut_fix_multipath_without_config.patch
Thomas Renninger 11268df032 Accepting request 305873 from home:trenn:branches:Base:System
- Add fix for multipath systems without multipathd.conf
  bsc#927719: Tumbleweed Snapshot blocked: no multipath support in 20150416\
            (likely dracut issue)
  bsc#930019: multipath is broken in dracut due to missing /etc/multipath.conf
	    file (systemd multpath.service condition)
* Added patch: dracut_fix_multipath_without_config.patch

OBS-URL: https://build.opensuse.org/request/show/305873
OBS-URL: https://build.opensuse.org/package/show/Base:System/dracut?expand=0&rev=218
2015-05-08 08:10:36 +00:00

30 lines
1.1 KiB
Diff

From: Hannes Reinecke <hare@suse.de>
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.
Index: dracut-041/modules.d/90multipath/multipathd.service
===================================================================
--- dracut-041.orig/modules.d/90multipath/multipathd.service 2015-01-31 12:54:52.000000000 +0100
+++ dracut-041/modules.d/90multipath/multipathd.service 2015-05-08 08:13:22.714063510 +0200
@@ -6,7 +6,6 @@
ConditionKernelCommandLine=!nompath
ConditionKernelCommandLine=!rd.multipath=0
ConditionKernelCommandLine=!rd_NO_MULTIPATH
-ConditionPathExists=/etc/multipath.conf
[Service]
Type=simple