diff options
author | Peter Rajnoha <prajnoha@redhat.com> | 2014-01-22 15:15:02 +0100 |
---|---|---|
committer | Peter Rajnoha <prajnoha@redhat.com> | 2014-01-22 15:18:57 +0100 |
commit | 36a09cf463b68cc56330db43d44e02932c12251b (patch) | |
tree | e0b1ce511da5e5369c5df2667582cd8617a712a4 | |
parent | d2956f0a594c0522de925ab3ca47a56a5a09a2c7 (diff) | |
download | lvm2-36a09cf463b68cc56330db43d44e02932c12251b.tar.gz |
udev: drop cryptsetup specific rules from 10-dm.rules
These udev flags are set directly in cryptsetup for some
time now so there's no need to have it in our rules then.
See also:
https://code.google.com/p/cryptsetup/source/detail?spec=svn4f14b43a3d3e7310465005c401f37e19f8cb85e6&r=4f14b43a3d3e7310465005c401f37e19f8cb85e6
-rw-r--r-- | WHATS_NEW_DM | 1 | ||||
-rw-r--r-- | udev/10-dm.rules.in | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/WHATS_NEW_DM b/WHATS_NEW_DM index 448a7f030..40c371bc3 100644 --- a/WHATS_NEW_DM +++ b/WHATS_NEW_DM @@ -1,5 +1,6 @@ Version 1.02.85 - =================================== + Drop cryptsetup specific rules from 10-dm.rules - cryptsetup sets them. Version 1.02.84 - 20th January 2014 =================================== diff --git a/udev/10-dm.rules.in b/udev/10-dm.rules.in index f7088f1d3..2755530bf 100644 --- a/udev/10-dm.rules.in +++ b/udev/10-dm.rules.in @@ -123,8 +123,6 @@ ENV{DM_UDEV_DISABLE_DM_RULES_FLAG}!="1", ENV{DM_NAME}=="?*", SYMLINK+="(DM_DIR)/ # We have to ignore further rule application for inappropriate events # and devices. But still send the notification if cookie exists. ENV{DM_UUID}=="mpath-?*", ENV{DM_ACTION}=="PATH_FAILED", GOTO="dm_disable" -ENV{DM_UUID}=="CRYPT-TEMP-?*", GOTO="dm_disable" -ENV{DM_UUID}!="?*", ENV{DM_NAME}=="temporary-cryptsetup-?*", GOTO="dm_disable" # Avoid processing and scanning a DM device in the other (foreign) # rules if it is in suspended state. However, we still keep 'disk' |