View | Details | Raw Unified | Return to bug 22939
Collapse All | Expand All

(-)lvm2.2.02.54/udev/10-dm.rules.in.alt (-2 / +3 lines)
Lines 66-78 ENV{DM_SUSPENDED}=="Suspended", ENV{DM_S Link Here
66
# possible future changes.
66
# possible future changes.
67
ENV{DM_UDEV_RULES_VSN}="1"
67
ENV{DM_UDEV_RULES_VSN}="1"
68
68
69
# https://bugzilla.altlinux.org/show_bug.cgi?id=22939
70
ENV{DM_UUID}=="CRYPT-?*", GOTO="dm_end"
71
69
ENV{DM_UDEV_DISABLE_DM_RULES_FLAG}!="1", ENV{DM_NAME}=="?*", SYMLINK+="(DM_DIR)/$env{DM_NAME}"
72
ENV{DM_UDEV_DISABLE_DM_RULES_FLAG}!="1", ENV{DM_NAME}=="?*", SYMLINK+="(DM_DIR)/$env{DM_NAME}"
70
73
71
# We have to ignore further rule application for inappropriate events
74
# We have to ignore further rule application for inappropriate events
72
# and devices. But still send the notification if cookie exists.
75
# and devices. But still send the notification if cookie exists.
73
ENV{DM_UUID}=="mpath-?*", ENV{DM_ACTION}=="PATH_FAILED", GOTO="dm_disable"
76
ENV{DM_UUID}=="mpath-?*", ENV{DM_ACTION}=="PATH_FAILED", GOTO="dm_disable"
74
ENV{DM_UUID}=="CRYPT-TEMP-?*", GOTO="dm_disable"
75
ENV{DM_UUID}!="?*", ENV{DM_NAME}=="temporary-cryptsetup-?*", GOTO="dm_disable"
76
77
77
GOTO="dm_end"
78
GOTO="dm_end"
78
79

Return to bug 22939