[Bug 737027] Re: kpartx udev rule is broken
Serge Hallyn
737027 at bugs.launchpad.net
Sun Sep 25 22:38:15 UTC 2011
Quoting Jesse Johnson (bbuknight at gmail.com):
> Ok, so to fix this problem follow these steps (assuming you are using
> Ubuntu 11.04):
Thanks very much Jess.
...
> I am not sure how to convert my changes into an uploadable patch via
> Launchpad. Could someone please direct me to a tutorial or give a brief
> example?
The easiest way is probably as a merge proposal. You can download the
bzr tree for the package,
bzr branch lp:ubuntu/natty-updates/multipath-tools
Or, for the current release (oneiric)
bzr branch lp:ubuntu/multipath-tools
Make your changes in the multipath-tools directory, commit them, push
them back to launchpad,
bzr push lp:~jessyjohnson/ubuntu/natty-updates/multipath-tools/fix-
kpartx-rules
(Or whatever your lp username is in place of jessyjohnson)
and then do a merge proposal by opening up the web page
bzr lp-open
And choosing 'propose for merge' from that web page.
> It would be nice if kpartx was integrated into dmraid itself or else at
> least replace the partition mapping portion of dmraid with calls to
> kpartx and bundle the two together (as suggested in the dmraid TODO
> file). I assume such changes must be made upstream. If so, where should
> I go to make / suggest the changes?
The info for the multipath-tools upstream is at
http://christophe.varoqui.free.fr/
thanks,
-serge
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to multipath-tools in Ubuntu.
https://bugs.launchpad.net/bugs/737027
Title:
kpartx udev rule is broken
Status in “dmraid” package in Ubuntu:
In Progress
Status in “multipath-tools” package in Ubuntu:
In Progress
Status in “multipath-tools” package in Debian:
New
Bug description:
Binary package hint: multipath-tools
The kpartx udev rule looks like this:
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.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/dmraid/+bug/737027/+subscriptions
More information about the foundations-bugs
mailing list