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

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to