Comment 0 for bug 737027

Revision history for this message
Phillip Susi (psusi) wrote :

Binary package hint: multipath-tools

The kpartx udev rule runs "modprobe -Qba dm-multipath" every time a device mapper device is added or changed. Not only is this a waste of resources, but it fails because modprobe has no -Q switch.

It also has this rule:

ENV{DM_STATE}=="ACTIVE", ENV{DM_UUID}=="dmraid-*", \
        RUN+="/sbin/kpartx -a -p -part /dev/$kernel"

This kpartx command should not be run because dmraid already creates the partition device, but it isn't run anyhow because the rule matches on "dmraid-*" but dmraid devices have an id of the form "DMRAID-*". Note the difference in case.