From: Hannes Reinecke Use udev rules to create dmraid /dev/mapper/ devices https://bugzilla.opensuse.org/show_bug.cgi?id=905746 --- modules.d/90dmraid/dmraid.sh | 3 --- modules.d/90dmraid/module-setup.sh | 2 +- 2 files changed, 1 insertion(+), 4 deletions(-) Index: dracut-042/modules.d/90dmraid/dmraid.sh =================================================================== --- dracut-042.orig/modules.d/90dmraid/dmraid.sh 2015-06-11 17:39:47.000000000 +0200 +++ dracut-042/modules.d/90dmraid/dmraid.sh 2015-06-24 18:02:36.882938788 +0200 @@ -26,8 +26,6 @@ if [ -n "$DM_RAIDS" ] || getargbool 0 rd if [ "${s##$r}" != "$s" ]; then info "Activating $s" dmraid -ay -i -p --rm_partitions "$s" 2>&1 | vinfo - [ -e "/dev/mapper/$s" ] && kpartx -a "/dev/mapper/$s" 2>&1 | vinfo - udevsettle fi done done Index: dracut-042/modules.d/90dmraid/module-setup.sh =================================================================== --- dracut-042.orig/modules.d/90dmraid/module-setup.sh 2015-06-11 17:39:47.000000000 +0200 +++ dracut-042/modules.d/90dmraid/module-setup.sh 2015-06-24 18:02:36.882938788 +0200 @@ -74,6 +74,8 @@ install() { inst "$moddir/dmraid.sh" /sbin/dmraid_scan + 66-kpartx.rules 67-kpartx-compat.rules + inst_libdir_file "libdmraid-events*.so*" inst_rules "$moddir/61-dmraid-imsm.rules"