lp://qastaging/~serge-hallyn/ubuntu/natty/multipath-tools/uevdiscard-pathname
- Get this branch:
- bzr branch lp://qastaging/~serge-hallyn/ubuntu/natty/multipath-tools/uevdiscard-pathname
Branch merges
Branch information
- Owner:
- Serge Hallyn
- Status:
- Development
Recent revisions
- 35. By Serge Hallyn
-
Fix SCM failover bugs:
1. multipathd expects uevents from kernel about /sys/block/sda. But
we are only getting them about /sys/devices/pci000: 00/.../ block/sda.
So we never add or remove devices that we should add based on
uevents.
2. Since we never see (or rather, never understand) the ACTION=remove
event for /dev/block/sda, but we have the device pinned, we never
end up unpinning it. So the kernel doesn't re-use sda when the
path shows back up. So we end up using funky-using paths like sdaa.
This looked for all the world like a kernel refcount problem, but
was actually a userspace bug. (We should have known based on the
fact that rollover stopped after multipathd crashed :)
Note that /sys/block/sda is always a symlink to the longer pathname.
This patch fixes this bug by accepting the uevents on the full block
/sys/ pathname. (LP: #660597)
This fix (slightly differently) is in the upstream code since 2008 and
in debian sid package. - 34. By Martin Pitt
-
debian/control: Move libreadline5-dev build dependency to libreadline-dev.
(Already done in Debian). - 30. By Timo Aaltonen
-
* debian/kpartx.udev: Let dmsetup run kpartx, since $kernel doesn't map
right.
* debian/initramfs/ hooks: Include /lib/udev/ kpartx_ id. - 29. By Timo Aaltonen
-
* Merge from debian unstable, remaining changes:
- control:
+ Bump debhelper dependency to install udev rules to
/lib/udev/rules. d, bump udev dependencies as well.
+ multipath-udeb must not depend on multipath-modules,
because the Ubuntu kernel already includes the modules and no
package provides m-m.
- initramfs/hooks: Install rules from /lib/udev/rules.d.
- kpartx.udev, multipath-tools-boot. init:
Replace multipath-tools-boot init script with udev rules.
- multipath-tools.preinst: Fix preinst script to modprobe dm-multipath.
This will make sure that multipathd will be able to start.
- multipath-tools.prerm: Add prerm script to not fail when upgrading
from a broken version of multipathd.
- patches/1000--set- umask-in- multipathd. patch: Set umask in multipathd.
- rules: Move udev rules to priority 95, because rules that load
modules should be >90.
* Fix bugs (LP: #316851, #320156)
* multipath-tools.prerm/ preinst: Remove checks for old ubuntu
versions, we don't support upgrading from them anymore. - 28. By Timo Aaltonen
-
debian/
multipath- tools.preinst: Use the same logic as in
hw-detect to determine if dm_multipath is already loaded. - 26. By Scott James Remnant (Canonical)
-
Bump debhelper dependency to install udev rules to /lib/udev/rules.d,
bump udev dependencies as well.
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar repository format 2a (needs bzr 1.16 or later)
- Stacked on:
- lp://qastaging/ubuntu/natty/multipath-tools