[Bug 737027] [NEW] kpartx udev rule is broken

Phillip Susi psusi at cfl.rr.com
Thu Mar 17 17:56:09 UTC 2011


Public bug reported:

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.

** Affects: multipath-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to multipath-tools in ubuntu.
https://bugs.launchpad.net/bugs/737027

Title:
  kpartx udev rule is broken



More information about the Ubuntu-server-bugs mailing list