[multipath] rules fix
authorChristophe Varoqui <root@xa-s05.(none)>
Fri, 30 Sep 2005 10:15:43 +0000 (12:15 +0200)
committerChristophe Varoqui <root@xa-s05.(none)>
Fri, 30 Sep 2005 10:15:43 +0000 (12:15 +0200)
/sbin doesn't seem to be in the PATH when udev execs dmsetup.
Use absolute paths then.

multipath/multipath.rules

index 2443537..cce4064 100644 (file)
@@ -10,7 +10,7 @@
 #ACTION=="add", SUBSYSTEM=="block", KERNEL=="dm-*", \
 #      PROGRAM="/sbin/devmap_name %M %m"
 ACTION=="add", SUBSYSTEM=="block", KERNEL=="dm-*", \
-       PROGRAM="dmsetup -j %M -m %m --noopencount --noheadings -c -o name info"
+       PROGRAM="/sbin/dmsetup -j %M -m %m --noopencount --noheadings -c -o name info"
 
 # take care of devmap partitioning
 ACTION=="add", SUBSYSTEM=="block", KERNEL=="dm-*", \