Package: multipath-tools / 0.8.5-1

0006-dm-rules-do-not-assume-usrmerge-in-paths.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
From: Julian Andres Klode <julian.klode@canonical.com>
Date: Thu, 25 Jan 2018 12:02:55 +0100
Subject: dm rules: do not assume usrmerge in paths

Fix paths to use /lib/udev instead of /usr/lib/udev, since we have not
done a usrmerge yet.

Bug-Debian: https://bugs.debian.org/886938
Forwarded: no
Origin: vendor
---
 multipath/11-dm-mpath.rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/multipath/11-dm-mpath.rules b/multipath/11-dm-mpath.rules
index cd522e8..7fa4aab 100644
--- a/multipath/11-dm-mpath.rules
+++ b/multipath/11-dm-mpath.rules
@@ -101,7 +101,7 @@ ENV{DM_UDEV_LOW_PRIORITY_FLAG}!="1", OPTIONS+="link_priority=50"
 
 # kpartx_id is very robust, it works for suspended maps and maps
 # with 0 dependencies. It sets DM_TYPE, DM_PART, DM_WWN
-TEST=="/usr/lib/udev/kpartx_id", \
+TEST=="/lib/udev/kpartx_id", \
 	IMPORT{program}=="kpartx_id %M %m $env{DM_UUID}"
 
 ENV{DM_TYPE}=="?*", ENV{DM_SERIAL}=="?*", \