[Bug 1548303] Re: Stale references to /lib/udev/rules.d/95-multipath.rules linger
Launchpad Bug Tracker
1548303 at bugs.launchpad.net
Wed Jul 19 23:20:39 UTC 2017
This bug was fixed in the package multipath-tools - 0.6.4-5ubuntu1
---------------
multipath-tools (0.6.4-5ubuntu1) artful; urgency=medium
* Merge from Debian. (LP: #1548303) Remaining changes:
- d/control:
- multipath-udeb: add sg3-udeb Depends
- d/rules: Move udev rules to priority 95, because rules that load modules
should be >90.
- d/multipath-tools.preinst: modprobe dm-multipath; This will make sure
that multipathd will be able to start.
- Split kpartx initramfs bits into kpartx-boot for dmraid (LP 941874)
- d/initramfs/kpartx.hook
- d/kpartx-boot.postinst
- d/kpartx-boot.postrm
- d/control: Add kpartx-boot package for dmraid
- d/rules: Install kpartx initramfs hook
- d/kpartx.install: install all arch /lib* kpartx udev rules
- patches to multipath source
- d/p/1000--set-umask-in-multipathd.patch: Set umask in multipathd.
- d/p/kpartx_more_loopback_fixes.patch: fix loopback mounted
files some more: since we stat() the loopback device node, we can't rely
on S_ISREG() tests to handle this case, and should look at the device
itself instead. (LP 1543430)
- d/p/enable-find-multipaths.patch: re-enable find_multipaths
by default -- see the removed 'add_find-multipaths.patch' (LP 1463046)
- multipath initramfs fixes for booting from multipathed devices
- d/initramfs/hooks: also copy wwids file on the installed system to
ensure all paths come up on boot. (LP 1479929)
- d/initramfs/hooks: install multipathd and required directories.
- d/initramfs/hooks: copy dm-mpath-lvm & multipath udev rules to initramfs
- d/initramfs/hooks: do not copy kpartx rules to initramfs
- d/initramfs/local-bottom: remember to stop multipathd.
- d/initramfs/local-premount: wait for udev to settle before the call to
resolve_device() in local_mount_root(), so the by-uuid/ symlinks have a
chance to be updated by the multipath udev rules (LP 1503286).
- d/initramfs/local-premount: Run multipath with -B so not to assign names
nor change /etc/multipath/bindings during initramfs (LP 1561103)
- d/rules: install d/initramfs/local-bottom
- d/rules: install d/initramfs/local-premount
- Disable -fexceptions on multipath-udeb (LP 1489379): the flag causes
libchecktur.so to link with libgcc_s.so.1 (even with -static-libgcc),
which is not available in the installer environment.
- d/p/disable-fexceptions-udeb.patch: conditionally disable -fexceptions
with CFLAGS_DISABLE_FEXCEPTIONS.
- d/rules: set CFLAGS_DISABLE_FEXCEPTIONS to build multipath-udeb.
- Remove partition device nodes of individual paths (for LVM on multipath)
on the new multipath-tools with udev property blacklisting (LP 1540401)
- d/multipath-tools.dm-mpath-lvm.udev: udev rule for that.
- d/initramfs/init-top: load the dm-multipath module for
'multipath -c'.
- d/initramfs/init-top: start multipathd before udev (required by
'multipath -u' in the udev rules)
- d/rules: install the udev rule (priority 56: after 55-scsi-sg3_id)
- d/rules: rename multipath-tools udev to dm-mpath-lvm
- d/multipath-tools.dm-mpath-lvm.udev: replace 'multipath -c' with
'multipath -u' which can read udev properties at PROGRAM-rule time
(when udev properties are not yet written to the udev database).
- Remove d/initramfs/local-top (redundant with other initramfs scripts):
- init-top: take over loading modules (dm-multipath and SCSI device
handlers); move the missing dm-emc there (now scsi-dh-emc;
see BTS 567014).
- d/rules: do not install local-top anymore.
- remove d/initramfs/local-top
- Fixes typo in package description (availibility -> availability)
(LP 1231182)
- d/control mark transition of file /etc/init.d/multipath-tools-boot
according to case #9 of https://wiki.debian.org/PackageTransition
- debian/initramfs/local-bottom: wait for the multipathd unix socket
to close, so to avoid multipathd.socket unit failure. (LP 1682178)
- debian/initramfs/hooks: Add dm-queue-length: users may want to change
from the default selector and should be able to do so. (LP 1673350)
* Drop changes (in Debian now):
- d/control: Bump udev dependencies (in Debian)
- debian/initramfs/hooks:
- Remove old dm-emc module; it hasn't been in kernel since 2.6.27.
- d/tests/kpartx-file-loopback: add an autopkgtest to catch future cases
where uploads might break kpartx's loopback file handling.
- mark kpartx tests as isolation-machine to avoid issues in e.g. LXD
autopkgtest environments (LP 1644253)
- d/t/tgtbasedmpaths add Test using tgt and open-iscsi to excercise
multipath
-- Christian Ehrhardt <christian.ehrhardt at canonical.com> Tue, 18 Jul
2017 14:12:53 +0200
** Changed in: multipath-tools (Ubuntu)
Status: Triaged => Fix Released
--
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/1548303
Title:
Stale references to /lib/udev/rules.d/95-multipath.rules linger
Status in multipath-tools package in Ubuntu:
Fix Released
Status in multipath-tools package in Debian:
Fix Released
Bug description:
/lib/udev/rules.d/95-multipath.rules was removed in multipath-tools
0.4.9-3ubuntu7.5.
While researching an unrelated issue, I noticed that /usr/share
/initramfs-tools/hooks/multipath still refer to this file:
add_udev_rules()
{
for rules in 95-multipath.rules; do
if [ -e /lib/udev/rules.d/$rules ]; then
cp -p /lib/udev/rules.d/$rules $DESTDIR/lib/udev/rules.d/
fi
done
}
This is dead code that it would probably be best to remove.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1548303/+subscriptions
More information about the foundations-bugs
mailing list