summaryrefslogtreecommitdiff
path: root/udev
diff options
context:
space:
mode:
authorPeter Rajnoha <prajnoha@redhat.com>2013-09-27 15:37:16 +0200
committerPeter Rajnoha <prajnoha@redhat.com>2013-09-27 15:37:16 +0200
commite4c7236c07056ddc9af3ba6ad2314d649d6814f9 (patch)
tree20a8fe8d38dc44156937241c81746c842bff191c /udev
parentb4637bd298a7a12e0ce9f15104d41158b96cb642 (diff)
downloadlvm2-e4c7236c07056ddc9af3ba6ad2314d649d6814f9.tar.gz
udev: fix 3min udev timeout so that it is applied for all LVM volumes
The timeout should be set before any volume skipping.
Diffstat (limited to 'udev')
-rw-r--r--udev/11-dm-lvm.rules.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/udev/11-dm-lvm.rules.in b/udev/11-dm-lvm.rules.in
index 90804f3c6..f21d0aa6c 100644
--- a/udev/11-dm-lvm.rules.in
+++ b/udev/11-dm-lvm.rules.in
@@ -22,6 +22,8 @@ IMPORT{program}="(DM_EXEC)/dmsetup splitname --nameprefixes --noheadings --rows
ENV{DM_UDEV_DISABLE_SUBSYSTEM_RULES_FLAG}=="1", GOTO="lvm_end"
+OPTIONS+="event_timeout=180"
+
# Do not create symlinks for inappropriate subdevices.
ENV{DM_LV_NAME}=="pvmove?*|?*_vorigin", GOTO="lvm_disable"
ENV{DM_LV_LAYER}=="?*", GOTO="lvm_disable"
@@ -29,8 +31,6 @@ ENV{DM_LV_LAYER}=="?*", GOTO="lvm_disable"
# Create symlinks for top-level devices only.
ENV{DM_VG_NAME}=="?*", ENV{DM_LV_NAME}=="?*", SYMLINK+="$env{DM_VG_NAME}/$env{DM_LV_NAME}", GOTO="lvm_end"
-OPTIONS+="event_timeout=180"
-
LABEL="lvm_disable"
ENV{DM_UDEV_DISABLE_DISK_RULES_FLAG}="1"
ENV{DM_UDEV_DISABLE_OTHER_RULES_FLAG}="1"