File fix-udev-for-drbd-fails-to-start.patch of Package drbd.1187

Index: drbd-8.4.4.7/scripts/drbd.rules
===================================================================
--- drbd-8.4.4.7.orig/scripts/drbd.rules
+++ drbd-8.4.4.7/scripts/drbd.rules
@@ -12,4 +12,6 @@
 # having it as one single line avoids those problems.
 #
 # DO NOT WRAP THIS LINE
-SUBSYSTEM=="block", KERNEL=="drbd*", IMPORT{program}="/usr/sbin/drbdadm sh-udev minor-%m", NAME="$env{DEVICE}", SYMLINK="drbd/by-res/$env{RESOURCE} drbd/by-disk/$env{DISK}"
+SUBSYSTEM=="block", KERNEL=="drbd*", IMPORT{program}="/usr/sbin/drbdadm sh-udev minor-%m", SYMLINK="drbd/by-res/$env{RESOURCE} drbd/by-disk/$env{DISK}"
+TEST!="$env{DEVICE}", SYMLINK+="$env{DEVICE}"
+
openSUSE Build Service is sponsored by