19 lines
782 B
Diff
19 lines
782 B
Diff
|
References: bsc#932300
|
||
|
---
|
||
|
Index: LVM2.2.02.120/udev/10-dm.rules.in
|
||
|
===================================================================
|
||
|
--- LVM2.2.02.120.orig/udev/10-dm.rules.in
|
||
|
+++ LVM2.2.02.120/udev/10-dm.rules.in
|
||
|
@@ -127,6 +127,11 @@ ENV{DM_UDEV_DISABLE_DM_RULES_FLAG}!="1",
|
||
|
# We have to ignore further rule application for inappropriate events
|
||
|
# and devices. But still send the notification if cookie exists.
|
||
|
|
||
|
+# Reset variables for spurious events
|
||
|
+ENV{DM_UDEV_DISABLE_SUBSYSTEM_RULES_FLAG}=""
|
||
|
+ENV{DM_UDEV_DISABLE_DISK_RULES_FLAG}=""
|
||
|
+ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}=""
|
||
|
+
|
||
|
# Avoid processing and scanning a DM device in the other (foreign)
|
||
|
# rules if it is in suspended state. However, we still keep 'disk'
|
||
|
# and 'DM subsystem' related rules enabled in this case.
|