device maps from partition tables will not be generated

Bug #338363 reported by Benjamin Baumer
6
Affects Status Importance Assigned to Milestone
multipath-tools (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The udev rule

ENV{DM_TABLE_STATE}!="LIVE", GOTO="kpartx_end"

in /etc/udev/rules.d/95-kpartx.rules prevents the further code to be executed. The Output from "dmsetup export" has changed. I fixed this with replacing the above line with

ENV{DM_TABLE_LIVE}!="1", GOTO="kpartx_end"

Output from udevadm test /sys/block/dm-0
---------------------
udevtest: looking at device '/devices/virtual/block/dm-0' from subsystem 'block'
udev_rules_get_name: add symlink 'block/254:0'
run_program: '/sbin/dmsetup export -j254 -m0'
run_program: '/sbin/dmsetup' (stdout) 'DM_NAME="222c40001553c95dd"'
run_program: '/sbin/dmsetup' (stdout) 'DM_STATE=ACTIVE'
run_program: '/sbin/dmsetup' (stdout) 'DM_STATE_ACTIVE=1'
run_program: '/sbin/dmsetup' (stdout) 'DM_TABLE_LIVE=1'
run_program: '/sbin/dmsetup' (stdout) 'DM_LAST_EVENT_NR=44'
run_program: '/sbin/dmsetup' (stdout) 'DM_MAJOR=254'
run_program: '/sbin/dmsetup' (stdout) 'DM_MINOR=0'
run_program: '/sbin/dmsetup' (stdout) 'DM_TARGET_COUNT=1'
run_program: '/sbin/dmsetup' (stdout) 'DM_TARGET_TYPES=multipath'
run_program: '/sbin/dmsetup' (stdout) 'DM_UUID="mpath-222c40001553c95dd"'
run_program: '/sbin/dmsetup' returned with status 0
-----------------------

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

What release is this? Jaunty should work.

Changed in multipath-tools:
status: New → Incomplete
Revision history for this message
Benjamin Baumer (bbaumer-abm) wrote :

This is Intrepid.

But Jaunty is not yet released.
Sorry, reported the first time.

Revision history for this message
Timo Aaltonen (tjaalton) wrote :

It's been fixed in jaunty by merging the current version from debian, it installs dmsetup_env in /liib/udev which exports the needed variables.

Changed in multipath-tools (Ubuntu):
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.