1diff --git a/data/80-udisks.rules b/data/80-udisks.rules
2index 6720394..60b67ed 100644
3--- a/data/80-udisks.rules
4+++ b/data/80-udisks.rules
5@@ -23,7 +23,7 @@ LABEL="ata_port_cardbus_end"
6 # this is the case we can trigger a 'change' on the sas_expander device
7 # when the bsg device appears)
8 #
9-SUBSYSTEM=="sas_expander", ACTION=="add|change", IMPORT{program}="udisks-probe-sas-expander /sys/%p"
10+SUBSYSTEM=="sas_expander", ACTION=="add|change", IMPORT{program}="@slashlibdir@/udev/udisks-probe-sas-expander /sys/%p"
11
12 ##############################################################################################################
13
14@@ -54,7 +54,7 @@ ENV{DM_UDEV_DISABLE_DISK_RULES_FLAG}=="1", GOTO="udisks_end"
15 # import UDISKS_DM_* and UDISKS_LVM2_* properties - the long-term plan is to make the lvm2 and
16 # device-mapper packages provide this information
17 #
18-KERNEL=="dm-*", IMPORT{program}="udisks-dm-export %M %m"
19+KERNEL=="dm-*", IMPORT{program}="@slashlibdir@/udev/udisks-dm-export %M %m"
20
21 # Make udevd synthesize a 'change' uevent when last opener of a rw-fd closes the fd - this
22 # should be part of the device-mapper rules
23@@ -63,7 +63,7 @@ KERNEL=="dm-*", OPTIONS+="watch"
24 ##############################################################################################################
25 # Probe LVM2 Physical Volumes - this will eventually be part of the LVM2 package
26
27-ENV{ID_FS_TYPE}=="LVM2_member", TEST=="/lib/udev/udisks-lvm-pv-export", IMPORT{program}="udisks-lvm-pv-export $env{ID_FS_UUID}"
28+ENV{ID_FS_TYPE}=="LVM2_member", TEST=="@slashlibdir@/udev/udisks-lvm-pv-export", IMPORT{program}="@slashlibdir@/udev/udisks-lvm-pv-export $env{ID_FS_UUID}"
29
30 ##############################################################################################################
31
32@@ -85,7 +85,7 @@ KERNEL=="sr*", ENV{ID_CDROM_MEDIA_TRACK_COUNT_DATA}=="", GOTO="probe_parttable_e
33
34 # scan for partition tables both on whole-disk and partitions
35 #
36-IMPORT{program}="udisks-part-id $tempnode"
37+IMPORT{program}="@slashlibdir@/udev/udisks-part-id $tempnode"
38
39 LABEL="probe_parttable_end"
40
41@@ -109,13 +109,13 @@ LABEL="md_end"
42 #
43
44 # USB ATA enclosures with a SAT layer
45-KERNEL=="sd*[!0-9]", ATTR{removable}=="0", ENV{ID_BUS}=="usb", ENV{DEVTYPE}=="disk", IMPORT{program}="udisks-probe-ata-smart $tempnode"
46+KERNEL=="sd*[!0-9]", ATTR{removable}=="0", ENV{ID_BUS}=="usb", ENV{DEVTYPE}=="disk", IMPORT{program}="@slashlibdir@/udev/udisks-probe-ata-smart $tempnode"
47
48 # ATA disks driven by libata
49-KERNEL=="sd*[!0-9]", ATTR{removable}=="0", ENV{ID_BUS}=="ata", ENV{DEVTYPE}=="disk", IMPORT{program}="udisks-probe-ata-smart $tempnode"
50+KERNEL=="sd*[!0-9]", ATTR{removable}=="0", ENV{ID_BUS}=="ata", ENV{DEVTYPE}=="disk", IMPORT{program}="@slashlibdir@/udev/udisks-probe-ata-smart $tempnode"
51
52 # ATA disks connected via SAS (not driven by libata)
53-KERNEL=="sd*[!0-9]", ATTR{removable}=="0", ENV{ID_BUS}=="scsi", ENV{DEVTYPE}=="disk", ENV{ID_VENDOR}=="ATA", IMPORT{program}="udisks-probe-ata-smart $tempnode"
54+KERNEL=="sd*[!0-9]", ATTR{removable}=="0", ENV{ID_BUS}=="scsi", ENV{DEVTYPE}=="disk", ENV{ID_VENDOR}=="ATA", IMPORT{program}="@slashlibdir@/udev/udisks-probe-ata-smart $tempnode"
55
56
57 # Example rule for tagging a device with a specific media type. Where and