Merge ~bryce/ubuntu/+source/multipath-tools:merge-v0.9.4-3-lunar into ubuntu/+source/multipath-tools:debian/sid

Proposed by Bryce Harrington
Status: Work in progress
Proposed branch: ~bryce/ubuntu/+source/multipath-tools:merge-v0.9.4-3-lunar
Merge into: ubuntu/+source/multipath-tools:debian/sid
Diff against target: 2892 lines (+2484/-29)
16 files modified
debian/changelog (+2125/-0)
debian/control (+10/-1)
debian/initramfs/hooks/multipath (+22/-2)
debian/initramfs/kpartx.hook (+22/-0)
debian/initramfs/local-bottom (+24/-22)
debian/initramfs/local-premount (+30/-0)
debian/initramfs/scripts/init-top/multipath (+18/-2)
debian/kpartx-boot.postinst (+34/-0)
debian/kpartx-boot.postrm (+45/-0)
debian/multipath-tools.dm-mpath-lvm.udev (+26/-0)
debian/multipath-tools.install (+5/-0)
debian/multipath-udeb.install (+8/-0)
debian/multipath.conf (+3/-0)
debian/patches/enable-find-multipaths.patch (+17/-0)
debian/patches/series (+1/-0)
debian/rules (+94/-2)
Reviewer Review Type Date Requested Status
Canonical Server Core Reviewers Pending
Canonical Server Reporter Pending
Canonical Server Pending
Canonical Server packageset reviewers Pending
git-ubuntu import Pending
Review via email: mp+437778@code.launchpad.net

Description of the change

Merge of multipath-tools.

There were a number of conflicts during rebase. I believe I sorted them all out, but doublechecks and sanitychecks are very welcomed. A few notes from this:

  - The "Split kpartx initramfs" dropped a Pre-Depends line but I think this needs to be kept. From https://salsa.debian.org/linux-blocks-team/multipath-tools/-/commit/6797e0c981cd66faab89bcef88c93f4967001144 it seems to have had an error, which may be why it was removed in our delta.

  - As part of our delta we (re-) introduced a clean rule for d/rules, which included a call to debconf-updatepo. Debian silently dropped the debian/po directory in 0.9.0-2 (See https://salsa.debian.org/linux-blocks-team/multipath-tools/-/blob/debian/0.9.0-2/debian/rules) so this command now produces an error.

  - The ubuntu delta had two CVEs which included patches backported from upstream which are now in the upstream release. However, one of the CVEs also included a couple packaging changes which still seem to be relevant. I'm uncertain why these were added to begin with but they still seem to be valid changes, so I've kept them. I'm not sure if they should though. Also, I'm not sure my phrasing of this in the changelog makes the most sense. So on both counts, review feedback is definitely welcome.

  - One task for this merge is to evaluate dropping the kpartx-Improve-finding-loopback-device-by-file.patch patch. I don't have strong feelings here, but it seems to make sense to just go with upstream's approach here.

To post a comment you must log in.

Unmerged commits

9565244... by Bryce Harrington

update-maintainer

4bfc31d... by Bryce Harrington

reconstruct-changelog

1fb8ca6... by Bryce Harrington

merge-changelogs

696b0c6... by Bryce Harrington

  * d/rules: Don't update debian/po. This directory was dropped in
    0.9.0-2.

3340951... by Bryce Harrington

  * Dropped:
    - authorization bypass
      + d/p/CVE-2022-41974-pre1.patch: fix command completion in
        interactive mode in multipathd/callbacks.c, multipathd/cli.c,
        multipathd/cli_handlers.c, multipathd/main.c.
      + d/p/CVE-2022-41974.patch: more robust command parsing in
        multipathd/callbacks.c, multipathd/cli.c, multipathd/cli.h,
        multipathd/cli_handlers.c, multipathd/uxlsnr.c.
      + d/p/CVE-2022-41974-2.patch: fix command completion with
        robust parser in multipathd/cli.c, multipathd/cli.h,
        multipathd/uxlsnr.c.
      + d/p/CVE-2022-41974-3.patch: add test for command parsing
        in Makefile.inc, tests/Makefile, tests/cli.c, multipathd/cli.h,
        multipathd/cli.c.
      + d/p/CVE-2022-41974-4.patch: fix memory leak handling
        invalid commands in multipathd/uxlsnr.c.
      [Included in upstream release]

940e093... by Bryce Harrington

  * Dropped:
    - d/p/kpartx-Improve-finding-loopback-device-by-file.patch: Improve
      finding loopback devices (LP 1747044)
      [Solved differently in upstream release]

Proposed dropping this delta, based on the discussion w/ upstream:
https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1747044/comments/6
The original author, Julian Andres Klode, has no knowledge or opinion
on this anymore. So keep it for now but drive towards dropping this
in https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1961633.

58f6ec0... by Bryce Harrington

    - SECURITY UPDATE: symlink attack
      + debian/patches/CVE-2022-41973.patch: use /run instead of /dev/shm in
        .gitignore, Makefile.inc, libmultipath/defaults.h,
        multipath/Makefile, multipath/multipath.rules.in,
        multipath/tmpfiles.conf.in.
        [Dropped: Included in upstream release]
      + debian/multipath-tools.install: install tmpfiles.d/multipath.conf.
      + debian/rules: copy udev rule after build.
      + CVE-2022-41973

The patch portion of this CVE is dropped since it was a backport of
upstream that's now included in the codebase. The packaging adjustments
appear to still be relevant but it's not evident why they were added;
they're being kept out of caution but maybe can be dropped?

d66bc28... by Athos Ribeiro

    - d/rules: remove -Bsymbolic-functions from LDFLAGS

multipathd overrides a function provided by libmultipath. Using
-Bsymbolic-functions would force multipathd to run through an unexpected
codepath causing segmentation faults during the service execution. See
https://github.com/opensvc/multipath-tools/issues/26 for further
references.

e684d91... by Utkarsh Gupta

    - Don't build the multipath-tools binary package on i386; we only want
      kpartx.

Unfortunately, this was dropped in 0.8.5-2ubuntu1 but it turns
out that we still need this, so re-adding again.

da0855a... by Utkarsh Gupta

    - d/rules: Move udev rules to priority 95, because rules that load
      modules should be >90.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1diff --git a/debian/changelog b/debian/changelog
2index 6cf6557..2982a64 100644
3--- a/debian/changelog
4+++ b/debian/changelog
5@@ -1,3 +1,88 @@
6+multipath-tools (0.9.4-3ubuntu1) lunar; urgency=medium
7+
8+ * Merge with Debian unstable (LP: #1993376). Remaining changes:
9+ - d/p/enable-find-multipaths.patch: re-enable find_multipaths by
10+ default -- see the removed 'add_find-multipaths.patch' (LP 1463046)
11+ - d/multipath.conf: Install friendly names multipath.conf by default,
12+ instead of generating it in every installer.
13+ - debian/multipath-tools.dm-mpath-lvm.udev: Adjust initramfs integration
14+ for new udev rules
15+ - Remove d/initramfs/local-top (redundant with other initramfs scripts):
16+ + init-top: take over loading modules (dm-multipath and SCSI device
17+ handlers); move the missing dm-emc there (now scsi-dh-emc; see
18+ BTS 567014).
19+ + d/rules: do not install local-top anymore.
20+ + remove d/scripts/initramfs/local-top
21+ - debian/initramfs/hooks: Add dm-queue-length: users may want to
22+ change from the default selector and should be able to do so.
23+ (LP 1673350)
24+ - multipath initramfs fixes for booting from multipathed devices:
25+ + d/initramfs/hooks: also copy wwids file on the installed
26+ system to ensure all paths come up on boot. (LP 1479929)
27+ + d/initramfs/hooks: install multipathd and required
28+ directories.
29+ + d/initramfs/hooks: copy multipath udev rules to initramfs
30+ + d/initramfs/hooks: do not copy kpartx rules to initramfs
31+ + d/initramfs/local-bottom: remember to stop multipathd.
32+ + d/initramfs/local-premount: wait for udev to settle before
33+ the call to resolve_device() in local_mount_root(), so the
34+ by-uuid/ symlinks have a chance to be updated by the
35+ multipath udev rules (LP 1503286).
36+ + d/initramfs/local-premount: Run multipath with -B so not to
37+ assign names nor change /etc/multipath/bindings during
38+ initramfs (LP 1561103)
39+ + d/rules: install d/initramfs/local-bottom
40+ + d/rules: install d/initramfs/local-premount
41+ - debian/initramfs/local-bottom: wait for the multipathd unix
42+ socket to close, so to avoid multipathd.socket unit failure.
43+ (LP 1682178)
44+ - Split kpartx initramfs bits into kpartx-boot for dmraid
45+ (LP 941874)
46+ + d/initramfs/kpartx.hook
47+ + d/kpartx-boot.postinst
48+ + d/kpartx-boot.postrm
49+ + d/control: Add kpartx-boot package for dmraid
50+ + d/rules: Install kpartx initramfs hook
51+ - d/rules: Move udev rules to priority 95, because rules that load
52+ modules should be >90.
53+ - Don't build the multipath-tools binary package on i386; we only want
54+ kpartx.
55+ - d/rules: remove -Bsymbolic-functions from LDFLAGS
56+ - SECURITY UPDATE: symlink attack
57+ + debian/patches/CVE-2022-41973.patch: use /run instead of /dev/shm in
58+ .gitignore, Makefile.inc, libmultipath/defaults.h,
59+ multipath/Makefile, multipath/multipath.rules.in,
60+ multipath/tmpfiles.conf.in.
61+ [Dropped patch: Included in upstream release]
62+ + debian/multipath-tools.install: install tmpfiles.d/multipath.conf.
63+ + debian/rules: copy udev rule after build.
64+ + CVE-2022-41973
65+ * Add:
66+ - d/rules: Don't update debian/po. This directory was dropped in
67+ 0.9.0-2.
68+ * Dropped:
69+ - d/p/kpartx-Improve-finding-loopback-device-by-file.patch: Improve
70+ finding loopback devices (LP 1747044)
71+ [Solved differently in upstream release]
72+ - authorization bypass
73+ + d/p/CVE-2022-41974-pre1.patch: fix command completion in
74+ interactive mode in multipathd/callbacks.c, multipathd/cli.c,
75+ multipathd/cli_handlers.c, multipathd/main.c.
76+ + d/p/CVE-2022-41974.patch: more robust command parsing in
77+ multipathd/callbacks.c, multipathd/cli.c, multipathd/cli.h,
78+ multipathd/cli_handlers.c, multipathd/uxlsnr.c.
79+ + d/p/CVE-2022-41974-2.patch: fix command completion with
80+ robust parser in multipathd/cli.c, multipathd/cli.h,
81+ multipathd/uxlsnr.c.
82+ + d/p/CVE-2022-41974-3.patch: add test for command parsing
83+ in Makefile.inc, tests/Makefile, tests/cli.c, multipathd/cli.h,
84+ multipathd/cli.c.
85+ + d/p/CVE-2022-41974-4.patch: fix memory leak handling
86+ invalid commands in multipathd/uxlsnr.c.
87+ [Included in upstream release]
88+
89+ -- Bryce Harrington <bryce@canonical.com> Wed, 22 Feb 2023 19:59:54 -0800
90+
91 multipath-tools (0.9.4-3) unstable; urgency=medium
92
93 [ Chris Lamb ]
94@@ -77,6 +162,109 @@ multipath-tools (0.9.0-1) unstable; urgency=medium
95
96 -- Chris Hofstaedtler <zeha@debian.org> Fri, 29 Jul 2022 22:02:31 +0000
97
98+multipath-tools (0.8.8-1ubuntu2) lunar; urgency=medium
99+
100+ * SECURITY UPDATE: symlink attack
101+ - debian/patches/CVE-2022-41973.patch: use /run instead of /dev/shm in
102+ .gitignore, Makefile.inc, libmultipath/defaults.h,
103+ multipath/Makefile, multipath/multipath.rules.in,
104+ multipath/tmpfiles.conf.in.
105+ - debian/multipath-tools.install: install tmpfiles.d/multipath.conf.
106+ - debian/rules: copy udev rule after build.
107+ - CVE-2022-41973
108+ * SECURITY UPDATE: authorization bypass
109+ - debian/patches/CVE-2022-41974-pre1.patch: fix command completion in
110+ interactive mode in multipathd/callbacks.c, multipathd/cli.c,
111+ multipathd/cli_handlers.c, multipathd/main.c.
112+ - debian/patches/CVE-2022-41974.patch: more robust command parsing in
113+ multipathd/callbacks.c, multipathd/cli.c, multipathd/cli.h,
114+ multipathd/cli_handlers.c, multipathd/uxlsnr.c.
115+ - debian/patches/CVE-2022-41974-2.patch: fix command completion with
116+ robust parser in multipathd/cli.c, multipathd/cli.h,
117+ multipathd/uxlsnr.c.
118+ - debian/patches/CVE-2022-41974-3.patch: add test for command parsing
119+ in Makefile.inc, tests/Makefile, tests/cli.c, multipathd/cli.h,
120+ multipathd/cli.c.
121+ - debian/patches/CVE-2022-41974-4.patch: fix memory leak handling
122+ invalid commands in multipathd/uxlsnr.c.
123+ - CVE-2022-41974
124+
125+ -- Marc Deslauriers <marc.deslauriers@ubuntu.com> Fri, 28 Oct 2022 14:43:41 -0400
126+
127+multipath-tools (0.8.8-1ubuntu1) jammy; urgency=medium
128+
129+ * Merge with Debian unstable (LP: #1946834, #1961136). Remaining changes:
130+ - d/p/enable-find-multipaths.patch: re-enable find_multipaths by
131+ default -- see the removed 'add_find-multipaths.patch' (LP 1463046)
132+ - d/p/kpartx-Improve-finding-loopback-device-by-file.patch: Improve
133+ finding loopback devices (LP 1747044)
134+ - d/multipath.conf: Install friendly names multipath.conf by default,
135+ instead of generating it in every installer.
136+ - debian/multipath-tools.dm-mpath-lvm.udev: Adjust initramfs integration
137+ for new udev rules
138+ - Remove d/initramfs/local-top (redundant with other initramfs scripts):
139+ + init-top: take over loading modules (dm-multipath and SCSI device
140+ handlers); move the missing dm-emc there (now scsi-dh-emc; see
141+ BTS 567014).
142+ + d/rules: do not install local-top anymore.
143+ + remove d/initramfs/local-top
144+ - debian/initramfs/hooks: Add dm-queue-length: users may want to
145+ change from the default selector and should be able to do so.
146+ (LP 1673350)
147+ - multipath initramfs fixes for booting from multipathed devices:
148+ + d/initramfs/hooks: also copy wwids file on the installed
149+ system to ensure all paths come up on boot. (LP 1479929)
150+ + d/initramfs/hooks: install multipathd and required
151+ directories.
152+ + d/initramfs/hooks: copy multipath udev rules to initramfs
153+ + d/initramfs/hooks: do not copy kpartx rules to initramfs
154+ + d/initramfs/local-bottom: remember to stop multipathd.
155+ + d/initramfs/local-premount: wait for udev to settle before
156+ the call to resolve_device() in local_mount_root(), so the
157+ by-uuid/ symlinks have a chance to be updated by the
158+ multipath udev rules (LP 1503286).
159+ + d/initramfs/local-premount: Run multipath with -B so not to
160+ assign names nor change /etc/multipath/bindings during
161+ initramfs (LP 1561103)
162+ + d/rules: install d/initramfs/local-bottom
163+ + d/rules: install d/initramfs/local-premount
164+ - debian/initramfs/local-bottom: wait for the multipathd unix
165+ socket to close, so to avoid multipathd.socket unit failure.
166+ (LP 1682178)
167+ - Split kpartx initramfs bits into kpartx-boot for dmraid (LP 941874)
168+ + d/initramfs/kpartx.hook
169+ + d/kpartx-boot.postinst
170+ + d/kpartx-boot.postrm
171+ + d/control: Add kpartx-boot package for dmraid
172+ + d/rules: Install kpartx initramfs hook
173+ - d/rules: Move udev rules to priority 95, because rules that load
174+ modules should be >90.
175+ - Don't build the multipath-tools binary package on i386; we only want
176+ kpartx.
177+ * Dropped changes:
178+ - Use stable wwn-* names in autopkgtest that work with or without
179+ friendly names, as scsi-${DM_NAME} is not a stable symlink name.
180+ [ Included in 0.8.8-1 ]
181+ - debian/tests/tgtbasedmpaths: Add sleep to allow for device creation
182+ [ Included in 0.8.8-1 ]
183+ - d/p/kpartx_more_loopback_fixes.patch: fix loopback mounted files
184+ some more: since we stat() the loopback device node, we can't rely
185+ on S_ISREG() tests to handle this case, and should look at the
186+ device itself instead. (LP 1543430)
187+ [ Applied upstream in 0.8.6 ]
188+ - d/p/no-start-in-containers.patch: Do not attempt to start
189+ multipath-tools in containers, should switch for on-demand udev/socket
190+ based activation in the future. (LP 1823093)
191+ [ Applied upstream in 0.8.7 ]
192+ - d/t/control: use allow-stderr for kpartx-file-loopback, the new
193+ gdisks version displays warnings on stderr now.
194+ [ Fixed in 0.8.8-1 ]
195+ * Added changes:
196+ - d/t/kpartx-file-loopback: silence kpartx messages to stderr
197+ - d/rules: remove -Bsymbolic-functions from LDFLAGS
198+
199+ -- Athos Ribeiro <athos.ribeiro@canonical.com> Mon, 21 Feb 2022 18:18:27 -0300
200+
201 multipath-tools (0.8.8-1) unstable; urgency=medium
202
203 [ Utkarsh Gupta ]
204@@ -98,6 +286,116 @@ multipath-tools (0.8.8-1) unstable; urgency=medium
205
206 -- Chris Hofstaedtler <zeha@debian.org> Sun, 16 Jan 2022 22:57:28 +0000
207
208+multipath-tools (0.8.5-2ubuntu3) jammy; urgency=medium
209+
210+ * No-change rebuild against liburcu8
211+
212+ -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 08 Nov 2021 01:14:39 +0000
213+
214+multipath-tools (0.8.5-2ubuntu2) impish; urgency=medium
215+
216+ * Don't build the multipath-tools binary package on i386; we
217+ only want kpartx.
218+
219+ -- Utkarsh Gupta <utkarsh.gupta@canonical.com> Wed, 07 Jul 2021 14:49:31 +0530
220+
221+multipath-tools (0.8.5-2ubuntu1) impish; urgency=medium
222+
223+ * Merge with Debian unstable. Remaining changes:
224+ - Use stable wwn-* names in autopkgtest that work with or without
225+ friendly names, as scsi-${DM_NAME} is not a stable symlink name.
226+ - debian/tests/tgtbasedmpaths: Add sleep to allow for device creation
227+ - patches to multipath source:
228+ - d/p/kpartx_more_loopback_fixes.patch: fix loopback mounted files
229+ some more: since we stat() the loopback device node, we can't rely
230+ on S_ISREG() tests to handle this case, and should look at the
231+ device itself instead. (LP 1543430)
232+ - d/p/enable-find-multipaths.patch: re-enable find_multipaths by
233+ default -- see the removed 'add_find-multipaths.patch' (LP 1463046)
234+ - d/p/kpartx-Improve-finding-loopback-device-by-file.patch: Improve
235+ finding loopback devices (LP 1747044)
236+ - d/p/no-start-in-containers.patch: Do not attempt to start
237+ multipath-tools in containers, should switch for on-demand udev/socket
238+ based activation in the future. (LP 1823093)
239+ - d/multipath.conf: Install friendly names multipath.conf by default,
240+ instead of generating it in every installer.
241+ - debian/multipath-tools.dm-mpath-lvm.udev: Adjust initramfs integration
242+ for new udev rules
243+ - Remove d/initramfs/local-top (redundant with other initramfs scripts):
244+ - init-top: take over loading modules (dm-multipath and SCSI device
245+ handlers); move the missing dm-emc there (now scsi-dh-emc; see
246+ BTS 567014).
247+ - d/rules: do not install local-top anymore.
248+ - remove d/initramfs/local-top
249+ - debian/initramfs/hooks: Add dm-queue-length: users may want to
250+ change from the default selector and should be able to do so.
251+ (LP 1673350)
252+ - multipath initramfs fixes for booting from multipathed devices:
253+ - d/initramfs/hooks: also copy wwids file on the installed
254+ system to ensure all paths come up on boot. (LP 1479929)
255+ - d/initramfs/hooks: install multipathd and required
256+ directories.
257+ - d/initramfs/hooks: copy multipath udev rules to initramfs
258+ - d/initramfs/hooks: do not copy kpartx rules to initramfs
259+ - d/initramfs/local-bottom: remember to stop multipathd.
260+ - d/initramfs/local-premount: wait for udev to settle before
261+ the call to resolve_device() in local_mount_root(), so the
262+ by-uuid/ symlinks have a chance to be updated by the
263+ multipath udev rules (LP 1503286).
264+ - d/initramfs/local-premount: Run multipath with -B so not to
265+ assign names nor change /etc/multipath/bindings during
266+ initramfs (LP 1561103)
267+ - d/rules: install d/initramfs/local-bottom
268+ - d/rules: install d/initramfs/local-premount
269+ - debian/initramfs/local-bottom: wait for the multipathd unix
270+ socket to close, so to avoid multipathd.socket unit failure.
271+ (LP 1682178)
272+ - Split kpartx initramfs bits into kpartx-boot for dmraid (LP 941874)
273+ - d/initramfs/kpartx.hook
274+ - d/kpartx-boot.postinst
275+ - d/kpartx-boot.postrm
276+ - d/control: Add kpartx-boot package for dmraid
277+ - d/rules: Install kpartx initramfs hook
278+ - d/rules: Move udev rules to priority 95, because rules that load
279+ modules should be >90.
280+ - debian/test/control:
281+ - use allow-stderr for kpartx-file-loopback, the new gdisks version
282+ displays warnings on stderr now
283+ * Dropped changes:
284+ - [Undocumented] d/p/newer-jsonc.patch: drop this patch since this
285+ was added in v0.8.4-2ubuntu1 as a delta but was incorporated in
286+ Debian via v0.8.4-3 with a different name (jsonc-true.patch; cf:
287+ https://bugs.debian.org/966597) and was never dropped from here
288+ and we've been carrying this since then.
289+ [Included in 0.8.4-3]
290+ - Drop depends on udebs, such that they don't hold up any other udebs
291+ in the archive, especially kernel udebs. Otherwise unused in Ubuntu.
292+ [Dropped support for udebs]
293+ - d/control: Enable udebs on riscv64 to fix FTBFS.
294+ [Dropped support for udebs]
295+ - d/control, d/rules: i386 related fixes
296+ - Stop producing udebs on i386 where we no longer have d-i or a kernel.
297+ - Fix debian/rules to not explode when building without udebs on i386.
298+ - Don't build the multipath-tools binary package on i386; we only want
299+ kpartx.
300+ [Dropped support for i386 & udebs]
301+ - d/control: multipath-udeb: add sg3-udeb Depends
302+ [Dropped support for udebs]
303+ - d/kpartx.install: install all arch /lib* kpartx udev rules
304+ [There's no "/lib*" anymore]
305+ - d/p/kpartx-print-loop-deleted-to-stdout-not-stderr.patch: Print loop
306+ deleted message to stdout again, not stderr; to fix autopkgtest
307+ [Upstream denied the patch; unneeded]
308+ - Disable -fexceptions on multipath-udeb (LP 1489379): the flag causes
309+ libchecktur.so to link with libgcc_s.so.1 (even with -static-libgcc),
310+ which is not available in the installer environment.
311+ - d/p/disable-fexceptions-udeb.patch: conditionally disable
312+ -fexceptions with CFLAGS_DISABLE_FEXCEPTIONS.
313+ - d/rules: set CFLAGS_DISABLE_FEXCEPTIONS to build multipath-udeb.
314+ [Changes aren't relevant anymore; dropped support for udebs]
315+
316+ -- Utkarsh Gupta <utkarsh.gupta@canonical.com> Mon, 21 Jun 2021 23:06:33 +0530
317+
318 multipath-tools (0.8.5-2) unstable; urgency=medium
319
320 * [373f5c5] Fix bashism in script kpartx/kpartx_id.
321@@ -105,6 +403,106 @@ multipath-tools (0.8.5-2) unstable; urgency=medium
322
323 -- Ritesh Raj Sarraf <rrs@debian.org> Wed, 28 Apr 2021 22:40:55 +0530
324
325+multipath-tools (0.8.5-1ubuntu6) hirsute; urgency=medium
326+
327+ * debian/test/control:
328+ - use allow-stderr for kpartx-file-loopback, the new gdisks version
329+ displays warnings on stderr now
330+
331+ -- Sebastien Bacher <seb128@debian.org> Thu, 04 Mar 2021 12:20:20 +0100
332+
333+multipath-tools (0.8.5-1ubuntu5) hirsute; urgency=medium
334+
335+ * No-change rebuild to drop the udeb package.
336+
337+ -- Matthias Klose <doko@ubuntu.com> Mon, 22 Feb 2021 10:35:31 +0100
338+
339+multipath-tools (0.8.5-1ubuntu4) hirsute; urgency=medium
340+
341+ * Drop depends on udebs, such that they don't hold up any other udebs in
342+ the archive, especially kernel udebs. Otherwise unused in Ubuntu.
343+
344+ -- Dimitri John Ledkov <xnox@ubuntu.com> Mon, 08 Feb 2021 13:18:26 +0000
345+
346+multipath-tools (0.8.5-1ubuntu1) hirsute; urgency=low
347+
348+ * Merge from Debian unstable. Remaining changes:
349+ - multipath initramfs fixes for booting from multipathed devices:
350+ - d/initramfs/hooks: also copy wwids file on the installed
351+ system to ensure all paths come up on boot. (LP 1479929)
352+ - d/initramfs/hooks: install multipathd and required
353+ directories.
354+ - d/initramfs/hooks: copy multipath udev rules to initramfs
355+ - d/initramfs/hooks: do not copy kpartx rules to initramfs
356+ - d/initramfs/local-bottom: remember to stop multipathd.
357+ - d/initramfs/local-premount: wait for udev to settle before
358+ the call to resolve_device() in local_mount_root(), so the
359+ by-uuid/ symlinks have a chance to be updated by the
360+ multipath udev rules (LP 1503286).
361+ - d/initramfs/local-premount: Run multipath with -B so not to
362+ assign names nor change /etc/multipath/bindings during
363+ initramfs (LP 1561103)
364+ - d/rules: install d/initramfs/local-bottom
365+ - d/rules: install d/initramfs/local-premount
366+ - d/control: multipath-udeb: add sg3-udeb Depends
367+ - patches to multipath source:
368+ - d/p/kpartx_more_loopback_fixes.patch: fix loopback mounted files
369+ some more: since we stat() the loopback device node, we can't rely
370+ on S_ISREG() tests to handle this case, and should look at the
371+ device itself instead. (LP 1543430)
372+ - d/p/enable-find-multipaths.patch: re-enable find_multipaths by
373+ default -- see the removed 'add_find-multipaths.patch' (LP 1463046)
374+ - Split kpartx initramfs bits into kpartx-boot for dmraid (LP 941874)
375+ - d/initramfs/kpartx.hook
376+ - d/kpartx-boot.postinst
377+ - d/kpartx-boot.postrm
378+ - d/control: Add kpartx-boot package for dmraid
379+ - d/rules: Install kpartx initramfs hook
380+ - d/kpartx.install: install all arch /lib* kpartx udev rules
381+ - debian/multipath-tools.dm-mpath-lvm.udev: Adjust initramfs integration
382+ for new udev rules
383+ - Remove d/initramfs/local-top (redundant with other initramfs scripts):
384+ - init-top: take over loading modules (dm-multipath and SCSI device
385+ handlers); move the missing dm-emc there (now scsi-dh-emc; see
386+ BTS 567014).
387+ - d/rules: do not install local-top anymore.
388+ - remove d/initramfs/local-top
389+ - d/control: Enable udebs on riscv64 to fix FTBFS.
390+ - d/control, d/rules: i386 related fixes
391+ - Stop producing udebs on i386 where we no longer have d-i or a kernel.
392+ - Fix debian/rules to not explode when building without udebs on i386.
393+ - Don't build the multipath-tools binary package on i386; we only want
394+ kpartx.
395+ - Disable -fexceptions on multipath-udeb (LP 1489379): the flag causes
396+ libchecktur.so to link with libgcc_s.so.1 (even with -static-libgcc),
397+ which is not available in the installer environment.
398+ - d/p/disable-fexceptions-udeb.patch: conditionally disable
399+ -fexceptions with CFLAGS_DISABLE_FEXCEPTIONS.
400+ - d/rules: set CFLAGS_DISABLE_FEXCEPTIONS to build multipath-udeb.
401+ - d/p/kpartx-print-loop-deleted-to-stdout-not-stderr.patch: Print loop
402+ deleted message to stdout again, not stderr; to fix autopkgtest
403+ - d/multipath.conf: Install friendly names multipath.conf by default,
404+ instead of generating it in every installer.
405+ - d/rules: Move udev rules to priority 95, because rules that load
406+ modules should be >90.
407+ - d/p/no-start-in-containers.patch: Do not attempt to start
408+ multipath-tools in containers, should switch for on-demand udev/socket
409+ based activation in the future. (LP 1823093)
410+ - d/p/kpartx-Improve-finding-loopback-device-by-file.patch: Improve
411+ finding loopback devices (LP 1747044)
412+ - debian/initramfs/hooks: Add dm-queue-length: users may want to
413+ change from the default selector and should be able to do so.
414+ (LP 1673350)
415+ - debian/initramfs/local-bottom: wait for the multipathd unix
416+ socket to close, so to avoid multipathd.socket unit failure.
417+ (LP 1682178)
418+ - debian/tests/tgtbasedmpaths:
419+ - Add sleep to allow for device creation
420+ - Use stable wwn-* names in autopkgtest that work with or without
421+ friendly names, as scsi-${DM_NAME} is not a stable symlink name.
422+
423+ -- Gianfranco Costamagna <locutusofborg@debian.org> Fri, 25 Dec 2020 22:51:36 +0100
424+
425 multipath-tools (0.8.5-1) unstable; urgency=medium
426
427 [ Ritesh Raj Sarraf ]
428@@ -130,6 +528,94 @@ multipath-tools (0.8.5-1) unstable; urgency=medium
429
430 -- Chris Hofstaedtler <zeha@debian.org> Wed, 23 Dec 2020 23:53:53 +0000
431
432+multipath-tools (0.8.4-4ubuntu2) groovy; urgency=medium
433+
434+ * Add README.alua to docs section
435+
436+ -- Rafael David Tinoco <rafaeldtinoco@ubuntu.com> Fri, 11 Sep 2020 17:39:12 +0000
437+
438+multipath-tools (0.8.4-4ubuntu1) groovy; urgency=low
439+
440+ * Merge from Debian unstable. Remaining changes:
441+ - multipath initramfs fixes for booting from multipathed devices:
442+ - d/initramfs/hooks: also copy wwids file on the installed
443+ system to ensure all paths come up on boot. (LP 1479929)
444+ - d/initramfs/hooks: install multipathd and required
445+ directories.
446+ - d/initramfs/hooks: copy multipath udev rules to initramfs
447+ - d/initramfs/hooks: do not copy kpartx rules to initramfs
448+ - d/initramfs/local-bottom: remember to stop multipathd.
449+ - d/initramfs/local-premount: wait for udev to settle before
450+ the call to resolve_device() in local_mount_root(), so the
451+ by-uuid/ symlinks have a chance to be updated by the
452+ multipath udev rules (LP 1503286).
453+ - d/initramfs/local-premount: Run multipath with -B so not to
454+ assign names nor change /etc/multipath/bindings during
455+ initramfs (LP 1561103)
456+ - d/rules: install d/initramfs/local-bottom
457+ - d/rules: install d/initramfs/local-premount
458+ - d/control: multipath-udeb: add sg3-udeb Depends
459+ - patches to multipath source:
460+ - d/p/kpartx_more_loopback_fixes.patch: fix loopback mounted files
461+ some more: since we stat() the loopback device node, we can't rely
462+ on S_ISREG() tests to handle this case, and should look at the
463+ device itself instead. (LP 1543430)
464+ - d/p/enable-find-multipaths.patch: re-enable find_multipaths by
465+ default -- see the removed 'add_find-multipaths.patch' (LP 1463046)
466+ - Split kpartx initramfs bits into kpartx-boot for dmraid (LP 941874)
467+ - d/initramfs/kpartx.hook
468+ - d/kpartx-boot.postinst
469+ - d/kpartx-boot.postrm
470+ - d/control: Add kpartx-boot package for dmraid
471+ - d/rules: Install kpartx initramfs hook
472+ - d/kpartx.install: install all arch /lib* kpartx udev rules
473+ - debian/multipath-tools.dm-mpath-lvm.udev: Adjust initramfs integration
474+ for new udev rules
475+ - Remove d/initramfs/local-top (redundant with other initramfs scripts):
476+ - init-top: take over loading modules (dm-multipath and SCSI device
477+ handlers); move the missing dm-emc there (now scsi-dh-emc; see
478+ BTS 567014).
479+ - d/rules: do not install local-top anymore.
480+ - remove d/initramfs/local-top
481+ - d/control: Enable udebs on riscv64 to fix FTBFS.
482+ - d/control, d/rules: i386 related fixes
483+ - Stop producing udebs on i386 where we no longer have d-i or a kernel.
484+ - Fix debian/rules to not explode when building without udebs on i386.
485+ - Don't build the multipath-tools binary package on i386; we only want
486+ kpartx.
487+ - Disable -fexceptions on multipath-udeb (LP 1489379): the flag causes
488+ libchecktur.so to link with libgcc_s.so.1 (even with -static-libgcc),
489+ which is not available in the installer environment.
490+ - d/p/disable-fexceptions-udeb.patch: conditionally disable
491+ -fexceptions with CFLAGS_DISABLE_FEXCEPTIONS.
492+ - d/rules: set CFLAGS_DISABLE_FEXCEPTIONS to build multipath-udeb.
493+ - d/p/kpartx-print-loop-deleted-to-stdout-not-stderr.patch: Print loop
494+ deleted message to stdout again, not stderr; to fix autopkgtest
495+ - d/multipath.conf: Install friendly names multipath.conf by default,
496+ instead of generating it in every installer.
497+ - d/rules: Move udev rules to priority 95, because rules that load
498+ modules should be >90.
499+ - d/p/no-start-in-containers.patch: Do not attempt to start
500+ multipath-tools in containers, should switch for on-demand udev/socket
501+ based activation in the future. (LP 1823093)
502+ - d/p/kpartx-Improve-finding-loopback-device-by-file.patch: Improve
503+ finding loopback devices (LP 1747044)
504+ - debian/initramfs/hooks: Add dm-queue-length: users may want to
505+ change from the default selector and should be able to do so.
506+ (LP 1673350)
507+ - debian/initramfs/local-bottom: wait for the multipathd unix
508+ socket to close, so to avoid multipathd.socket unit failure.
509+ (LP 1682178)
510+ - debian/tests/tgtbasedmpaths:
511+ - Add sleep to allow for device creation
512+ - Use stable wwn-* names in autopkgtest that work with or without
513+ friendly names, as scsi-${DM_NAME} is not a stable symlink name.
514+ * Dropped changes, superseeded by systemd switch to service script:
515+ - d/multipath-tools.preinst: modprobe dm-multipath; This will make
516+ sure that multipathd will be able to start.
517+
518+ -- Gianfranco Costamagna <locutusofborg@debian.org> Mon, 31 Aug 2020 00:12:32 +0200
519+
520 multipath-tools (0.8.4-4) unstable; urgency=medium
521
522 * [637efc8] Remove overly complicated INSTALL_PROGRAM setup.
523@@ -148,6 +634,87 @@ multipath-tools (0.8.4-4) unstable; urgency=medium
524
525 -- Chris Hofstaedtler <zeha@debian.org> Sun, 30 Aug 2020 01:14:10 +0000
526
527+multipath-tools (0.8.4-3ubuntu1) groovy; urgency=low
528+
529+ * Merge from Debian unstable. Remaining changes:
530+ - multipath initramfs fixes for booting from multipathed devices:
531+ - d/initramfs/hooks: also copy wwids file on the installed
532+ system to ensure all paths come up on boot. (LP 1479929)
533+ - d/initramfs/hooks: install multipathd and required
534+ directories.
535+ - d/initramfs/hooks: copy multipath udev rules to initramfs
536+ - d/initramfs/hooks: do not copy kpartx rules to initramfs
537+ - d/initramfs/local-bottom: remember to stop multipathd.
538+ - d/initramfs/local-premount: wait for udev to settle before
539+ the call to resolve_device() in local_mount_root(), so the
540+ by-uuid/ symlinks have a chance to be updated by the
541+ multipath udev rules (LP 1503286).
542+ - d/initramfs/local-premount: Run multipath with -B so not to
543+ assign names nor change /etc/multipath/bindings during
544+ initramfs (LP 1561103)
545+ - d/rules: install d/initramfs/local-bottom
546+ - d/rules: install d/initramfs/local-premount
547+ - d/control: multipath-udeb: add sg3-udeb Depends
548+ - patches to multipath source:
549+ - d/p/kpartx_more_loopback_fixes.patch: fix loopback mounted files
550+ some more: since we stat() the loopback device node, we can't rely
551+ on S_ISREG() tests to handle this case, and should look at the
552+ device itself instead. (LP 1543430)
553+ - d/p/enable-find-multipaths.patch: re-enable find_multipaths by
554+ default -- see the removed 'add_find-multipaths.patch' (LP 1463046)
555+ - Split kpartx initramfs bits into kpartx-boot for dmraid (LP 941874)
556+ - d/initramfs/kpartx.hook
557+ - d/kpartx-boot.postinst
558+ - d/kpartx-boot.postrm
559+ - d/control: Add kpartx-boot package for dmraid
560+ - d/rules: Install kpartx initramfs hook
561+ - d/kpartx.install: install all arch /lib* kpartx udev rules
562+ - debian/multipath-tools.dm-mpath-lvm.udev: Adjust initramfs integration
563+ for new udev rules
564+ - Remove d/initramfs/local-top (redundant with other initramfs scripts):
565+ - init-top: take over loading modules (dm-multipath and SCSI device
566+ handlers); move the missing dm-emc there (now scsi-dh-emc; see
567+ BTS 567014).
568+ - d/rules: do not install local-top anymore.
569+ - remove d/initramfs/local-top
570+ - d/control: Enable udebs on riscv64 to fix FTBFS.
571+ - d/control, d/rules: i386 related fixes
572+ - Stop producing udebs on i386 where we no longer have d-i or a kernel.
573+ - Fix debian/rules to not explode when building without udebs on i386.
574+ - Don't build the multipath-tools binary package on i386; we only want
575+ kpartx.
576+ - Disable -fexceptions on multipath-udeb (LP 1489379): the flag causes
577+ libchecktur.so to link with libgcc_s.so.1 (even with -static-libgcc),
578+ which is not available in the installer environment.
579+ - d/p/disable-fexceptions-udeb.patch: conditionally disable
580+ -fexceptions with CFLAGS_DISABLE_FEXCEPTIONS.
581+ - d/rules: set CFLAGS_DISABLE_FEXCEPTIONS to build multipath-udeb.
582+ - d/p/kpartx-print-loop-deleted-to-stdout-not-stderr.patch: Print loop
583+ deleted message to stdout again, not stderr; to fix autopkgtest
584+ - d/multipath.conf: Install friendly names multipath.conf by default,
585+ instead of generating it in every installer.
586+ - d/rules: Move udev rules to priority 95, because rules that load
587+ modules should be >90.
588+ - d/multipath-tools.preinst: modprobe dm-multipath; This will make
589+ sure that multipathd will be able to start.
590+ - d/p/no-start-in-containers.patch: Do not attempt to start
591+ multipath-tools in containers, should switch for on-demand udev/socket
592+ based activation in the future. (LP 1823093)
593+ - d/p/kpartx-Improve-finding-loopback-device-by-file.patch: Improve
594+ finding loopback devices (LP 1747044)
595+ - debian/initramfs/hooks: Add dm-queue-length: users may want to
596+ change from the default selector and should be able to do so.
597+ (LP 1673350)
598+ - debian/initramfs/local-bottom: wait for the multipathd unix
599+ socket to close, so to avoid multipathd.socket unit failure.
600+ (LP 1682178)
601+ - debian/tests/tgtbasedmpaths:
602+ - Add sleep to allow for device creation
603+ - Use stable wwn-* names in autopkgtest that work with or without
604+ friendly names, as scsi-${DM_NAME} is not a stable symlink name.
605+
606+ -- Gianfranco Costamagna <locutusofborg@debian.org> Mon, 17 Aug 2020 11:26:27 +0200
607+
608 multipath-tools (0.8.4-3) unstable; urgency=medium
609
610 * [c8c0700] Fix build with newer json-c.
611@@ -155,12 +722,176 @@ multipath-tools (0.8.4-3) unstable; urgency=medium
612
613 -- Chris Hofstaedtler <zeha@debian.org> Fri, 31 Jul 2020 09:31:38 +0000
614
615+multipath-tools (0.8.4-2ubuntu1) groovy; urgency=low
616+
617+ * Merge from Debian unstable. Remaining changes:
618+ - multipath initramfs fixes for booting from multipathed devices:
619+ - d/initramfs/hooks: also copy wwids file on the installed
620+ system to ensure all paths come up on boot. (LP 1479929)
621+ - d/initramfs/hooks: install multipathd and required
622+ directories.
623+ - d/initramfs/hooks: copy multipath udev rules to initramfs
624+ - d/initramfs/hooks: do not copy kpartx rules to initramfs
625+ - d/initramfs/local-bottom: remember to stop multipathd.
626+ - d/initramfs/local-premount: wait for udev to settle before
627+ the call to resolve_device() in local_mount_root(), so the
628+ by-uuid/ symlinks have a chance to be updated by the
629+ multipath udev rules (LP 1503286).
630+ - d/initramfs/local-premount: Run multipath with -B so not to
631+ assign names nor change /etc/multipath/bindings during
632+ initramfs (LP 1561103)
633+ - d/rules: install d/initramfs/local-bottom
634+ - d/rules: install d/initramfs/local-premount
635+ - d/control: multipath-udeb: add sg3-udeb Depends
636+ - patches to multipath source:
637+ - d/p/kpartx_more_loopback_fixes.patch: fix loopback mounted files
638+ some more: since we stat() the loopback device node, we can't rely
639+ on S_ISREG() tests to handle this case, and should look at the
640+ device itself instead. (LP 1543430)
641+ - d/p/enable-find-multipaths.patch: re-enable find_multipaths by
642+ default -- see the removed 'add_find-multipaths.patch' (LP 1463046)
643+ - Split kpartx initramfs bits into kpartx-boot for dmraid (LP 941874)
644+ - d/initramfs/kpartx.hook
645+ - d/kpartx-boot.postinst
646+ - d/kpartx-boot.postrm
647+ - d/control: Add kpartx-boot package for dmraid
648+ - d/rules: Install kpartx initramfs hook
649+ - d/kpartx.install: install all arch /lib* kpartx udev rules
650+ - debian/multipath-tools.dm-mpath-lvm.udev: Adjust initramfs integration
651+ for new udev rules
652+ - Remove d/initramfs/local-top (redundant with other initramfs scripts):
653+ - init-top: take over loading modules (dm-multipath and SCSI device
654+ handlers); move the missing dm-emc there (now scsi-dh-emc; see
655+ BTS 567014).
656+ - d/rules: do not install local-top anymore.
657+ - remove d/initramfs/local-top
658+ - d/control: Enable udebs on riscv64 to fix FTBFS.
659+ - d/control, d/rules: i386 related fixes
660+ - Stop producing udebs on i386 where we no longer have d-i or a kernel.
661+ - Fix debian/rules to not explode when building without udebs on i386.
662+ - Don't build the multipath-tools binary package on i386; we only want
663+ kpartx.
664+ - Disable -fexceptions on multipath-udeb (LP 1489379): the flag causes
665+ libchecktur.so to link with libgcc_s.so.1 (even with -static-libgcc),
666+ which is not available in the installer environment.
667+ - d/p/disable-fexceptions-udeb.patch: conditionally disable
668+ -fexceptions with CFLAGS_DISABLE_FEXCEPTIONS.
669+ - d/rules: set CFLAGS_DISABLE_FEXCEPTIONS to build multipath-udeb.
670+ - d/p/kpartx-print-loop-deleted-to-stdout-not-stderr.patch: Print loop
671+ deleted message to stdout again, not stderr; to fix autopkgtest
672+ - d/multipath.conf: Install friendly names multipath.conf by default,
673+ instead of generating it in every installer.
674+ - d/rules: Move udev rules to priority 95, because rules that load
675+ modules should be >90.
676+ - d/multipath-tools.preinst: modprobe dm-multipath; This will make
677+ sure that multipathd will be able to start.
678+ - d/p/no-start-in-containers.patch: Do not attempt to start
679+ multipath-tools in containers, should switch for on-demand udev/socket
680+ based activation in the future. (LP 1823093)
681+ - d/p/kpartx-Improve-finding-loopback-device-by-file.patch: Improve
682+ finding loopback devices (LP 1747044)
683+ - debian/initramfs/hooks: Add dm-queue-length: users may want to
684+ change from the default selector and should be able to do so.
685+ (LP 1673350)
686+ - debian/initramfs/local-bottom: wait for the multipathd unix
687+ socket to close, so to avoid multipathd.socket unit failure.
688+ (LP 1682178)
689+ - debian/tests/tgtbasedmpaths:
690+ - Add sleep to allow for device creation
691+ - Use stable wwn-* names in autopkgtest that work with or without
692+ friendly names, as scsi-${DM_NAME} is not a stable symlink name.
693+ - debian/patches/newer-jsonc.patch
694+ - patch for newer json-c
695+
696+ -- Gianfranco Costamagna <locutusofborg@debian.org> Fri, 31 Jul 2020 10:20:36 +0200
697+
698 multipath-tools (0.8.4-2) unstable; urgency=medium
699
700 * [b270b02] Fix FTBFS with gcc-10 (Closes: #957568)
701
702 -- Chris Hofstaedtler <zeha@debian.org> Wed, 22 Jul 2020 22:23:13 +0000
703
704+multipath-tools (0.8.4-1ubuntu1) groovy; urgency=medium
705+
706+ * Merge with Debian unstable (LP: #1886693). Remaining changes:
707+ - multipath initramfs fixes for booting from multipathed devices:
708+ - d/initramfs/hooks: also copy wwids file on the installed
709+ system to ensure all paths come up on boot. (LP 1479929)
710+ - d/initramfs/hooks: install multipathd and required
711+ directories.
712+ - d/initramfs/hooks: copy multipath udev rules to initramfs
713+ - d/initramfs/hooks: do not copy kpartx rules to initramfs
714+ - d/initramfs/local-bottom: remember to stop multipathd.
715+ - d/initramfs/local-premount: wait for udev to settle before
716+ the call to resolve_device() in local_mount_root(), so the
717+ by-uuid/ symlinks have a chance to be updated by the
718+ multipath udev rules (LP 1503286).
719+ - d/initramfs/local-premount: Run multipath with -B so not to
720+ assign names nor change /etc/multipath/bindings during
721+ initramfs (LP 1561103)
722+ - d/rules: install d/initramfs/local-bottom
723+ - d/rules: install d/initramfs/local-premount
724+ - d/control: multipath-udeb: add sg3-udeb Depends
725+ - patches to multipath source:
726+ - d/p/kpartx_more_loopback_fixes.patch: fix loopback mounted files
727+ some more: since we stat() the loopback device node, we can't rely
728+ on S_ISREG() tests to handle this case, and should look at the
729+ device itself instead. (LP 1543430)
730+ - d/p/enable-find-multipaths.patch: re-enable find_multipaths by
731+ default -- see the removed 'add_find-multipaths.patch' (LP 1463046)
732+ - Split kpartx initramfs bits into kpartx-boot for dmraid (LP 941874)
733+ - d/initramfs/kpartx.hook
734+ - d/kpartx-boot.postinst
735+ - d/kpartx-boot.postrm
736+ - d/control: Add kpartx-boot package for dmraid
737+ - d/rules: Install kpartx initramfs hook
738+ - d/kpartx.install: install all arch /lib* kpartx udev rules
739+ - debian/multipath-tools.dm-mpath-lvm.udev: Adjust initramfs integration
740+ for new udev rules
741+ - Remove d/initramfs/local-top (redundant with other initramfs scripts):
742+ - init-top: take over loading modules (dm-multipath and SCSI device
743+ handlers); move the missing dm-emc there (now scsi-dh-emc; see
744+ BTS 567014).
745+ - d/rules: do not install local-top anymore.
746+ - remove d/initramfs/local-top
747+ - d/control: Enable udebs on riscv64 to fix FTBFS.
748+ - d/control, d/rules: i386 related fixes
749+ - Stop producing udebs on i386 where we no longer have d-i or a kernel.
750+ - Fix debian/rules to not explode when building without udebs on i386.
751+ - Don't build the multipath-tools binary package on i386; we only want
752+ kpartx.
753+ - Disable -fexceptions on multipath-udeb (LP 1489379): the flag causes
754+ libchecktur.so to link with libgcc_s.so.1 (even with -static-libgcc),
755+ which is not available in the installer environment.
756+ - d/p/disable-fexceptions-udeb.patch: conditionally disable
757+ -fexceptions with CFLAGS_DISABLE_FEXCEPTIONS.
758+ - d/rules: set CFLAGS_DISABLE_FEXCEPTIONS to build multipath-udeb.
759+ - d/p/kpartx-print-loop-deleted-to-stdout-not-stderr.patch: Print loop
760+ deleted message to stdout again, not stderr; to fix autopkgtest
761+ - d/multipath.conf: Install friendly names multipath.conf by default,
762+ instead of generating it in every installer.
763+ - d/rules: Move udev rules to priority 95, because rules that load
764+ modules should be >90.
765+ - d/multipath-tools.preinst: modprobe dm-multipath; This will make
766+ sure that multipathd will be able to start.
767+ - d/p/no-start-in-containers.patch: Do not attempt to start
768+ multipath-tools in containers, should switch for on-demand udev/socket
769+ based activation in the future. (LP 1823093)
770+ - d/p/kpartx-Improve-finding-loopback-device-by-file.patch: Improve
771+ finding loopback devices (LP 1747044)
772+ - debian/initramfs/hooks: Add dm-queue-length: users may want to
773+ change from the default selector and should be able to do so.
774+ (LP 1673350)
775+ - debian/initramfs/local-bottom: wait for the multipathd unix
776+ socket to close, so to avoid multipathd.socket unit failure.
777+ (LP 1682178)
778+ - debian/tests/tgtbasedmpaths:
779+ - Add sleep to allow for device creation
780+ - Use stable wwn-* names in autopkgtest that work with or without
781+ friendly names, as scsi-${DM_NAME} is not a stable symlink name.
782+
783+ -- Rafael David Tinoco <rafaeldtinoco@ubuntu.com> Wed, 08 Jul 2020 03:59:53 +0000
784+
785 multipath-tools (0.8.4-1) unstable; urgency=medium
786
787 * [f4b2af2] kpartx: use correct path to partx in udev rule (Closes: #959727)
788@@ -169,6 +900,95 @@ multipath-tools (0.8.4-1) unstable; urgency=medium
789
790 -- Chris Hofstaedtler <zeha@debian.org> Sun, 21 Jun 2020 16:23:30 +0000
791
792+multipath-tools (0.8.3-1ubuntu2) focal; urgency=medium
793+
794+ * Enable udebs on riscv64 to fix FTBFS.
795+
796+ -- William Grant <wgrant@ubuntu.com> Mon, 06 Apr 2020 18:17:20 +1000
797+
798+multipath-tools (0.8.3-1ubuntu1) focal; urgency=low
799+
800+ * Merge from Debian unstable. Remaining changes:
801+ - Stop producing udebs on i386 where we no longer have d-i or a kernel.
802+ - Fix debian/rules to not explode when building without udebs on i386.
803+ - Don't build the multipath-tools binary package on i386; we only want
804+ kpartx.
805+ - d/control:
806+ - multipath-udeb: add sg3-udeb Depends
807+ - d/rules: Move udev rules to priority 95, because rules that load modules
808+ should be >90.
809+ - d/multipath-tools.preinst: modprobe dm-multipath; This will make sure
810+ that multipathd will be able to start.
811+ - Split kpartx initramfs bits into kpartx-boot for dmraid (LP 941874)
812+ - d/initramfs/kpartx.hook
813+ - d/kpartx-boot.postinst
814+ - d/kpartx-boot.postrm
815+ - d/control: Add kpartx-boot package for dmraid
816+ - d/rules: Install kpartx initramfs hook
817+ - d/kpartx.install: install all arch /lib* kpartx udev rules
818+ - patches to multipath source
819+ - d/p/1000--set-umask-in-multipathd.patch: Set umask in multipathd.
820+ - d/p/kpartx_more_loopback_fixes.patch: fix loopback mounted
821+ files some more: since we stat() the loopback device node, we can't rely
822+ on S_ISREG() tests to handle this case, and should look at the device
823+ itself instead. (LP 1543430)
824+ - d/p/enable-find-multipaths.patch: re-enable find_multipaths
825+ by default -- see the removed 'add_find-multipaths.patch' (LP 1463046)
826+ - multipath initramfs fixes for booting from multipathed devices
827+ - d/initramfs/hooks: also copy wwids file on the installed system to
828+ ensure all paths come up on boot. (LP 1479929)
829+ - d/initramfs/hooks: install multipathd and required directories.
830+ - d/initramfs/hooks: copy multipath udev rules to initramfs
831+ - d/initramfs/hooks: do not copy kpartx rules to initramfs
832+ - d/initramfs/local-bottom: remember to stop multipathd.
833+ - d/initramfs/local-premount: wait for udev to settle before the call to
834+ resolve_device() in local_mount_root(), so the by-uuid/ symlinks have a
835+ chance to be updated by the multipath udev rules (LP 1503286).
836+ - d/initramfs/local-premount: Run multipath with -B so not to assign names
837+ nor change /etc/multipath/bindings during initramfs (LP 1561103)
838+ - d/rules: install d/initramfs/local-bottom
839+ - d/rules: install d/initramfs/local-premount
840+ - Disable -fexceptions on multipath-udeb (LP 1489379): the flag causes
841+ libchecktur.so to link with libgcc_s.so.1 (even with -static-libgcc),
842+ which is not available in the installer environment.
843+ - d/p/disable-fexceptions-udeb.patch: conditionally disable -fexceptions
844+ with CFLAGS_DISABLE_FEXCEPTIONS.
845+ - d/rules: set CFLAGS_DISABLE_FEXCEPTIONS to build multipath-udeb.
846+ - Remove d/initramfs/local-top (redundant with other initramfs scripts):
847+ - init-top: take over loading modules (dm-multipath and SCSI device
848+ handlers); move the missing dm-emc there (now scsi-dh-emc;
849+ see BTS 567014).
850+ - d/rules: do not install local-top anymore.
851+ - remove d/initramfs/local-top
852+ - Fixes typo in package description (availibility -> availability)
853+ (LP 1231182)
854+ - debian/initramfs/local-bottom: wait for the multipathd unix socket
855+ to close, so to avoid multipathd.socket unit failure. (LP 1682178)
856+ - debian/initramfs/hooks: Add dm-queue-length: users may want to change
857+ from the default selector and should be able to do so. (LP 1673350)
858+ - d/p/kpartx-Improve-finding-loopback-device-by-file.patch: Improve
859+ finding loopback devices (LP 1747044)
860+ - d/p/kpartx-print-loop-deleted-to-stdout-not-stderr.patch: Print loop
861+ deleted message to stdout again, not stderr; to fix autopkgtest
862+ - Install friendly names multipath.conf by default, instead of
863+ generating it in every installer.
864+ - Use stable wwn-* names in autopkgtest that work with or without
865+ friendly names, as scsi-${DM_NAME} is not a stable symlink name.
866+ - Do not attempt to start multipath-tools in containers, should switch
867+ for on-demand udev/socket based activation in the future. LP 1823093
868+ - Adjust initramfs integration for new udev rules
869+ - debian/tests/tgtbasedmpaths: Add sleep to allow for device creation
870+ - d/p/kpartx-Improve-finding-loopback-device-by-file.patch
871+ [updated to match new upstream version]
872+ - d/p/disable-fexceptions-udeb.patch: to match new upstream version
873+ [updated to match new upstream version]
874+ - d/p/enable-find-multipaths.patch: since upstream change c36f2f42 we need
875+ to set yes to retain the Ubuntu behavior instead of 1 as we did before.
876+ - d/p/kpartx-Improve-finding-loopback-device-by-file.patch
877+ [updated to match new upstream version]
878+
879+ -- Steve Langasek <steve.langasek@ubuntu.com> Thu, 13 Feb 2020 11:57:46 -0800
880+
881 multipath-tools (0.8.3-1) unstable; urgency=medium
882
883 * [6b91b76] New upstream version 0.8.3
884@@ -176,6 +996,144 @@ multipath-tools (0.8.3-1) unstable; urgency=medium
885
886 -- Ritesh Raj Sarraf <rrs@debian.org> Wed, 08 Jan 2020 21:45:44 +0530
887
888+multipath-tools (0.7.9-3ubuntu7) focal; urgency=medium
889+
890+ * Don't build the multipath-tools binary package on i386; we only want
891+ kpartx.
892+
893+ -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 07 Jan 2020 14:00:24 -0800
894+
895+multipath-tools (0.7.9-3ubuntu6) eoan; urgency=medium
896+
897+ * Fix debian/rules to not explode when building without udebs on i386.
898+
899+ -- Adam Conrad <adconrad@ubuntu.com> Wed, 09 Oct 2019 15:22:33 -0600
900+
901+multipath-tools (0.7.9-3ubuntu5) eoan; urgency=medium
902+
903+ * Stop producing udebs on i386 where we no longer have d-i or a kernel.
904+
905+ -- Adam Conrad <adconrad@ubuntu.com> Wed, 09 Oct 2019 14:09:21 -0600
906+
907+multipath-tools (0.7.9-3ubuntu4) eoan; urgency=medium
908+
909+ * Rebuild against new libjson-c4.
910+
911+ -- Gianfranco Costamagna <locutusofborg@debian.org> Sat, 29 Jun 2019 13:55:54 +0200
912+
913+multipath-tools (0.7.9-3ubuntu3) eoan; urgency=medium
914+
915+ * Revert "Ensure udebs have the same udev rules as installed
916+ systems. LP: #1825189" for now. Udev rules get in the way at the
917+ moment.
918+
919+ -- Dimitri John Ledkov <xnox@ubuntu.com> Tue, 21 May 2019 12:34:41 +0100
920+
921+multipath-tools (0.7.9-3ubuntu2) eoan; urgency=medium
922+
923+ * Ensure udebs have the same udev rules as installed systems. LP:
924+ #1825189
925+
926+ -- Dimitri John Ledkov <xnox@ubuntu.com> Tue, 21 May 2019 12:34:41 +0100
927+
928+multipath-tools (0.7.9-3ubuntu1) eoan; urgency=medium
929+
930+ * Merge from Debian. Remaining changes:
931+ - d/control:
932+ - multipath-udeb: add sg3-udeb Depends
933+ - d/rules: Move udev rules to priority 95, because rules that load modules
934+ should be >90.
935+ - d/multipath-tools.preinst: modprobe dm-multipath; This will make sure
936+ that multipathd will be able to start.
937+ - Split kpartx initramfs bits into kpartx-boot for dmraid (LP 941874)
938+ - d/initramfs/kpartx.hook
939+ - d/kpartx-boot.postinst
940+ - d/kpartx-boot.postrm
941+ - d/control: Add kpartx-boot package for dmraid
942+ - d/rules: Install kpartx initramfs hook
943+ - d/kpartx.install: install all arch /lib* kpartx udev rules
944+ - patches to multipath source
945+ - d/p/1000--set-umask-in-multipathd.patch: Set umask in multipathd.
946+ - d/p/kpartx_more_loopback_fixes.patch: fix loopback mounted
947+ files some more: since we stat() the loopback device node, we can't rely
948+ on S_ISREG() tests to handle this case, and should look at the device
949+ itself instead. (LP 1543430)
950+ - d/p/enable-find-multipaths.patch: re-enable find_multipaths
951+ by default -- see the removed 'add_find-multipaths.patch' (LP 1463046)
952+ - multipath initramfs fixes for booting from multipathed devices
953+ - d/initramfs/hooks: also copy wwids file on the installed system to
954+ ensure all paths come up on boot. (LP 1479929)
955+ - d/initramfs/hooks: install multipathd and required directories.
956+ - d/initramfs/hooks: copy multipath udev rules to initramfs
957+ - d/initramfs/hooks: do not copy kpartx rules to initramfs
958+ - d/initramfs/local-bottom: remember to stop multipathd.
959+ - d/initramfs/local-premount: wait for udev to settle before the call to
960+ resolve_device() in local_mount_root(), so the by-uuid/ symlinks have a
961+ chance to be updated by the multipath udev rules (LP 1503286).
962+ - d/initramfs/local-premount: Run multipath with -B so not to assign names
963+ nor change /etc/multipath/bindings during initramfs (LP 1561103)
964+ - d/rules: install d/initramfs/local-bottom
965+ - d/rules: install d/initramfs/local-premount
966+ - Disable -fexceptions on multipath-udeb (LP 1489379): the flag causes
967+ libchecktur.so to link with libgcc_s.so.1 (even with -static-libgcc),
968+ which is not available in the installer environment.
969+ - d/p/disable-fexceptions-udeb.patch: conditionally disable -fexceptions
970+ with CFLAGS_DISABLE_FEXCEPTIONS.
971+ - d/rules: set CFLAGS_DISABLE_FEXCEPTIONS to build multipath-udeb.
972+ - Remove d/initramfs/local-top (redundant with other initramfs scripts):
973+ - init-top: take over loading modules (dm-multipath and SCSI device
974+ handlers); move the missing dm-emc there (now scsi-dh-emc;
975+ see BTS 567014).
976+ - d/rules: do not install local-top anymore.
977+ - remove d/initramfs/local-top
978+ - Fixes typo in package description (availibility -> availability)
979+ (LP 1231182)
980+ - debian/initramfs/local-bottom: wait for the multipathd unix socket
981+ to close, so to avoid multipathd.socket unit failure. (LP 1682178)
982+ - debian/initramfs/hooks: Add dm-queue-length: users may want to change
983+ from the default selector and should be able to do so. (LP 1673350)
984+ - d/p/kpartx-Improve-finding-loopback-device-by-file.patch: Improve
985+ finding loopback devices (LP 1747044)
986+ - d/p/kpartx-print-loop-deleted-to-stdout-not-stderr.patch: Print loop
987+ deleted message to stdout again, not stderr; to fix autopkgtest
988+ - Install friendly names multipath.conf by default, instead of
989+ generating it in every installer.
990+ - Use stable wwn-* names in autopkgtest that work with or without
991+ friendly names, as scsi-${DM_NAME} is not a stable symlink name.
992+ - Do not attempt to start multipath-tools in containers, should switch
993+ for on-demand udev/socket based activation in the future. LP 1823093
994+ - Adjust initramfs integration for new udev rules
995+ - debian/tests/tgtbasedmpaths: Add sleep to allow for device creation
996+ * Dropped changes:
997+ - Install dm-parts.rule
998+ - Fix /usr/lib/udev to be /lib/udev
999+ - Move udev rules at position 11 to position 56
1000+ - Fix 11-dm-mpath.rules to check for DM_UDEV_RULES, not DM_UDEV_RULES_VSN
1001+ - d/rules: Run dh_clean from clean target
1002+ - Install 68-del-part-nodes.rules
1003+ [all above in Debian now]
1004+ - Import upstream commit to fix crash in multipathd
1005+ [part of the new upstream version]
1006+ - d/p/1000--set-umask-in-multipathd.patch: Set umask in multipathd.
1007+ [new upstream sets umask before calling before uxsock_listen]
1008+ - d/control mark transition of file /etc/init.d/multipath-tools-boot
1009+ according to case #9 of https://wiki.debian.org/PackageTransition
1010+ [no more needed post 18.04]
1011+ - Apply fix from fedora to trigger change uevent on device creation,
1012+ this also ensures new devices are discovered automatically.
1013+ [upstream since 0.7.7]
1014+ * Added Changes:
1015+ - d/p/kpartx-Improve-finding-loopback-device-by-file.patch
1016+ [updated to match new upstream version]
1017+ - d/p/disable-fexceptions-udeb.patch: to match new upstream version
1018+ [updated to match new upstream version]
1019+ - d/p/enable-find-multipaths.patch: since upstream change c36f2f42 we need
1020+ to set yes to retain the Ubuntu behavior instead of 1 as we did before.
1021+ - d/p/kpartx-Improve-finding-loopback-device-by-file.patch
1022+ [updated to match new upstream version]
1023+
1024+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Mon, 29 Apr 2019 16:14:26 +0200
1025+
1026 multipath-tools (0.7.9-3) unstable; urgency=medium
1027
1028 * [51a7724] Reliably extract the running systemd version
1029@@ -269,6 +1227,126 @@ multipath-tools (0.7.4-3) unstable; urgency=medium
1030
1031 -- Ritesh Raj Sarraf <rrs@debian.org> Sat, 10 Feb 2018 11:23:20 +0530
1032
1033+multipath-tools (0.7.4-2ubuntu8) disco; urgency=medium
1034+
1035+ * Do not attempt to start multipath-tools in containers, should switch
1036+ for on-demand udev/socket based activation in the future. LP: #1823093
1037+
1038+ -- Dimitri John Ledkov <xnox@ubuntu.com> Mon, 15 Apr 2019 11:10:32 +0100
1039+
1040+multipath-tools (0.7.4-2ubuntu7) disco; urgency=medium
1041+
1042+ * Use stable wwn-* names in autopkgtest that work with or without
1043+ friendly names, as scsi-${DM_NAME} is not a stable symlink name.
1044+
1045+ -- Dimitri John Ledkov <xnox@ubuntu.com> Tue, 02 Apr 2019 13:22:51 +0100
1046+
1047+multipath-tools (0.7.4-2ubuntu6) disco; urgency=medium
1048+
1049+ * Install friendly names multipath.conf by default, instead of
1050+ generating it in every installer.
1051+
1052+ -- Dimitri John Ledkov <xnox@ubuntu.com> Wed, 20 Mar 2019 23:02:30 +0000
1053+
1054+multipath-tools (0.7.4-2ubuntu4) disco; urgency=medium
1055+
1056+ * No-change rebuild for readline soname change.
1057+
1058+ -- Matthias Klose <doko@ubuntu.com> Mon, 14 Jan 2019 20:02:28 +0000
1059+
1060+multipath-tools (0.7.4-2ubuntu3) bionic; urgency=medium
1061+
1062+ * d/p/kpartx-print-loop-deleted-to-stdout-not-stderr.patch: Print loop
1063+ deleted message to stdout again, not stderr; to fix autopkgtest
1064+
1065+ -- Julian Andres Klode <juliank@ubuntu.com> Mon, 05 Feb 2018 11:46:37 +0100
1066+
1067+multipath-tools (0.7.4-2ubuntu2) bionic; urgency=medium
1068+
1069+ * d/p/kpartx-Improve-finding-loopback-device-by-file.patch: Improve
1070+ finding loopback devices (LP: #1747044)
1071+
1072+ -- Julian Andres Klode <juliank@ubuntu.com> Mon, 05 Feb 2018 10:06:19 +0100
1073+
1074+multipath-tools (0.7.4-2ubuntu1) bionic; urgency=medium
1075+
1076+ * Merge from Debian. (LP: #1710697, LP: #1711749) Remaining changes:
1077+ - d/control:
1078+ - multipath-udeb: add sg3-udeb Depends
1079+ - d/rules: Move udev rules to priority 95, because rules that load modules
1080+ should be >90.
1081+ - d/multipath-tools.preinst: modprobe dm-multipath; This will make sure
1082+ that multipathd will be able to start.
1083+ - Split kpartx initramfs bits into kpartx-boot for dmraid (LP 941874)
1084+ - d/initramfs/kpartx.hook
1085+ - d/kpartx-boot.postinst
1086+ - d/kpartx-boot.postrm
1087+ - d/control: Add kpartx-boot package for dmraid
1088+ - d/rules: Install kpartx initramfs hook
1089+ - d/kpartx.install: install all arch /lib* kpartx udev rules
1090+ - patches to multipath source
1091+ - d/p/1000--set-umask-in-multipathd.patch: Set umask in multipathd.
1092+ - d/p/kpartx_more_loopback_fixes.patch: fix loopback mounted
1093+ files some more: since we stat() the loopback device node, we can't rely
1094+ on S_ISREG() tests to handle this case, and should look at the device
1095+ itself instead. (LP 1543430)
1096+ - d/p/enable-find-multipaths.patch: re-enable find_multipaths
1097+ by default -- see the removed 'add_find-multipaths.patch' (LP 1463046)
1098+ - multipath initramfs fixes for booting from multipathed devices
1099+ - d/initramfs/hooks: also copy wwids file on the installed system to
1100+ ensure all paths come up on boot. (LP 1479929)
1101+ - d/initramfs/hooks: install multipathd and required directories.
1102+ - d/initramfs/hooks: copy multipath udev rules to initramfs
1103+ - d/initramfs/hooks: do not copy kpartx rules to initramfs
1104+ - d/initramfs/local-bottom: remember to stop multipathd.
1105+ - d/initramfs/local-premount: wait for udev to settle before the call to
1106+ resolve_device() in local_mount_root(), so the by-uuid/ symlinks have a
1107+ chance to be updated by the multipath udev rules (LP 1503286).
1108+ - d/initramfs/local-premount: Run multipath with -B so not to assign names
1109+ nor change /etc/multipath/bindings during initramfs (LP 1561103)
1110+ - d/rules: install d/initramfs/local-bottom
1111+ - d/rules: install d/initramfs/local-premount
1112+ - Disable -fexceptions on multipath-udeb (LP 1489379): the flag causes
1113+ libchecktur.so to link with libgcc_s.so.1 (even with -static-libgcc),
1114+ which is not available in the installer environment.
1115+ - d/p/disable-fexceptions-udeb.patch: conditionally disable -fexceptions
1116+ with CFLAGS_DISABLE_FEXCEPTIONS.
1117+ - d/rules: set CFLAGS_DISABLE_FEXCEPTIONS to build multipath-udeb.
1118+ - Remove d/initramfs/local-top (redundant with other initramfs scripts):
1119+ - init-top: take over loading modules (dm-multipath and SCSI device
1120+ handlers); move the missing dm-emc there (now scsi-dh-emc;
1121+ see BTS 567014).
1122+ - d/rules: do not install local-top anymore.
1123+ - remove d/initramfs/local-top
1124+ - Fixes typo in package description (availibility -> availability)
1125+ (LP 1231182)
1126+ - d/control mark transition of file /etc/init.d/multipath-tools-boot
1127+ according to case #9 of https://wiki.debian.org/PackageTransition
1128+ - debian/initramfs/local-bottom: wait for the multipathd unix socket
1129+ to close, so to avoid multipathd.socket unit failure. (LP 1682178)
1130+ - debian/initramfs/hooks: Add dm-queue-length: users may want to change
1131+ from the default selector and should be able to do so. (LP 1673350)
1132+ * Dropped changes:
1133+ - Remove partition device nodes of individual paths (for LVM on multipath)
1134+ on the new multipath-tools with udev property blacklisting (LP 1540401)
1135+ + Replaced by 68-del-part-nodes.rules
1136+ + known as "dm-mpath-lvm.rules", also dropped initramfs for that
1137+ * New changes:
1138+ - Install dm-parts.rule
1139+ - Fix /usr/lib/udev to be /lib/udev
1140+ - Move udev rules at position 11 to position 56
1141+ - Fix 11-dm-mpath.rules to check for DM_UDEV_RULES, not DM_UDEV_RULES_VSN
1142+ - d/rules: Run dh_clean from clean target
1143+ - Install 68-del-part-nodes.rules
1144+ - Import upstream commit to fix crash in multipathd
1145+ - Adjust initramfs integration for new udev rules
1146+ - Apply fix from fedora to trigger change uevent on device creation,
1147+ this also ensures new devices are discovered automatically.
1148+ - debian/tests/tgtbasedmpaths: Add sleep to allow for device creation
1149+ - d/patches: Add DEP-3 headers to our own patches
1150+
1151+ -- Julian Andres Klode <juliank@ubuntu.com> Wed, 24 Jan 2018 10:57:46 +0100
1152+
1153 multipath-tools (0.7.4-2) unstable; urgency=medium
1154
1155 * Upload to Unstable
1156@@ -300,6 +1378,89 @@ multipath-tools (0.7.4-1) experimental; urgency=medium
1157
1158 -- Ritesh Raj Sarraf <rrs@debian.org> Fri, 22 Dec 2017 11:49:58 +0530
1159
1160+multipath-tools (0.6.4-5ubuntu1) artful; urgency=medium
1161+
1162+ * Merge from Debian. (LP: #1548303) Remaining changes:
1163+ - d/control:
1164+ - multipath-udeb: add sg3-udeb Depends
1165+ - d/rules: Move udev rules to priority 95, because rules that load modules
1166+ should be >90.
1167+ - d/multipath-tools.preinst: modprobe dm-multipath; This will make sure
1168+ that multipathd will be able to start.
1169+ - Split kpartx initramfs bits into kpartx-boot for dmraid (LP 941874)
1170+ - d/initramfs/kpartx.hook
1171+ - d/kpartx-boot.postinst
1172+ - d/kpartx-boot.postrm
1173+ - d/control: Add kpartx-boot package for dmraid
1174+ - d/rules: Install kpartx initramfs hook
1175+ - d/kpartx.install: install all arch /lib* kpartx udev rules
1176+ - patches to multipath source
1177+ - d/p/1000--set-umask-in-multipathd.patch: Set umask in multipathd.
1178+ - d/p/kpartx_more_loopback_fixes.patch: fix loopback mounted
1179+ files some more: since we stat() the loopback device node, we can't rely
1180+ on S_ISREG() tests to handle this case, and should look at the device
1181+ itself instead. (LP 1543430)
1182+ - d/p/enable-find-multipaths.patch: re-enable find_multipaths
1183+ by default -- see the removed 'add_find-multipaths.patch' (LP 1463046)
1184+ - multipath initramfs fixes for booting from multipathed devices
1185+ - d/initramfs/hooks: also copy wwids file on the installed system to
1186+ ensure all paths come up on boot. (LP 1479929)
1187+ - d/initramfs/hooks: install multipathd and required directories.
1188+ - d/initramfs/hooks: copy dm-mpath-lvm & multipath udev rules to initramfs
1189+ - d/initramfs/hooks: do not copy kpartx rules to initramfs
1190+ - d/initramfs/local-bottom: remember to stop multipathd.
1191+ - d/initramfs/local-premount: wait for udev to settle before the call to
1192+ resolve_device() in local_mount_root(), so the by-uuid/ symlinks have a
1193+ chance to be updated by the multipath udev rules (LP 1503286).
1194+ - d/initramfs/local-premount: Run multipath with -B so not to assign names
1195+ nor change /etc/multipath/bindings during initramfs (LP 1561103)
1196+ - d/rules: install d/initramfs/local-bottom
1197+ - d/rules: install d/initramfs/local-premount
1198+ - Disable -fexceptions on multipath-udeb (LP 1489379): the flag causes
1199+ libchecktur.so to link with libgcc_s.so.1 (even with -static-libgcc),
1200+ which is not available in the installer environment.
1201+ - d/p/disable-fexceptions-udeb.patch: conditionally disable -fexceptions
1202+ with CFLAGS_DISABLE_FEXCEPTIONS.
1203+ - d/rules: set CFLAGS_DISABLE_FEXCEPTIONS to build multipath-udeb.
1204+ - Remove partition device nodes of individual paths (for LVM on multipath)
1205+ on the new multipath-tools with udev property blacklisting (LP 1540401)
1206+ - d/multipath-tools.dm-mpath-lvm.udev: udev rule for that.
1207+ - d/initramfs/init-top: load the dm-multipath module for
1208+ 'multipath -c'.
1209+ - d/initramfs/init-top: start multipathd before udev (required by
1210+ 'multipath -u' in the udev rules)
1211+ - d/rules: install the udev rule (priority 56: after 55-scsi-sg3_id)
1212+ - d/rules: rename multipath-tools udev to dm-mpath-lvm
1213+ - d/multipath-tools.dm-mpath-lvm.udev: replace 'multipath -c' with
1214+ 'multipath -u' which can read udev properties at PROGRAM-rule time
1215+ (when udev properties are not yet written to the udev database).
1216+ - Remove d/initramfs/local-top (redundant with other initramfs scripts):
1217+ - init-top: take over loading modules (dm-multipath and SCSI device
1218+ handlers); move the missing dm-emc there (now scsi-dh-emc;
1219+ see BTS 567014).
1220+ - d/rules: do not install local-top anymore.
1221+ - remove d/initramfs/local-top
1222+ - Fixes typo in package description (availibility -> availability)
1223+ (LP 1231182)
1224+ - d/control mark transition of file /etc/init.d/multipath-tools-boot
1225+ according to case #9 of https://wiki.debian.org/PackageTransition
1226+ - debian/initramfs/local-bottom: wait for the multipathd unix socket
1227+ to close, so to avoid multipathd.socket unit failure. (LP 1682178)
1228+ - debian/initramfs/hooks: Add dm-queue-length: users may want to change
1229+ from the default selector and should be able to do so. (LP 1673350)
1230+ * Drop changes (in Debian now):
1231+ - d/control: Bump udev dependencies (in Debian)
1232+ - debian/initramfs/hooks:
1233+ - Remove old dm-emc module; it hasn't been in kernel since 2.6.27.
1234+ - d/tests/kpartx-file-loopback: add an autopkgtest to catch future cases
1235+ where uploads might break kpartx's loopback file handling.
1236+ - mark kpartx tests as isolation-machine to avoid issues in e.g. LXD
1237+ autopkgtest environments (LP 1644253)
1238+ - d/t/tgtbasedmpaths add Test using tgt and open-iscsi to excercise
1239+ multipath
1240+
1241+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Tue, 18 Jul 2017 14:12:53 +0200
1242+
1243 multipath-tools (0.6.4-5) unstable; urgency=medium
1244
1245 * Ship multipath udev rules (Closes: #858456)
1246@@ -323,6 +1484,163 @@ multipath-tools (0.6.4-4) unstable; urgency=medium
1247
1248 -- Ritesh Raj Sarraf <rrs@debian.org> Mon, 20 Feb 2017 19:36:31 +0530
1249
1250+multipath-tools (0.6.4-3ubuntu6) artful; urgency=medium
1251+
1252+ * Rebuild against new liburcu6.
1253+
1254+ -- Gianfranco Costamagna <locutusofborg@debian.org> Tue, 18 Jul 2017 12:08:33 +0200
1255+
1256+multipath-tools (0.6.4-3ubuntu5) artful; urgency=medium
1257+
1258+ * No-change rebuild against latest liburcu
1259+
1260+ -- Jeremy Bicha <jbicha@ubuntu.com> Sat, 15 Jul 2017 09:44:44 -0400
1261+
1262+multipath-tools (0.6.4-3ubuntu4) zesty; urgency=medium
1263+
1264+ * debian/initramfs/local-bottom: wait for the multipathd unix socket
1265+ to close, so to avoid multipathd.socket unit failure. (LP: #1682178)
1266+
1267+ -- Mauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com> Wed, 12 Apr 2017 14:30:13 -0400
1268+
1269+multipath-tools (0.6.4-3ubuntu3) zesty; urgency=medium
1270+
1271+ * debian/initramfs/hooks, debian/initramfs/local-bottom:
1272+ Update hooks and local-bottom to use /run instead of /var/run as a path
1273+ for multipathd.pid in the initramfs. (LP: #1670811)
1274+
1275+ -- Mathieu Trudel-Lapierre <cyphermox@ubuntu.com> Tue, 28 Mar 2017 21:20:22 -0400
1276+
1277+multipath-tools (0.6.4-3ubuntu2) zesty; urgency=medium
1278+
1279+ * debian/initramfs/hooks:
1280+ - Remove old dm-emc module; it hasn't been in kernel since 2.6.27.
1281+ - Add dm-queue-length: users may want to change from the default selector
1282+ and should be able to do so. (LP: #1673350)
1283+ * debian/patches/path_selector.patch, debian/patches/series: remove
1284+ path_selector.patch to get back to the "right" default selector of
1285+ service-time, which has been included in the kernel module packages for
1286+ a while now and has better throughput than round-robin. It's also the
1287+ default upstream. (LP: #1634161)
1288+
1289+ -- Mathieu Trudel-Lapierre <cyphermox@ubuntu.com> Fri, 17 Mar 2017 09:37:36 -0400
1290+
1291+multipath-tools (0.6.4-3ubuntu1) zesty; urgency=medium
1292+
1293+ * Merge from Debian. (LP: #1621340, LP: #1645274) Remaining changes:
1294+ - d/control:
1295+ - Bump udev dependencies
1296+ - multipath-udeb: add sg3-udeb Depends
1297+ - d/rules: Move udev rules to priority 95, because rules that load modules
1298+ should be >90.
1299+ - d/multipath-tools.preinst: modprobe dm-multipath; This will make sure
1300+ that multipathd will be able to start.
1301+ - Split kpartx initramfs bits into kpartx-boot for dmraid (LP: #941874)
1302+ - d/initramfs/kpartx.hook
1303+ - d/kpartx-boot.postinst
1304+ - d/kpartx-boot.postrm
1305+ - d/control: Add kpartx-boot package for dmraid
1306+ - d/rules: Install kpartx initramfs hook
1307+ - d/kpartx.install: install all arch /lib* kpartx udev rules
1308+ - patches (some refreshed to new version) to multipath source
1309+ - d/p/1000--set-umask-in-multipathd.patch: Set umask in multipathd.
1310+ - d/p/path_selector.patch: switch the default path selector
1311+ back to round-robin while service-time isn't available to the installer
1312+ multipath-modules.
1313+ - d/p/kpartx_more_loopback_fixes.patch: fix loopback mounted
1314+ files some more: since we stat() the loopback device node, we can't rely
1315+ on S_ISREG() tests to handle this case, and should look at the device
1316+ itself instead. (LP: #1543430)
1317+ - d/p/enable-find-multipaths.patch: re-enable find_multipaths
1318+ by default -- see the removed 'add_find-multipaths.patch' (LP: #1463046)
1319+ - multipath initramfs fixes for booting from multipathed devices
1320+ - d/initramfs/hooks: also copy wwids file on the installed system to
1321+ ensure all paths come up on boot. (LP: #1479929)
1322+ - d/initramfs/hooks: install multipathd and required directories.
1323+ - d/initramfs/hooks: copy dm-mpath-lvm & multipath udev rules to initramfs
1324+ - d/initramfs/hooks: do not copy kpartx rules to initramfs
1325+ - d/initramfs/local-bottom: remember to stop multipathd.
1326+ - d/initramfs/local-premount: wait for udev to settle before the call to
1327+ resolve_device() in local_mount_root(), so the by-uuid/ symlinks have a
1328+ chance to be updated by the multipath udev rules (LP: #1503286).
1329+ - d/initramfs/local-premount: Run multipath with -B so not to assign names
1330+ nor change /etc/multipath/bindings during initramfs (LP: #1561103)
1331+ - d/rules: install d/initramfs/local-bottom
1332+ - d/rules: install d/initramfs/local-premount
1333+ - Remove partition device nodes of individual paths (for LVM on multipath)
1334+ (LP: #1540401)
1335+ - Disable -fexceptions on multipath-udeb (LP: #1489379): the flag causes
1336+ libchecktur.so to link with libgcc_s.so.1 (even with -static-libgcc),
1337+ which is not available in the installer environment.
1338+ - d/p/disable-fexceptions-udeb.patch: conditionally disable -fexceptions
1339+ with CFLAGS_DISABLE_FEXCEPTIONS.
1340+ - d/rules: set CFLAGS_DISABLE_FEXCEPTIONS to build multipath-udeb.
1341+ - d/tests/kpartx-file-loopback: add an autopkgtest to catch future cases
1342+ where uploads might break kpartx's loopback file handling.
1343+ - Remove partition device nodes of individual paths (for LVM on multipath)
1344+ on the new multipath-tools with udev property blacklisting (LP: #1540401)
1345+ - d/multipath-tools.dm-mpath-lvm.udev: udev rule for that.
1346+ - d/initramfs/init-top: load the dm-multipath module for
1347+ 'multipath -c'.
1348+ - d/initramfs/init-top: start multipathd before udev (required by
1349+ 'multipath -u' in the udev rules)
1350+ - d/rules: install the udev rule (priority 56: after 55-scsi-sg3_id)
1351+ - d/rules: rename multipath-tools udev to dm-mpath-lvm
1352+ - d/multipath-tools.dm-mpath-lvm.udev: replace 'multipath -c' with
1353+ 'multipath -u' which can read udev properties at PROGRAM-rule time
1354+ (when udev properties are not yet written to the udev database).
1355+ - Remove d/initramfs/local-top (redundant with other initramfs scripts):
1356+ - init-top: take over loading modules (dm-multipath and SCSI device
1357+ handlers); move the missing dm-emc there (now scsi-dh-emc;
1358+ see BTS 567014).
1359+ - d/rules: do not install local-top anymore.
1360+ - remove d/initramfs/local-top
1361+ - Fixes typo in package description (availibility -> availability)
1362+ (LP: #1231182)
1363+ * Add changes:
1364+ - mark kpartx tests as isolation-machine to avoid issues in e.g. LXD
1365+ autopkgtest environments (LP: #1644253)
1366+ - d/t/tgtbasedmpaths add Test using tgt and open-iscsi to excercise
1367+ multipath
1368+ - d/control mark transition of file /etc/init.d/multipath-tools-boot
1369+ according to case #9 of https://wiki.debian.org/PackageTransition
1370+ * Drop changes:
1371+ - d/initramfs/local-top: wait for udev to settle before running
1372+ 'multipath' in order to avoid race condition on device-mapper calls.
1373+ (file no more used)
1374+ - d/initramfs/local-top: remove '--timeout 10' which causes my
1375+ test system to not boot roughly 3 out of 4 times.
1376+ (file no more used)
1377+ - d/initramfs/local-top: run multipathd rather than a one-off call to
1378+ multipath so that new paths can be correctly added as detected while we're
1379+ still in the initramfs.
1380+ (file no more used)
1381+ - Call clean target before rebuilding with systemd support (in Debian)
1382+ - drop build-dep to dpkg-dev (>= 1.16.1~), libudev-dev"
1383+ (No more needed)
1384+ - Bump Standards-Version to 3.9.6 (in Debian)
1385+ - add / to LIB= of DEB_CFLAGS_MAINT_APPEND (in Debian)
1386+ - d/p/handle_spaces_in_rev_attr.patch: support IBM IPR devices and others
1387+ which may have only spaces for the rev attribute. (upstream)
1388+ - d/p/0015-shared-lock-for-udev.patch: (LP: #1431650) (upstream)
1389+ - d/p/0053-readonly-bindings_multipathd_prod.patch: support
1390+ -B to allow multipathd to handle cases where the bindings file is
1391+ read-only. (upstream)
1392+ - d/p/git-kpartx-support-spaces-in-dev-names-b407050a.patch: deal with
1393+ spaces in device names in kpartx too (LP: #1432062) (upstream)
1394+ - d/p/0001-multipath-tools-fix-dm-device-filtering.patch: Allow
1395+ filtering of DEV_UEVENT dev_type (LP: #1570093) (upstream)
1396+ - d/multipath-tools.postinst: handle upgrades from < 0.5.0 by migrating
1397+ from the old device names with device numbers to using letters for devices.
1398+ (no relevant upgrade path left)
1399+ - d/p/mpath_name_migration.patch: ship a multipath_migrate binary
1400+ to make translation from pre-0.5.0 device naming to the new scheme.
1401+ (no relevant upgrade path left)
1402+ - d/initramfs/hooks: use 95 not 60 for multipath rules priority (file not
1403+ shipped anymore, so no need to touch)
1404+
1405+ -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Fri, 27 Jan 2017 09:09:37 +0100
1406+
1407 multipath-tools (0.6.4-3) unstable; urgency=medium
1408
1409 * [3eecdba] Include libmpathcmd.so in the udeb package.
1410@@ -455,6 +1773,164 @@ multipath-tools (0.5.0+git1.656f8865-6) unstable; urgency=medium
1411
1412 -- Ritesh Raj Sarraf <rrs@debian.org> Sat, 12 Mar 2016 17:47:25 +0530
1413
1414+multipath-tools (0.5.0+git1.656f8865-5ubuntu7) yakkety; urgency=medium
1415+
1416+ * No-change rebuild for readline soname change.
1417+
1418+ -- Matthias Klose <doko@ubuntu.com> Sat, 17 Sep 2016 12:06:37 +0000
1419+
1420+multipath-tools (0.5.0+git1.656f8865-5ubuntu6) yakkety; urgency=medium
1421+
1422+ * Fixes typo in package description (availibility -> availability)
1423+ (LP: #1231182)
1424+
1425+ -- Hans Joachim Desserud <ubuntu@desserud.org> Sun, 04 Sep 2016 13:19:49 +0200
1426+
1427+multipath-tools (0.5.0+git1.656f8865-5ubuntu5) yakkety; urgency=medium
1428+
1429+ [ Dragan Stancevic ]
1430+ * d/p/0001-multipath-tools-fix-dm-device-filtering.patch :
1431+ multipath-tools: fix dm- device filtering
1432+ - Allow filtering of DEV_UEVENT dev_type
1433+ - Resolves LP: #1570093
1434+ - Proper patch included in the source package this time. Previous upload
1435+ only had the changelog entry.
1436+
1437+ -- Louis Bouchard <louis.bouchard@ubuntu.com> Tue, 19 Jul 2016 14:17:14 +0200
1438+
1439+multipath-tools (0.5.0+git1.656f8865-5ubuntu4) yakkety; urgency=medium
1440+
1441+ [ Dragan Stancevic ]
1442+ * multipath-tools: fix dm- device filtering
1443+ - Allow filtering of DEV_UEVENT dev_type
1444+ - Resolves LP: #1570093
1445+
1446+ -- Louis Bouchard <louis.bouchard@ubuntu.com> Mon, 18 Jul 2016 12:37:04 +0200
1447+
1448+multipath-tools (0.5.0+git1.656f8865-5ubuntu3) yakkety; urgency=medium
1449+
1450+ * Cherrypick from debian:
1451+ - Call clean target before rebuilding with systemd support
1452+ - Call systemd in debian/rules. Also adapt init service
1453+ aliasing.
1454+ - Should resolve LP: #1578638, LP: #1589526, LP: #1583563.
1455+
1456+ -- Dimitri John Ledkov <xnox@ubuntu.com> Thu, 16 Jun 2016 11:53:33 +0300
1457+
1458+multipath-tools (0.5.0+git1.656f8865-5ubuntu2) xenial; urgency=medium
1459+
1460+ [ Mauricio Faria de Oliveira ]
1461+ * Remove partition device nodes of individual paths (for LVM on multipath)
1462+ on the new multipath-tools with udev property blacklisting (LP: #1540401)
1463+ - debian/multipath-tools.dm-mpath-lvm.udev: replace 'multipath -c' with
1464+ 'multipath -u' which can read udev properties at PROGRAM-rule time
1465+ (when udev properties are not yet written to the udev database).
1466+ - debian/initramfs/init-top: start multipathd before udev (required by
1467+ 'multipath -u' in the udev rules)
1468+ - debian/initramfs/local-top: remove snippet to start multipathd.
1469+ * Remove debian/initramfs/local-top (redundant with other initramfs scripts):
1470+ - init-top: start multipathd.
1471+ - init-top: load modules (dm-multipath and SCSI device handlers); move the
1472+ missing dm-emc there (now scsi-dh-emc; see BTS 567014).
1473+ - local-premount: settle on udev events; and the extra call due to
1474+ multipath discovery in udev rules is no longer required with multipathd
1475+ in initramfs.
1476+ - debian/rules: do not install local-top anymore.
1477+ * debian/initramfs/local-premount: run multipath with -B so not to assign
1478+ names nor change /etc/multipath/bindings during initramfs (LP: #1561103)
1479+ * debian/patches/enable-find-multipaths.patch: re-enable find_multipaths
1480+ by default -- see the removed 'add_find-multipaths.patch' (LP: #1463046)
1481+
1482+ -- Mathieu Trudel-Lapierre <cyphermox@ubuntu.com> Mon, 04 Apr 2016 22:36:48 -0400
1483+
1484+multipath-tools (0.5.0+git1.656f8865-5ubuntu1) xenial; urgency=medium
1485+
1486+ * Merge from Debian. (LP: #1551952) (LP: #1540407)
1487+ Remaining changes:
1488+ - debian/control:
1489+ - Bump debhelper dependency to install udev rules to
1490+ /lib/udev/rules.d
1491+ - Bump udev dependencies as well
1492+ - debian/control:
1493+ - multipath-tools: add sg3-utils-dev Depends
1494+ - multipath-udeb: add sg3-udeb Depends
1495+ - debian/initramfs/hooks: use 95 not 60 for multipath rules priority
1496+ - debian/rules: Move udev rules to priority 95, because rules that load modules should be >90.
1497+ - debian/multipath-tools.preinst: modprobe dm-multipath.
1498+ This will make sure that multipathd will be able to start.
1499+ - debian/initramfs/local-top: wait for udev to settle before running
1500+ 'multipath' in order to avoid race condition on device-mapper calls.
1501+ - debian/initramfs/local-top: remove '--timeout 10' which causes my
1502+ test system to not boot roughly 3 out of 4 times.
1503+ - Split kpartx initramfs bits into kpartx-boot for dmraid (LP: #941874)
1504+ - debian/initramfs/kpartx.hook
1505+ - debian/kpartx-boot.postinst
1506+ - debian/kpartx-boot.postrm
1507+ - debian/kpartx.install
1508+ - debian/control: Add kpartx-boot package for dmraid
1509+ - debian/rules: Install kpartx initramfs hook
1510+ - debian/patches/1000--set-umask-in-multipathd.patch: Set umask in multipathd.
1511+ - debian/patches/handle_spaces_in_rev_attr.patch: support IBM IPR devices
1512+ and others which may have only spaces for the rev attribute.
1513+ - debian/patches/path_selector.patch: switch the default path selector
1514+ back to round-robin while service-time isn't available to the installer
1515+ multipath-modules.
1516+ - debian/patches/0015-shared-lock-for-udev.patch: (LP: #1431650)
1517+ - debian/initramfs/hooks: also copy wwids file on the installed system to
1518+ ensure all paths come up on boot. (LP: #1479929)
1519+ - Disable -fexceptions on multipath-udeb (LP: #1489379): the flag causes
1520+ libchecktur.so to link with libgcc_s.so.1 (even with -static-libgcc),
1521+ which is not available in the installer environment.
1522+ - debian/patches/disable-fexceptions-udeb.patch: conditionally disable
1523+ -fexceptions with CFLAGS_DISABLE_FEXCEPTIONS.
1524+ - debian/rules: set CFLAGS_DISABLE_FEXCEPTIONS to build multipath-udeb.
1525+ - debian/patches/handle_spaces_in_rev_attr.patch: update patch to apply the
1526+ change to the right line (LP: #1492425)
1527+ - debian/initramfs/local-premount: wait for udev to settle before the call
1528+ to resolve_device() in local_mount_root(), so the by-uuid/ symlinks have
1529+ a chance to be updated by the multipath udev rules (LP: #1503286).
1530+ - debian/multipath-tools.postinst: handle upgrades from < 0.5.0 by migrating
1531+ from the old device names with device numbers to using letters for devices.
1532+ - debian/patches/mpath_name_migration.patch: ship a multipath_migrate binary
1533+ to make translation from pre-0.5.0 device naming to the new scheme.
1534+ - debian/initramfs/hooks: install multipathd and required directories.
1535+ - debian/initramfs/local-premount: reload all maps to make sure they're
1536+ indeed loaded and ready before we end premount.
1537+ - debian/initramfs/local-top: run multipathd rather than a one-off call to
1538+ multipath so that new paths can be correctly added as detected while we're
1539+ still in the initramfs.
1540+ - debian/initramfs/local-bottom: remember to stop multipathd.
1541+ - debian/rules: install debian/initramfs/local-bottom
1542+ - debian/patches/0053-readonly-bindings_multipathd_prod.patch: support -B to
1543+ allow multipathd to handle cases where the bindings file is read-only.
1544+ (LP: #1526984)
1545+ - debian/patches/git-kpartx-support-spaces-in-dev-names-b407050a.patch: deal
1546+ with spaces in device names in kpartx too (LP: #1432062)
1547+ - debian/tests/kpartx-file-loopback: add an autopkgtest to catch future cases
1548+ where uploads might break kpartx's loopback file handling.
1549+ - debian/patches/kpartx_more_loopback_fixes.patch: fix loopback mounted
1550+ files some more: since we stat() the loopback device node, we can't rely
1551+ on S_ISREG() tests to handle this case, and should look at the device
1552+ itself instead. (LP: #1543430)
1553+ - Remove partition device nodes of individual paths (for LVM on multipath)
1554+ (LP: #1540401)
1555+ - debian/multipath-tools.dm-mpath-lvm.udev: udev rule for that.
1556+ - debian/initramfs/hooks: copy the udev rule and partx to the initramfs.
1557+ - debian/initramfs/init-top: load the dm-multipath module for 'multipath -c'.
1558+ - debian/rules: install the udev rule (priority 56: after 55-scsi-sg3_id)
1559+ - debian/rules: don't ship 95-multipath.rules udev rules anymore; they are
1560+ not necessary with multipath-tools listening for udev events directly.
1561+ * Drop changes:
1562+ - debian/patches/series: Drop obsolete patches already included upstream
1563+ - debian/patches/ignore_devices_nodename_fail.patch
1564+ - debian/patches/skip_usb_devices.patch
1565+ - debian/patches/0014-kpartx-long-path.patch
1566+ - debian/patches/0052-readonly-bindings_multipathd.patch
1567+ - debian/patches/add_find-multipaths.patch
1568+ - debian/patches/dm-multipath-backlist-nvme-5c412e47.patch
1569+
1570+ -- Ryan Harper <ryan.harper@canonical.com> Wed, 09 Mar 2016 10:21:26 -0600
1571+
1572 multipath-tools (0.5.0+git1.656f8865-5) unstable; urgency=medium
1573
1574 * [e91ac62] Fix build to properly generate the arch-independent
1575@@ -545,6 +2021,190 @@ multipath-tools (0.5.0+git0.770e6d0d-1) experimental; urgency=medium
1576
1577 -- Ritesh Raj Sarraf <rrs@debian.org> Sun, 09 Aug 2015 14:42:48 +0530
1578
1579+multipath-tools (0.5.0-7ubuntu16) xenial; urgency=medium
1580+
1581+ * debian/patches/dm-multipath-backlist-nvme-5c412e47.patch: blacklist NVMe
1582+ from multipath, otherwise kpartx calls will hang. This is because mpath
1583+ works at the request level (which NVMe bypasses), so multipathing is not
1584+ supported on NVMe. (LP: #1551828)
1585+
1586+ -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Tue, 01 Mar 2016 11:55:13 -0500
1587+
1588+multipath-tools (0.5.0-7ubuntu15) xenial; urgency=medium
1589+
1590+ [ Mauricio Faria de Oliveira ]
1591+ * Remove partition device nodes of individual paths (for LVM on multipath)
1592+ (LP: #1540401)
1593+ - debian/multipath-tools.dm-mpath-lvm.udev: udev rule for that.
1594+ - debian/initramfs/hooks: copy the udev rule and partx to the initramfs.
1595+ - debian/initramfs/init-top: load the dm-multipath module for 'multipath -c'.
1596+ - debian/rules: install the udev rule (priority 56: after 55-scsi-sg3_id)
1597+ * debian/rules: don't ship 95-multipath.rules udev rules anymore; they are
1598+ not necessary with multipath-tools listening for udev events directly.
1599+
1600+ -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Thu, 11 Feb 2016 19:08:14 -0500
1601+
1602+multipath-tools (0.5.0-7ubuntu14) xenial; urgency=medium
1603+
1604+ * debian/patches/kpartx_more_loopback_fixes.patch: fix loopback mounted
1605+ files some more: since we stat() the loopback device node, we can't rely
1606+ on S_ISREG() tests to handle this case, and should look at the device
1607+ itself instead. (LP: #1543430)
1608+ * debian/tests/kpartx-file-loopback: check for left-over loop devices after
1609+ deleting a map.
1610+
1611+ -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Tue, 09 Feb 2016 15:24:27 -0500
1612+
1613+multipath-tools (0.5.0-7ubuntu13) xenial; urgency=medium
1614+
1615+ * Check that losetup -f is the same in the autopkgtest, after a cycle of
1616+ kpartx -a/-d. Looks like it's currently failing to cleanup loop0 in
1617+ addition to cleaning loop0p1. See http://pad.lv/1543430
1618+
1619+ -- Dimitri John Ledkov <xnox@ubuntu.com> Tue, 09 Feb 2016 06:51:15 +0000
1620+
1621+multipath-tools (0.5.0-7ubuntu12) xenial; urgency=medium
1622+
1623+ * Use synchronous kpartx calls in the adt tests, to hopefully avoid
1624+ kernel/userspace races which result in failure to remove mapped
1625+ partitions. Also invoke udevadm settle.
1626+
1627+ -- Dimitri John Ledkov <xnox@ubuntu.com> Tue, 02 Feb 2016 20:26:34 +0000
1628+
1629+multipath-tools (0.5.0-7ubuntu11) xenial; urgency=medium
1630+
1631+ * debian/patches/git-kpartx-support-spaces-in-dev-names-b407050a.patch: fixup
1632+ to correct deal with loopback-mounting files. (LP: #1540660)
1633+ * debian/patches/mpath_name_migration.patch: make sure multipath_migrate gets
1634+ cleaned up otherwise running debuild twice will fail.
1635+ * debian/tests/kpartx-file-loopback: add an autopkgtest to catch future cases
1636+ where uploads might break kpartx's loopback file handling.
1637+
1638+ -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Mon, 01 Feb 2016 23:27:08 -0500
1639+
1640+multipath-tools (0.5.0-7ubuntu10) xenial; urgency=medium
1641+
1642+ * debian/patches/0052-readonly-bindings_multipathd.patch,
1643+ debian/patches/0053-readonly-bindings_multipathd_prod.patch: support -B to
1644+ allow multipathd to handle cases where the bindings file is read-only.
1645+ (LP: #1526984)
1646+ * debian/initramfs/hooks: install multipathd and required directories.
1647+ * debian/initramfs/local-bottom, debian/rules: install local-bottom for
1648+ initramfs.
1649+ * debian/initramfs/local-premount: reload all maps to make sure they're
1650+ indeed loaded and ready before we end premount.
1651+ * debian/initramfs/local-top: run multipathd rather than a one-off call to
1652+ multipath so that new paths can be correctly added as detected while we're
1653+ still in the initramfs.
1654+ * debian/initramfs/local-bottom: remember to stop multipathd.
1655+ * debian/patches/git-kpartx-support-spaces-in-dev-names-b407050a.patch: deal
1656+ with spaces in device names in kpartx too (LP: #1432062)
1657+
1658+ -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Wed, 27 Jan 2016 10:42:51 -0500
1659+
1660+multipath-tools (0.5.0-7ubuntu9) xenial; urgency=medium
1661+
1662+ * d/p/lp1503305_libmultipath_info_on_1st_path_down_dbd131e.patch:
1663+ Correctly display the vendor/model info on path line in output if the
1664+ first path of a path group is failed. (LP: #1503305)
1665+
1666+ -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Tue, 03 Nov 2015 18:34:09 -0600
1667+
1668+multipath-tools (0.5.0-7ubuntu8) xenial; urgency=medium
1669+
1670+ * debian/multipath-tools.postinst: handle upgrades from < 0.5.0 by migrating
1671+ from the old device names with device numbers to using letters for devices.
1672+ * debian/patches/mpath_name_migration.patch: ship a multipath_migrate binary
1673+ to make translation from pre-0.5.0 device naming to the new scheme.
1674+
1675+ -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Thu, 22 Oct 2015 12:38:45 +0100
1676+
1677+multipath-tools (0.5.0-7ubuntu7) wily; urgency=medium
1678+
1679+ [ Mauricio Faria de Oliveira ]
1680+ * debian/initramfs/local-premount: wait for udev to settle before the call
1681+ to resolve_device() in local_mount_root(), so the by-uuid/ symlinks have
1682+ a chance to be updated by the multipath udev rules (LP: #1503286).
1683+
1684+ -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 19 Oct 2015 22:56:58 -0700
1685+
1686+multipath-tools (0.5.0-7ubuntu6) wily; urgency=medium
1687+
1688+ * debian/patches/handle_spaces_in_rev_attr.patch: update patch to apply the
1689+ change to the right line (LP: #1492425)
1690+
1691+ -- Mauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com> Fri, 18 Sep 2015 10:16:50 -0400
1692+
1693+multipath-tools (0.5.0-7ubuntu5) wily; urgency=medium
1694+
1695+ * debian/patches/0014-kpartx-long-path.patch: have kpartx match loopback
1696+ files by device and inode rather than by path, as paths are not complete
1697+ enough to do specific matching for long paths (> 64 chars) or relative
1698+ paths. (LP: #1469143)
1699+
1700+ -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Thu, 17 Sep 2015 11:10:38 -0400
1701+
1702+multipath-tools (0.5.0-7ubuntu4) wily; urgency=medium
1703+
1704+ * Disable -fexceptions on multipath-udeb (LP: #1489379): the flag causes
1705+ libchecktur.so to link with libgcc_s.so.1 (even with -static-libgcc),
1706+ which is not available in the installer environment.
1707+ - debian/patches/disable-fexceptions-udeb.patch: conditionally disable
1708+ -fexceptions with CFLAGS_DISABLE_FEXCEPTIONS.
1709+ - debian/rules: set CFLAGS_DISABLE_FEXCEPTIONS to build multipath-udeb.
1710+
1711+ -- Mauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com> Thu, 03 Sep 2015 07:29:59 -0400
1712+
1713+multipath-tools (0.5.0-7ubuntu3) wily; urgency=medium
1714+
1715+ * debian/initramfs/hooks: also copy wwids file on the installed system to
1716+ ensure all paths come up on boot. (LP: #1479929)
1717+
1718+ -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Thu, 30 Jul 2015 16:34:28 -0400
1719+
1720+multipath-tools (0.5.0-7ubuntu2) wily; urgency=medium
1721+
1722+ * debian/patches/add_find-multipaths.patch: properly handle local non-mpath
1723+ devices. (LP: #1463046)
1724+ * debian/patches/ignore_devices_nodename_fail.patch: ignore devices for which
1725+ sysfs_get_tgt_nodename fails.
1726+ * debian/patches/skip_usb_devices.patch: skip USB devices during discovery.
1727+ (LP: #1468897)
1728+
1729+ -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Fri, 10 Jul 2015 15:53:37 -0400
1730+
1731+multipath-tools (0.5.0-7ubuntu1) wily; urgency=medium
1732+
1733+ * Merge from debian unstable, remaining changes: (LP: #1455482)
1734+ - control:
1735+ * Bump debhelper dependency to install udev rules to
1736+ /lib/udev/rules.d, bump udev dependencies as well.
1737+ - initramfs/hooks: use 95 not 60 for multipath rules priority
1738+ - multipath-tools-boot.init: remove in favor of kpartx.udev rules (at top)
1739+ - multipath-tools.preinst: modprobe dm-multipath.
1740+ This will make sure that multipathd will be able to start.
1741+ - patches/1000--set-umask-in-multipathd.patch: Set umask in multipathd.
1742+ - rules: Move udev rules to priority 95, because rules that load
1743+ modules should be >90.
1744+ - debian/initramfs/local-top: wait for udev to settle before running
1745+ 'multipath' in order to avoid race condition on device-mapper calls.
1746+ - debian/initramfs/local-top: remove '--timeout 10' which causes my
1747+ test system to not boot roughly 3 out of 4 times.
1748+ - Split kpartx initramfs bits into kpartx-boot for dmraid (LP: #941874)
1749+ - Added debian/patches/0015-shared-lock-for-udev.patch (LP: #1431650)
1750+ * debian/patches/0015-libmultipath-property-whitelist-SCSI_IDENT.patch: add
1751+ SCSI_IDENT_* properties to blacklist exceptions, so that we can have QEMU
1752+ multipathed devices as well as others (IBM IPR) detected properly as
1753+ multipathed devices.
1754+ * debian/patches/handle_spaces_in_rev_attr.patch: support IBM IPR devices
1755+ and others which may have only spaces for the rev attribute.
1756+ * debian/patches/path_selector.patch: switch the default path selector
1757+ back to round-robin while service-time isn't available to the installer
1758+ multipath-modules.
1759+ * debian/control: add sg3-udeb to multipath-udeb Depends.
1760+
1761+ -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Mon, 06 Jul 2015 13:15:22 -0400
1762+
1763 multipath-tools (0.5.0-7) unstable; urgency=medium
1764
1765 * [15ecad9] Add dm-service-time path checker.
1766@@ -696,6 +2356,100 @@ multipath-tools (0.4.9+git0.4dfdaf2b-1) experimental; urgency=low
1767
1768 -- Ritesh Raj Sarraf <rrs@debian.org> Fri, 10 Feb 2012 18:25:29 +0530
1769
1770+multipath-tools (0.4.9-3ubuntu12) vivid; urgency=medium
1771+
1772+ [ Mauricio Faria de Oliveira ]
1773+ * Support disks with non 512-byte sectors (LP: #1441930)
1774+ - Added 0016-kpartx-non-512B-GPT.patch
1775+ - Added 0017-kpartx-non-512B-sectors.patch
1776+
1777+ [ Mathieu Trudel-Lapierre ]
1778+ * debian/patches/0018-ext-part-gt-512B-sectors.patch: fix extended partition
1779+ size for > 512B sectors. Patch cherry-picked from git commit 7202f225.
1780+
1781+ -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Mon, 13 Apr 2015 09:23:29 -0500
1782+
1783+multipath-tools (0.4.9-3ubuntu11) vivid; urgency=medium
1784+
1785+ [ Mauricio Faria de Oliveira ]
1786+ * Added debian/patches/0015-shared-lock-for-udev.patch (LP: #1431650)
1787+ * debian/initramfs/local-top: wait for udev to settle before running
1788+ 'multipath' in order to avoid race condition on device-mapper calls.
1789+
1790+ [ Mathieu Trudel-Lapierre ]
1791+ * Drop scsi_wait_scan from the multipath initramfs script: that module
1792+ no longer exists.
1793+
1794+ -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Mon, 23 Mar 2015 14:56:37 -0400
1795+
1796+multipath-tools (0.4.9-3ubuntu10) utopic; urgency=medium
1797+
1798+ * 1002-fix-linking-library.patch: Move $(LIBDEPS) to the end of the
1799+ link line to fix underlinking with ld --as-needed (LP: #1004243)
1800+
1801+ -- Adam Conrad <adconrad@ubuntu.com> Mon, 13 Oct 2014 07:47:07 -0600
1802+
1803+multipath-tools (0.4.9-3ubuntu9) utopic; urgency=medium
1804+
1805+ * Added 0011-libmultipath-update-waiter-handling.patch (LP: #1354114)
1806+ * Added 0012-Race-condition-when-calling-stop_waiter_thread.patch (LP: #1354114)
1807+ * Added 0013-multipath-clean-up-code-for-stopping-the-waiter-thre.patch (LP: #1354114)
1808+ * Added 0014-Fix-race-condition-in-stop_waiter_thread.patch (LP: #1354114)
1809+
1810+ -- Rafael David Tinoco <rafael.tinoco@canonical.com> Tue, 02 Sep 2014 15:43:38 -0700
1811+
1812+multipath-tools (0.4.9-3ubuntu8) utopic; urgency=medium
1813+
1814+ * Remove RUN+="socket:" statement in rules file since it is
1815+ no longer supported after version 178 (LP: #1240049)
1816+
1817+ -- Seyeong Kim <seyeong.kim@canonical.com> Fri, 18 Jul 2014 10:37:35 +0200
1818+
1819+multipath-tools (0.4.9-3ubuntu7) raring; urgency=low
1820+
1821+ * Add 0010-fix-extended-partitions.patch: Only expose the
1822+ first two sectors of the extended partition (LP: #1093918).
1823+
1824+ -- Phillip Susi <psusi@ubuntu.com> Fri, 04 Jan 2013 16:14:34 -0500
1825+
1826+multipath-tools (0.4.9-3ubuntu6) quantal; urgency=low
1827+
1828+ * Rebuild for new armel compiler default of ARMv5t.
1829+
1830+ -- Colin Watson <cjwatson@ubuntu.com> Fri, 05 Oct 2012 14:00:37 +0100
1831+
1832+multipath-tools (0.4.9-3ubuntu5) precise; urgency=low
1833+
1834+ * Split kpartx initramfs bits into kpartx-boot for dmraid (LP: #941874)
1835+
1836+ -- Phillip Susi <psusi@ubuntu.com> Tue, 20 Mar 2012 15:26:22 -0400
1837+
1838+multipath-tools (0.4.9-3ubuntu4) precise; urgency=low
1839+
1840+ * Restore multipath-udeb dependency on multipath-modules (LP: #959749).
1841+
1842+ -- Colin Watson <cjwatson@ubuntu.com> Wed, 21 Mar 2012 14:34:01 +0000
1843+
1844+multipath-tools (0.4.9-3ubuntu3) precise; urgency=low
1845+
1846+ * Move kpartx from multipath-udeb to a new kpartx-udeb package
1847+ (LP: #922646).
1848+
1849+ -- Colin Watson <cjwatson@ubuntu.com> Fri, 27 Jan 2012 23:04:23 +0000
1850+
1851+multipath-tools (0.4.9-3ubuntu2) precise; urgency=low
1852+
1853+ * Add 0009-fix-delim.patch: The 'p' delimiter was being added
1854+ when it shouldn't.
1855+
1856+ -- Phillip Susi <psusi@ubuntu.com> Sun, 08 Jan 2012 20:57:47 -0500
1857+
1858+multipath-tools (0.4.9-3ubuntu1) precise; urgency=low
1859+
1860+ * Merge with Debian (for remaining changes, see 0.4.9-2ubuntu1).
1861+
1862+ -- Matthias Klose <doko@ubuntu.com> Sun, 04 Dec 2011 21:32:48 +0100
1863+
1864 multipath-tools (0.4.9-3) unstable; urgency=low
1865
1866 * [dd85b8b] Add example to kpartx manpage. Committed upstream.
1867@@ -709,6 +2463,36 @@ multipath-tools (0.4.9-3) unstable; urgency=low
1868
1869 -- Ritesh Raj Sarraf <rrs@debian.org> Sat, 03 Dec 2011 19:34:59 +0530
1870
1871+multipath-tools (0.4.9-2ubuntu1) oneiric; urgency=low
1872+
1873+ * Merge from debian unstable, remaining changes:
1874+ - control:
1875+ * Bump debhelper dependency to install udev rules to
1876+ /lib/udev/rules.d, bump udev dependencies as well.
1877+ * multipath-udeb must not depend on multipath-modules,
1878+ because the Ubuntu kernel already includes the modules and no
1879+ package provides m-m.
1880+ - initramfs/hooks: use 95 not 60 for multipath rules priority
1881+ - multipath-tools-boot.init: remove in favor of kpartx.udev rules (at top)
1882+ - kpartx.udev:
1883+ * add rule to load dm-multipath
1884+ * use whole path when running /usr/lib/dmsetup_env
1885+ * call kpartx through dmsetup for mpath-* devices
1886+ * switch $name for $kernel for dmraid rule
1887+ - multipath-tools.preinst: modprobe dm-multipath.
1888+ This will make sure that multipathd will be able to start.
1889+ - patches/1000--set-umask-in-multipathd.patch: Set umask in multipathd.
1890+ - rules: Move udev rules to priority 95, because rules that load
1891+ modules should be >90.
1892+ - Have initramfs local-top start with scsi_wait_scan, and make sure all
1893+ devices have been found before bothering to call udevadm settle.
1894+ - debian/initramfs/local-top: wait for scsi_wait_scan
1895+ * *.install: use /lib*/ instead of /lib/ to catch /lib64
1896+ * debian/initramfs/local-top: remove '--timeout 10' which causes my
1897+ test system to not boot roughly 3 out of 4 times.
1898+
1899+ -- Serge Hallyn <serge.hallyn@ubuntu.com> Mon, 06 Jun 2011 12:31:23 -0500
1900+
1901 multipath-tools (0.4.9-2) unstable; urgency=low
1902
1903 * [2544655] wait harder for multipath init. Thanks to Serge Hallyn for
1904@@ -883,6 +2667,108 @@ multipath-tools (0.4.8-15) unstable; urgency=low
1905
1906 -- Guido Günther <agx@sigxcpu.org> Mon, 06 Apr 2009 19:36:25 +0200
1907
1908+multipath-tools (0.4.8-14ubuntu11) oneiric; urgency=low
1909+
1910+ * Fixes some return logic issues in the blacklist.c:_filter_path function
1911+ where using blacklist and blacklist_exceptions would cause multipathd to
1912+ improperly filter paths. (LP: #789229)
1913+ - The patch was created by Christophe Varoqui in 2007.
1914+ + http://www.redhat.com/archives/dm-devel/2007-November/msg00054.html
1915+ + 0013-libmultipath-filter_path-fix_blacklist_filter_exit.patch
1916+ - [serge-hallyn] swap in the whole upstream git commit and call it
1917+ 0013-blacklist_exception_issues.patch.
1918+
1919+ -- Craig Magina <craig.magina@canonical.com> Fri, 27 May 2011 11:47:19 -0400
1920+
1921+multipath-tools (0.4.8-14ubuntu10) natty; urgency=low
1922+
1923+ * pass '-p part' to kpartx in initramfs script, not '-p p', to
1924+ make sure /dev/mapper/ names are formed as expected. (LP: #712840)
1925+
1926+ -- Serge Hallyn <serge.hallyn@ubuntu.com> Thu, 03 Feb 2011 18:40:36 -0600
1927+
1928+multipath-tools (0.4.8-14ubuntu9) natty; urgency=low
1929+
1930+ * Fix segv caused by race condition with free_waiter threads during
1931+ shutdown, using backport from upstream. (LP: #713237)
1932+
1933+ -- dann frazier <dann.frazier@canonical.com> Thu, 03 Feb 2011 16:37:10 -0700
1934+
1935+multipath-tools (0.4.8-14ubuntu8) natty; urgency=low
1936+
1937+ * Fix segv on shutdown when log buffer is empty, using patch cherry-picked
1938+ from upstream. (LP: #488285)
1939+
1940+ -- Serge Hallyn <serge.hallyn@ubuntu.com> Tue, 01 Feb 2011 15:38:36 -0600
1941+
1942+multipath-tools (0.4.8-14ubuntu7) natty; urgency=low
1943+
1944+ * Add patch to fix the expected pathname from multipath uevents
1945+ (LP: #660597)
1946+
1947+ -- Serge Hallyn <serge.hallyn@ubuntu.com> Tue, 04 Jan 2011 16:06:29 -0600
1948+
1949+multipath-tools (0.4.8-14ubuntu6) natty; urgency=low
1950+
1951+ * Fix in debian/kpartx.udev:
1952+ - modprobe -q instead of incorrect modprobe -Q (LP: #644481)
1953+
1954+ -- Serge Hallyn <serge.hallyn@ubuntu.com> Tue, 04 Jan 2011 15:58:13 -0600
1955+
1956+multipath-tools (0.4.8-14ubuntu5) natty; urgency=low
1957+
1958+ * Make the initramfs local-top script wait until all devices
1959+ are mapped, to make sure no /dev/sd* get mounted before
1960+ multipath has a chance to take it. (LP: #686832)
1961+
1962+ -- Serge Hallyn <serge.hallyn@ubuntu.com> Tue, 04 Jan 2011 15:55:48 -0600
1963+
1964+multipath-tools (0.4.8-14ubuntu4) lucid; urgency=low
1965+
1966+ * debian/control: Move libreadline5-dev build dependency to libreadline-dev.
1967+ (Already done in Debian).
1968+
1969+ -- Martin Pitt <martin.pitt@ubuntu.com> Mon, 08 Mar 2010 14:50:04 +0100
1970+
1971+multipath-tools (0.4.8-14ubuntu3) lucid; urgency=low
1972+
1973+ * Support failback for Intel Modular Server (LP: #520309).
1974+
1975+ -- Colin Watson <cjwatson@ubuntu.com> Fri, 12 Feb 2010 12:21:42 +0000
1976+
1977+multipath-tools (0.4.8-14ubuntu2) jaunty; urgency=low
1978+
1979+ * debian/kpartx.udev: Let dmsetup run kpartx, since $kernel doesn't map
1980+ right.
1981+ * debian/initramfs/hooks: Include /lib/udev/kpartx_id.
1982+
1983+ -- Timo Aaltonen <tjaalton@ubuntu.com> Tue, 10 Mar 2009 11:54:01 +0200
1984+
1985+multipath-tools (0.4.8-14ubuntu1) jaunty; urgency=low
1986+
1987+ * Merge from debian unstable, remaining changes:
1988+ - control:
1989+ + Bump debhelper dependency to install udev rules to
1990+ /lib/udev/rules.d, bump udev dependencies as well.
1991+ + multipath-udeb must not depend on multipath-modules,
1992+ because the Ubuntu kernel already includes the modules and no
1993+ package provides m-m.
1994+ - initramfs/hooks: Install rules from /lib/udev/rules.d.
1995+ - kpartx.udev, multipath-tools-boot.init:
1996+ Replace multipath-tools-boot init script with udev rules.
1997+ - multipath-tools.preinst: Fix preinst script to modprobe dm-multipath.
1998+ This will make sure that multipathd will be able to start.
1999+ - multipath-tools.prerm: Add prerm script to not fail when upgrading
2000+ from a broken version of multipathd.
2001+ - patches/1000--set-umask-in-multipathd.patch: Set umask in multipathd.
2002+ - rules: Move udev rules to priority 95, because rules that load
2003+ modules should be >90.
2004+ * Fix bugs (LP: #316851, #320156)
2005+ * multipath-tools.prerm/preinst: Remove checks for old ubuntu
2006+ versions, we don't support upgrading from them anymore.
2007+
2008+ -- Timo Aaltonen <tjaalton@ubuntu.com> Thu, 12 Feb 2009 15:07:42 +0200
2009+
2010 multipath-tools (0.4.8-14) unstable; urgency=low
2011
2012 * [6dad4a0] kpartx: use uint64_t to account slices start/size based on
2013@@ -945,6 +2831,64 @@ multipath-tools (0.4.8-11) unstable; urgency=low
2014
2015 -- Guido Guenther <agx@sigxcpu.org> Wed, 30 Jul 2008 17:59:03 -0400
2016
2017+multipath-tools (0.4.8-10ubuntu6) jaunty; urgency=low
2018+
2019+ * debian/multipath-tools.preinst: Use the same logic as in
2020+ hw-detect to determine if dm_multipath is already loaded.
2021+
2022+ -- Timo Aaltonen <tjaalton@ubuntu.com> Thu, 15 Jan 2009 23:50:18 +0200
2023+
2024+multipath-tools (0.4.8-10ubuntu5) jaunty; urgency=low
2025+
2026+ * debian/initramfs/hooks: Install from /lib/udev/rules.d
2027+
2028+ -- Scott James Remnant <scott@ubuntu.com> Tue, 13 Jan 2009 03:05:02 +0000
2029+
2030+multipath-tools (0.4.8-10ubuntu4) jaunty; urgency=low
2031+
2032+ * Bump debhelper dependency to install udev rules to /lib/udev/rules.d,
2033+ bump udev dependencies as well.
2034+
2035+ -- Scott James Remnant <scott@ubuntu.com> Mon, 12 Jan 2009 22:03:11 +0000
2036+
2037+multipath-tools (0.4.8-10ubuntu3) jaunty; urgency=low
2038+
2039+ * fix_udev_scsi_id_arguments.diff:
2040+ Update the arguments for scsi_id. (LP: #306723)
2041+ * fix_sysfs_layout.diff:
2042+ Patch from upstream to use the new sysfs layout. (LP: #307032)
2043+
2044+ -- Timo Aaltonen <tjaalton@ubuntu.com> Thu, 18 Dec 2008 15:32:20 +0200
2045+
2046+multipath-tools (0.4.8-10ubuntu2) jaunty; urgency=low
2047+
2048+ * debian/control: multipath-udeb must not depend on multipath-modules,
2049+ because the Ubuntu kernel already includes the modules and no
2050+ package provides m-m.
2051+ * debian/multipath-tools.preinst: Don't modprobe dm-multipath
2052+ unconditionally, since it'll break during installation (no
2053+ modprobe.dep) and when using a monolithic kernel. Instead check for
2054+ these conditions. (LP: #182009)
2055+
2056+ -- Timo Aaltonen <tepsipakki@ubuntu.com> Tue, 02 Dec 2008 12:28:08 +0200
2057+
2058+multipath-tools (0.4.8-10ubuntu1) intrepid; urgency=low
2059+
2060+ * Merge from debian unstable, remaining changes:
2061+ - Replace multipath-tools-boot init script with udev rules in
2062+ kpartx.rules.
2063+ - Move udev rules to priority 95, and drop call to dmsetup_env.
2064+ - Add devices as they appear
2065+ - Fix preinst script to modprobe dm-multipath. This will make sure
2066+ that multipathd will be able to start.
2067+ - Fix init script not to die on stop if multipathd is not running.
2068+ - Add prerm script to not fail when upgrading from a broken version of
2069+ multipathd.
2070+ - Set umask in multipathd.
2071+ - Handle udev rules priority change in preinst.
2072+
2073+ -- Soren Hansen <soren@ubuntu.com> Thu, 26 Jun 2008 08:55:33 +0200
2074+
2075 multipath-tools (0.4.8-10) unstable; urgency=low
2076
2077 * [183da2c] Add russion debconf translation (Closes: #486353) - thanks
2078@@ -978,6 +2922,32 @@ multipath-tools (0.4.8-8) unstable; urgency=low
2079
2080 -- Guido Guenther <agx@sigxcpu.org> Sun, 09 Mar 2008 18:55:38 +0100
2081
2082+multipath-tools (0.4.8-7ubuntu2) hardy; urgency=low
2083+
2084+ * Install udev rules in initramfs.
2085+ * Use temporary device name for creating partitions using kpartx.
2086+ * Big thanks to Dag Stenstad for testing and helping with debugging!
2087+
2088+ -- Soren Hansen <soren@ubuntu.com> Wed, 19 Mar 2008 19:07:22 +0100
2089+
2090+multipath-tools (0.4.8-7ubuntu1) hardy; urgency=low
2091+
2092+ * Merge from debian unstable, remaining changes:
2093+ - DebianMaintainerField.
2094+ - Replace multipath-tools-boot init script with udev rules in
2095+ kpartx.rules.
2096+ - Move udev rules to priority 95, and drop call to dmsetup_env.
2097+ - Add devices as they appear.
2098+ - Fix preinst script to modprobe dm-multipath. This will make sure
2099+ that multipathd will be able to start.
2100+ - Add prerm script to not fail when upgrading from a broken version of
2101+ multipathd.
2102+ - Set umask in multipathd.
2103+ - Handle udev rules priority change in preinst.
2104+ * Dropped our hsg80 changes. Kernel handles this correctly now.
2105+
2106+ -- Soren Hansen <soren@ubuntu.com> Mon, 28 Jan 2008 11:09:45 +0100
2107+
2108 multipath-tools (0.4.8-7) unstable; urgency=low
2109
2110 * add watch file
2111@@ -999,6 +2969,26 @@ multipath-tools (0.4.8-6) unstable; urgency=low
2112
2113 -- Guido Guenther <agx@sigxcpu.org> Sat, 01 Dec 2007 15:41:36 +0100
2114
2115+multipath-tools (0.4.8-5ubuntu1) hardy; urgency=low
2116+
2117+ * Merge from debian unstable, remaining changes:
2118+ - DebianMaintainerField.
2119+ - Suggest sg3-utils, Conflict with sg-utils.
2120+ - Replace multipath-tools-boot init script with udev rules in
2121+ kpartx.rules.
2122+ - Add /sbin/hsg80_start.
2123+ - Move udev rules to priority 95, and drop call to dmsetup_env.
2124+ - Add devices as they appear
2125+ - Fix preinst script to modprobe dm-multipath. This will make sure
2126+ that multipathd will be able to start.
2127+ - Fix init script not to die on stop if multipathd is not running.
2128+ - Add prerm script to not fail when upgrading from a broken version of
2129+ multipathd.
2130+ - Set umask in multipathd.
2131+ - Handle udev rules priority change in preinst.
2132+
2133+ -- Soren Hansen <soren@ubuntu.com> Thu, 13 Dec 2007 03:03:31 +0100
2134+
2135 multipath-tools (0.4.8-5) unstable; urgency=low
2136
2137 * apply kpartx-fix-udev-dmraid.diff to our shipped udev rules too
2138@@ -1113,6 +3103,34 @@ multipath-tools (0.4.7-3) experimental; urgency=low
2139
2140 -- Guido Guenther <agx@sigxcpu.org> Fri, 08 Jun 2007 11:51:00 +0200
2141
2142+multipath-tools (0.4.7-2ubuntu3) gutsy; urgency=low
2143+
2144+ * Fix preinst script to modprobe dm-multipath. This will make sure
2145+ that multipathd will be able to start.
2146+
2147+ * Fix init script not to die on stop if multipathd is not running.
2148+
2149+ * Add prerm script to not fail when upgrading from a broken version of
2150+ multipathd.
2151+
2152+ -- Fabio M. Di Nitto <fabbione@ubuntu.com> Fri, 10 Aug 2007 13:03:39 +0200
2153+
2154+multipath-tools (0.4.7-2ubuntu2) gutsy; urgency=low
2155+
2156+ * Fix udev rule to load dm-multipath.
2157+
2158+ -- Fabio M. Di Nitto <fabbione@ubuntu.com> Wed, 13 Jun 2007 11:56:52 +0200
2159+
2160+multipath-tools (0.4.7-2ubuntu1) gutsy; urgency=low
2161+
2162+ * Merge from debian unstable, remaining changes:
2163+ - Remove multipath-tools-boot init script in favour of udev rules.
2164+ - Update udev rules as described in 0.4.7-1.1ubuntu3.
2165+ - Add /sbin/hsg80_start as described in 0.4.7-1.1ubuntu3.
2166+ - debian/control Ubuntu maintainer foobar.
2167+
2168+ -- Fabio M. Di Nitto <fabbione@ubuntu.com> Wed, 16 May 2007 11:02:20 +0200
2169+
2170 multipath-tools (0.4.7-2) unstable; urgency=low
2171
2172 [ Bastian Blank ]
2173@@ -1130,6 +3148,42 @@ multipath-tools (0.4.7-2) unstable; urgency=low
2174
2175 -- Guido Guenther <agx@sigxcpu.org> Wed, 20 Dec 2006 17:40:59 +0100
2176
2177+multipath-tools (0.4.7-1.1ubuntu3) feisty; urgency=low
2178+
2179+ * Remove multipath-tools-boot init script.
2180+
2181+ * Wild changes and updates to udev rules:
2182+ - All the hsg80 MULTIBUS FAILOVER are now handled here.
2183+ - Fix rule to call kpartx also on "change" udev events.
2184+ - Invoke multipath -v 0 device to make sure we hot plug
2185+ all devices into multipath.
2186+
2187+ * Add /sbin/hsg80_start that wraps all the work to make an hsg80 in
2188+ MULTIBUS FAILOVER working properly.
2189+ This is automatically called by udev.
2190+
2191+ (Closes LP: #98518)
2192+
2193+ -- Fabio M. Di Nitto <fabbione@ubuntu.com> Wed, 04 Apr 2007 08:17:48 +0200
2194+
2195+multipath-tools (0.4.7-1.1ubuntu2) feisty; urgency=low
2196+
2197+ * Remove devmap_name from this package, and Depend on dmsetup instead.
2198+ Fixes file overwrite conflict with dmsetup. (LP 84894.)
2199+
2200+ -- Ian Jackson <iwj@ubuntu.com> Tue, 13 Feb 2007 16:16:46 +0000
2201+
2202+multipath-tools (0.4.7-1.1ubuntu1) feisty; urgency=low
2203+
2204+ * Merge from debian unstable, remaining changes:
2205+ - remove stop links from rc0 and rc6
2206+ - suggest sg3-utils, conflict sg-utils
2207+ - fix path to scsi_id
2208+ - ubuntu udev rules
2209+ - set umask
2210+
2211+ -- Scott James Remnant <scott@ubuntu.com> Tue, 28 Nov 2006 15:24:16 +0000
2212+
2213 multipath-tools (0.4.7-1.1) unstable; urgency=medium
2214
2215 * Added missing dependency on dmsetup. Closes: #381068.
2216@@ -1142,6 +3196,77 @@ multipath-tools (0.4.7-1.1) unstable; urgency=medium
2217
2218 -- John Goerzen <jgoerzen@complete.org> Wed, 9 Aug 2006 11:52:08 -0500
2219
2220+multipath-tools (0.4.7-1ubuntu8) edgy; urgency=low
2221+
2222+ * Remove stop script symlinks from rc0 and rc6.
2223+
2224+ -- Scott James Remnant <scott@ubuntu.com> Fri, 15 Sep 2006 17:30:19 +0100
2225+
2226+multipath-tools (0.4.7-1ubuntu7) dapper; urgency=low
2227+
2228+ * Fix typo in init script that was executing hsg80_init unconditionally.
2229+
2230+ * Suggests: sg3-utils and Conflicts: sg-utils (obsoleted).
2231+
2232+ -- Fabio M. Di Nitto <fabbione@ubuntu.com> Mon, 22 May 2006 09:56:07 +0200
2233+
2234+multipath-tools (0.4.7-1ubuntu6) dapper; urgency=low
2235+
2236+ * no changes upload to rebuild with new libdevmapper.
2237+
2238+ -- Fabio M. Di Nitto <fabbione@ubuntu.com> Wed, 10 May 2006 09:31:20 +0200
2239+
2240+multipath-tools (0.4.7-1ubuntu5) dapper; urgency=low
2241+
2242+ The "give Scott a crying biscuit" release.
2243+
2244+ * Apply patch from Dennis Kaarsemaker.
2245+ (Closes Ubuntu: #41318)
2246+
2247+ -- Fabio M. Di Nitto <fabbione@ubuntu.com> Wed, 26 Apr 2006 10:20:07 +0200
2248+
2249+multipath-tools (0.4.7-1ubuntu4) dapper; urgency=low
2250+
2251+ * Remove 2 extra lines from multipath.rules that were really not supposed
2252+ to be there.
2253+
2254+ -- Fabio M. Di Nitto <fabbione@ubuntu.com> Thu, 06 Apr 2006 17:43:10 +0200
2255+
2256+multipath-tools (0.4.7-1ubuntu3) dapper; urgency=low
2257+
2258+ * Add hsg80_init function to multipath-tools-boot init script.
2259+ The script takes care to perform a proper initialization of the disks
2260+ when the hsg80 is configured in multibus failover mode.
2261+
2262+ NOTE: multipathd is not able to understand properly what happens in this
2263+ multi-bugs situation and it will require manual kill and restart once
2264+ the disks have been readded to the system, otherwise failover is not
2265+ guaranteed and syslog will be flooded.
2266+
2267+ -- Fabio M. Di Nitto <fabbione@ubuntu.com> Thu, 06 Apr 2006 09:33:51 +0200
2268+
2269+multipath-tools (0.4.7-1ubuntu2) dapper; urgency=low
2270+
2271+ * Fix socket permissions.
2272+
2273+ -- Fabio M. Di Nitto <fabbione@ubuntu.com> Tue, 04 Apr 2006 18:20:20 +0200
2274+
2275+multipath-tools (0.4.7-1ubuntu1) dapper; urgency=low
2276+
2277+ * Fix path to scsi_id.
2278+
2279+ * Make install: target depends on build in debian/rules.
2280+
2281+ * Change NAME to multipathd in init scripts so that we can actually stop
2282+ multipathd.
2283+
2284+ * Swap multipath-tools-boot and multipath-tools init scripts order in
2285+ postinst and make multipath-tools-boot start.
2286+
2287+ * UVF exception granted by Colin Watson.
2288+
2289+ -- Fabio M. Di Nitto <fabbione@ubuntu.com> Tue, 04 Apr 2006 06:31:09 +0200
2290+
2291 multipath-tools (0.4.7-1) unstable; urgency=low
2292
2293 * New upstream version.
2294diff --git a/debian/control b/debian/control
2295index 7da7ad3..44adb8c 100644
2296--- a/debian/control
2297+++ b/debian/control
2298@@ -1,7 +1,8 @@
2299 Source: multipath-tools
2300 Section: admin
2301 Priority: optional
2302-Maintainer: Debian DM Multipath Team <team+linux-blocks@tracker.debian.org>
2303+Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
2304+XSBC-Original-Maintainer: Debian DM Multipath Team <team+linux-blocks@tracker.debian.org>
2305 Uploaders: Guido Günther <agx@sigxcpu.org>,
2306 Ritesh Raj Sarraf <rrs@debian.org>,
2307 Chris Hofstaedtler <zeha@debian.org>
2308@@ -52,12 +53,20 @@ Description: create device mappings for partitions
2309 It is part of the Linux multipath-tools, but is useful on any
2310 device-mapper using system.
2311
2312+Package: kpartx-boot
2313+Architecture: all
2314+Depends: ${misc:Depends}, initramfs-tools,
2315+ kpartx (>= ${source:Version}), kpartx (<< ${source:Version}.1~)
2316+Description: Provides kpartx during boot
2317+ This package makes kpartx available during boot to activate partitions
2318+
2319 Package: multipath-tools-boot
2320 Architecture: all
2321 Depends: initramfs-tools | linux-initramfs-tool,
2322 lsb-base,
2323 multipath-tools (<< ${source:Version}.1~),
2324 multipath-tools (>= ${source:Version}),
2325+ kpartx-boot (= ${binary:Version}),
2326 ${misc:Depends}
2327 Pre-Depends: ${misc:Pre-Depends}
2328 Description: Support booting from multipath devices
2329diff --git a/debian/initramfs/hooks/multipath b/debian/initramfs/hooks/multipath
2330index 9c6429d..af49c98 100755
2331--- a/debian/initramfs/hooks/multipath
2332+++ b/debian/initramfs/hooks/multipath
2333@@ -30,9 +30,17 @@ add_bindings()
2334 fi
2335 }
2336
2337+add_wwids()
2338+{
2339+ if [ -r /etc/multipath/wwids ]; then
2340+ mkdir -p $DESTDIR/etc/multipath
2341+ cp /etc/multipath/wwids $DESTDIR/etc/multipath
2342+ fi
2343+}
2344+
2345 add_udev_rules()
2346 {
2347- for rules in 60-multipath.rules 60-kpartx.rules; do
2348+ for rules in 60-multipath.rules 56-dm-mpath.rules; do
2349 if [ -e /lib/udev/rules.d/$rules ]; then
2350 cp -p /lib/udev/rules.d/$rules $DESTDIR/lib/udev/rules.d/
2351 fi
2352@@ -47,12 +55,24 @@ mkdir -p $DESTDIR/lib/multipath/
2353 for x in /lib/multipath/*; do
2354 copy_exec $x /lib/multipath/
2355 done
2356+copy_exec /usr/bin/partx
2357 add_udev_rules
2358
2359+copy_exec /sbin/multipathd /sbin
2360+# multipathd requires libgcc_s.so.1 (not handled by copy_exec() as it's dlopen()'ed).
2361+# hack: find libgcc_s.so.1 via ldconfig cache (dpkg-architecture pulls lots of deps).
2362+for x in $(ldconfig --print-cache | grep -o '/lib/.*/libgcc_s\.so\.1'); do
2363+ copy_exec $x $(dirname $x)
2364+done
2365+
2366+# multipathd requires /run/multipathd.pid
2367+mkdir -p $DESTDIR/run
2368+
2369 [ -r /etc/multipath.conf ] && cp /etc/multipath.conf $DESTDIR/etc/
2370 add_bindings
2371+add_wwids
2372
2373-for x in dm-multipath dm-service-time dm-round-robin; do
2374+for x in dm-multipath dm-service-time dm-round-robin dm-queue-length; do
2375 manual_add_modules ${x}
2376 done
2377
2378diff --git a/debian/initramfs/kpartx.hook b/debian/initramfs/kpartx.hook
2379new file mode 100644
2380index 0000000..404f977
2381--- /dev/null
2382+++ b/debian/initramfs/kpartx.hook
2383@@ -0,0 +1,22 @@
2384+#!/bin/sh
2385+
2386+PREREQS="udev"
2387+
2388+prereqs() { echo "$PREREQS"; }
2389+
2390+case $1 in
2391+prereqs)
2392+ prereqs
2393+ exit 0
2394+ ;;
2395+esac
2396+
2397+. /usr/share/initramfs-tools/hook-functions
2398+
2399+copy_exec /sbin/kpartx /sbin
2400+copy_exec /sbin/dmsetup /sbin
2401+copy_exec /lib/udev/dmsetup_env /lib/udev
2402+copy_exec /lib/udev/kpartx_id /lib/udev
2403+cp -p /lib/udev/rules.d/56-dm-parts.rules $DESTDIR/lib/udev/rules.d/
2404+cp -p /lib/udev/rules.d/68-del-part-nodes.rules $DESTDIR/lib/udev/rules.d/
2405+cp -p /lib/udev/rules.d/95-kpartx.rules $DESTDIR/lib/udev/rules.d/
2406diff --git a/debian/initramfs/scripts/local-top/multipath b/debian/initramfs/local-bottom
2407similarity index 56%
2408rename from debian/initramfs/scripts/local-top/multipath
2409rename to debian/initramfs/local-bottom
2410old mode 100755
2411new mode 100644
2412index 560ac2d..13026ff
2413--- a/debian/initramfs/scripts/local-top/multipath
2414+++ b/debian/initramfs/local-bottom
2415@@ -1,8 +1,8 @@
2416 #!/bin/sh
2417 #
2418-# multipath discovery
2419+# multipathd shutdown
2420
2421-PREREQ="udev iscsi"
2422+PREREQ=""
2423
2424 prereqs() { echo "$PREREQ"; }
2425
2426@@ -25,34 +25,36 @@ verbose()
2427 }
2428
2429 maybe_break pre-multipath
2430-VERBOSITY=0
2431-MP_MODULES="scsi_dh_alua scsi_dh_emc scsi_dh_rdac dm-multipath"
2432
2433-if [ ! -e /sbin/multipath ]; then
2434+if [ ! -e /sbin/multipathd ]; then
2435 exit 0
2436 fi
2437
2438-verbose && log_begin_msg "Loading multipath modules"
2439-for module in ${MP_MODULES}; do
2440- if modprobe "$module"; then
2441- verbose && log_success_msg "loaded module ${module}."
2442- else
2443- log_failure_msg "failed to load module ${module}."
2444- fi
2445-done
2446-verbose && log_end_msg
2447+# Stop multipathd
2448+verbose && log_begin_msg "Stopping multipathd"
2449
2450-verbose && log_begin_msg "Discovering multipaths"
2451-/sbin/multipath -v $VERBOSITY
2452-verbose && log_end_msg
2453+pid_pidof="$(pidof multipathd)"
2454+pid_file="$(cat /run/multipathd.pid)"
2455
2456-if [ -x /sbin/kpartx -a -x /sbin/dmsetup ]; then
2457- /sbin/dmsetup ls --target multipath --exec "/sbin/kpartx -a -p -part" >/dev/null
2458+if [ "${pid_pidof}" = "${pid_file}" ]; then
2459+ kill ${pid_pidof}
2460+ verbose && log_end_msg
2461+else
2462+ verbose && log_failure_msg "inconsistent PIDs (pidof: '${pid_pidof}', multipathd.pid: '${pid_file}')"
2463 fi
2464
2465-if [ -x /bin/udevadm ]; then
2466- /bin/udevadm settle --timeout=10
2467-fi
2468+# Wait for multipathd unix socket to close.
2469+# It might take a while for multipathd to handle the signal,
2470+# which might leave the unix socket open until the upcoming
2471+# systemd multipath.socket unit starts. Then it fails with
2472+# (Result: resources) like this (logs in journalctl):
2473+# "Failed to listen on sockets: Address already in use"
2474+seconds=10
2475+while [ $seconds -gt 0 ]; do
2476+ grep -q '@/org/kernel/linux/storage/multipathd' /proc/net/unix || break
2477+ seconds=$((seconds - 1))
2478+ sleep 1
2479+done
2480
2481 maybe_break post-multipath
2482
2483diff --git a/debian/initramfs/local-premount b/debian/initramfs/local-premount
2484new file mode 100644
2485index 0000000..050f97b
2486--- /dev/null
2487+++ b/debian/initramfs/local-premount
2488@@ -0,0 +1,30 @@
2489+#!/bin/sh
2490+
2491+set -e
2492+
2493+PREREQ=""
2494+
2495+prereqs()
2496+{
2497+ echo "${PREREQ}"
2498+}
2499+
2500+case "${1}" in
2501+ prereqs)
2502+ prereqs
2503+ exit 0
2504+ ;;
2505+esac
2506+
2507+. /scripts/functions
2508+
2509+if [ -x /sbin/multipath ]
2510+then
2511+ [ "$quiet" != "y" ] && log_begin_msg "Waiting for udev to settle (multipath)"
2512+ udevadm settle --timeout=121 || true
2513+ [ "$quiet" != "y" ] && log_end_msg
2514+fi
2515+
2516+multipath -r -v0 -B
2517+
2518+exit 0
2519diff --git a/debian/initramfs/scripts/init-top/multipath b/debian/initramfs/scripts/init-top/multipath
2520index 51637e9..883d7f9 100755
2521--- a/debian/initramfs/scripts/init-top/multipath
2522+++ b/debian/initramfs/scripts/init-top/multipath
2523@@ -1,6 +1,6 @@
2524 #!/bin/sh
2525 #
2526-# multipath hardware handler
2527+# multipath: load modules and daemon
2528
2529 PREREQ=" "
2530
2531@@ -26,7 +26,18 @@ verbose()
2532
2533 maybe_break pre-multipath
2534 VERBOSITY=0
2535-HW_HANDLERS=""
2536+HW_HANDLERS="scsi_dh_alua scsi_dh_rdac scsi_dh_emc"
2537+MP_MODULES="dm-multipath"
2538+
2539+verbose && log_begin_msg "Loading multipath modules"
2540+for module in ${MP_MODULES}; do
2541+ if modprobe --syslog "$module"; then
2542+ verbose && log_success_msg "loaded module ${module}."
2543+ else
2544+ log_failure_msg "failed to load module ${module}."
2545+ fi
2546+done
2547+verbose && log_end_msg
2548
2549 verbose && log_begin_msg "Loading multipath hardware handlers"
2550 for module in ${HW_HANDLERS}; do
2551@@ -38,6 +49,11 @@ for module in ${HW_HANDLERS}; do
2552 done
2553 verbose && log_end_msg
2554
2555+# Start multipathd
2556+verbose && log_begin_msg "Starting multipathd"
2557+/sbin/multipathd -B
2558+verbose && log_end_msg
2559+
2560 maybe_break post-multipath
2561
2562 exit 0
2563diff --git a/debian/kpartx-boot.postinst b/debian/kpartx-boot.postinst
2564new file mode 100644
2565index 0000000..6257dc3
2566--- /dev/null
2567+++ b/debian/kpartx-boot.postinst
2568@@ -0,0 +1,34 @@
2569+#!/bin/sh
2570+# postinst script for kpartx-boot
2571+#
2572+# see: dh_installdeb(1)
2573+
2574+set -e
2575+
2576+# Source debconf library.
2577+. /usr/share/debconf/confmodule
2578+
2579+case "$1" in
2580+ configure)
2581+ if [ -x /usr/sbin/update-initramfs -a -e /etc/initramfs-tools/initramfs.conf ]; then
2582+ update-initramfs -u
2583+ fi
2584+ ;;
2585+
2586+ abort-upgrade|abort-remove|abort-deconfigure)
2587+ ;;
2588+
2589+ *)
2590+ echo "postinst called with unknown argument \`$1'" >&2
2591+ exit 1
2592+ ;;
2593+esac
2594+
2595+# dh_installdeb will replace this with shell code automatically
2596+# generated by other debhelper scripts.
2597+
2598+#DEBHELPER#
2599+
2600+exit 0
2601+
2602+
2603diff --git a/debian/kpartx-boot.postrm b/debian/kpartx-boot.postrm
2604new file mode 100644
2605index 0000000..daca462
2606--- /dev/null
2607+++ b/debian/kpartx-boot.postrm
2608@@ -0,0 +1,45 @@
2609+#!/bin/sh
2610+# postrm script for kpartx-boot
2611+#
2612+# see: dh_installdeb(1)
2613+
2614+set -e
2615+
2616+# summary of how this script can be called:
2617+# * <postrm> `remove'
2618+# * <postrm> `purge'
2619+# * <old-postrm> `upgrade' <new-version>
2620+# * <new-postrm> `failed-upgrade' <old-version>
2621+# * <new-postrm> `abort-install'
2622+# * <new-postrm> `abort-install' <old-version>
2623+# * <new-postrm> `abort-upgrade' <old-version>
2624+# * <disappearer's-postrm> `disappear' <overwriter>
2625+# <overwriter-version>
2626+# for details, see http://www.debian.org/doc/debian-policy/ or
2627+# the debian-policy package
2628+
2629+
2630+case "$1" in
2631+ remove)
2632+ if [ -x /usr/sbin/update-initramfs -a -e /etc/initramfs-tools/initramfs.conf ]; then
2633+ update-initramfs -u
2634+ fi
2635+ ;;
2636+
2637+ purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
2638+ ;;
2639+
2640+ *)
2641+ echo "postrm called with unknown argument \`$1'" >&2
2642+ exit 1
2643+ ;;
2644+esac
2645+
2646+# dh_installdeb will replace this with shell code automatically
2647+# generated by other debhelper scripts.
2648+
2649+#DEBHELPER#
2650+
2651+exit 0
2652+
2653+
2654diff --git a/debian/multipath-tools.dm-mpath-lvm.udev b/debian/multipath-tools.dm-mpath-lvm.udev
2655new file mode 100644
2656index 0000000..4698023
2657--- /dev/null
2658+++ b/debian/multipath-tools.dm-mpath-lvm.udev
2659@@ -0,0 +1,26 @@
2660+# An individual device may be part of a multipath device.
2661+# In such case, remove its partition device nodes so for
2662+# LVM to scan/lock/use only the multipath device.
2663+# - Check it on 'add' uevent.
2664+# - Check it on 'change' uevent (it may change).
2665+
2666+SUBSYSTEM!="block", \
2667+ GOTO="end_mpath"
2668+
2669+ACTION=="remove", \
2670+ GOTO="end_mpath"
2671+
2672+ENV{DEVTYPE}=="partition", \
2673+ IMPORT{parent}="DM_MULTIPATH_DEVICE_PATH", \
2674+ GOTO="end_mpath"
2675+
2676+PROGRAM=="/sbin/multipath -u $devnode", \
2677+ ENV{DM_MULTIPATH_DEVICE_PATH}="1", \
2678+ ENV{ID_FS_TYPE}="mpath_member", \
2679+ RUN+="/usr/bin/partx -d --nr 1-1024 $devnode", \
2680+ GOTO="end_mpath"
2681+
2682+# Not part of a multipath device.
2683+ENV{DM_MULTIPATH_DEVICE_PATH}=""
2684+
2685+LABEL="end_mpath"
2686diff --git a/debian/multipath-tools.install b/debian/multipath-tools.install
2687index 7f69f62..c0c6c8c 100644
2688--- a/debian/multipath-tools.install
2689+++ b/debian/multipath-tools.install
2690@@ -17,3 +17,8 @@
2691 /usr/share/man/man*/*dmmp*
2692 /usr/share/man/man*/mpath*
2693 /usr/share/man/man*/multi*
2694+
2695+
2696+# Ubuntu: Install friendly names
2697+/etc/multipath.conf
2698+/lib/tmpfiles.d/multipath.conf
2699diff --git a/debian/multipath-udeb.install b/debian/multipath-udeb.install
2700index 739f9bc..c2f689a 100644
2701--- a/debian/multipath-udeb.install
2702+++ b/debian/multipath-udeb.install
2703@@ -7,3 +7,11 @@ debian/tmp-multipath-udeb/lib/multipath/ lib/
2704 debian/tmp-multipath-udeb/sbin/multipath sbin/
2705 lib/udev/rules.d/11-dm-mpath.rules
2706 lib/udev/rules.d/56-multipath.rules
2707+
2708+
2709+# Ubuntu: Install friendly names
2710+/sbin/multipath
2711+/lib/multipath/
2712+/lib/libmultipath.so.*
2713+/lib/libmpathcmd.so*
2714+/etc/multipath.conf
2715diff --git a/debian/multipath.conf b/debian/multipath.conf
2716new file mode 100644
2717index 0000000..d19039f
2718--- /dev/null
2719+++ b/debian/multipath.conf
2720@@ -0,0 +1,3 @@
2721+defaults {
2722+ user_friendly_names yes
2723+}
2724diff --git a/debian/patches/enable-find-multipaths.patch b/debian/patches/enable-find-multipaths.patch
2725new file mode 100644
2726index 0000000..6246a5d
2727--- /dev/null
2728+++ b/debian/patches/enable-find-multipaths.patch
2729@@ -0,0 +1,17 @@
2730+From: Mauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com>
2731+Date: Thu, 25 Jan 2018 12:02:55 +0100
2732+Subject: enable find multipaths
2733+
2734+Forwarded: no
2735+Bug-Ubuntu: https://bugs.launchpad.net/bugs/1463046
2736+--- a/libmultipath/defaults.h
2737++++ b/libmultipath/defaults.h
2738+@@ -24,7 +24,7 @@
2739+ #define DEFAULT_NO_PATH_RETRY NO_PATH_RETRY_UNDEF
2740+ #define DEFAULT_VERBOSITY 2
2741+ #define DEFAULT_REASSIGN_MAPS 0
2742+-#define DEFAULT_FIND_MULTIPATHS FIND_MULTIPATHS_STRICT
2743++#define DEFAULT_FIND_MULTIPATHS FIND_MULTIPATHS_ON
2744+ #define DEFAULT_FAST_IO_FAIL 5
2745+ #define DEFAULT_DEV_LOSS_TMO 600
2746+ #define DEFAULT_RETAIN_HWHANDLER RETAIN_HWHANDLER_ON
2747diff --git a/debian/patches/series b/debian/patches/series
2748index a797fe4..76cda33 100644
2749--- a/debian/patches/series
2750+++ b/debian/patches/series
2751@@ -1,3 +1,4 @@
2752+enable-find-multipaths.patch
2753 0002-Update-build-flags.patch
2754 0004-systemd-alias-multipath-service.patch
2755 0006-dm-rules-do-not-assume-usrmerge-in-paths.patch
2756diff --git a/debian/rules b/debian/rules
2757index 0b9744c..b5d21d1 100755
2758--- a/debian/rules
2759+++ b/debian/rules
2760@@ -1,7 +1,14 @@
2761 #!/usr/bin/make -f
2762
2763+INITRAMFS=$(CURDIR)/debian/multipath-tools-boot/usr/share/initramfs-tools/
2764+
2765+ifeq ($(shell dpkg-architecture -qDEB_HOST_ARCH),i386)
2766+ skip_packages = -Nmultipath-tools
2767+endif
2768+
2769 # For Hardening
2770 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
2771+export DEB_LDFLAGS_MAINT_STRIP=-Wl,-Bsymbolic-functions
2772 DPKG_EXPORT_BUILDFLAGS = 1
2773 include /usr/share/dpkg/buildflags.mk
2774 include /usr/share/dpkg/pkg-info.mk
2775@@ -42,12 +49,15 @@ override_dh_auto_install:
2776 [ ! -f kpartx/del-part-nodes.rules ] || cp kpartx/del-part-nodes.rules debian/kpartx.del-part-nodes.udev
2777 [ ! -f kpartx/dm-parts.rules ] || cp kpartx/dm-parts.rules debian/kpartx.dm-parts.udev
2778 [ ! -f kpartx/kpartx.rules ] || cp kpartx/kpartx.rules debian/kpartx.udev
2779- [ ! -f multipath/multipath.rules ] || cp multipath/multipath.rules debian/multipath.udev
2780 [ ! -f multipath/11-dm-mpath.rules ] || cp multipath/11-dm-mpath.rules debian/dm-mpath.udev
2781
2782 dh_auto_install --sourcedirectory=debian/build-deb -- DESTDIR=$(CURDIR)/debian/tmp
2783 dh_auto_install --sourcedirectory=debian/build-udeb -- DESTDIR=$(CURDIR)/debian/tmp-multipath-udeb
2784
2785+ [ ! -f multipath/multipath.rules ] || cp multipath/multipath.rules debian/multipath.udev
2786+
2787+ touch $@
2788+
2789 execute_after_dh_install:
2790 if strings debian/multipath-udeb/lib/libmultipath.so.0 | grep libsystemd.so ; then \
2791 echo ERROR: udeb linked to libsystemd ;\
2792@@ -57,13 +67,80 @@ execute_after_dh_install:
2793 override_dh_bugfiles:
2794 dh_bugfiles -A -pmultipath-tools -pmultipath-tools-boot
2795
2796+ DEB_CFLAGS_MAINT_APPEND="-static-libgcc" dh_auto_build --parallel -- $(OPTFLAGS) LIB=/lib USE_SYSTEMD=0
2797+
2798+ # store files for install target
2799+ mkdir -p $(CURDIR)/debian/tmp-multipath-udeb/sbin
2800+ $(MAKE) -j1 install DESTDIR=$(CURDIR)/debian/tmp-multipath-udeb LIB=/lib USE_SYSTEMD=0
2801+ rm -f debian/tmp-multipath-udeb/lib/libmpathvalid.so* debian/tmp-multipath-udeb/usr/include/mpath_valid.h
2802+
2803+ touch $@
2804+
2805+clean-tree:
2806+ $(MAKE) clean
2807+
2808+clean: clean-tree
2809+ dh_testdir
2810+ rm -f build-stamp build-multipath-udeb-stamp
2811+ dh_prep
2812+ rm -rf debian/*.debhelper.log
2813+ rm -rf debian/tmp-multipath-udeb
2814+ dh_clean
2815+
2816+install-indep:
2817+ dh_testdir
2818+ dh_testroot
2819+ dh_prep
2820+ dh_installdirs
2821+
2822+ # initramfs stuff:
2823+ install -D -m 755 debian/initramfs/hooks $(INITRAMFS)/hooks/multipath
2824+ install -D -m 755 debian/initramfs/kpartx.hook $(CURDIR)/debian/kpartx-boot/usr/share/initramfs-tools/hooks/kpartx
2825+ install -D -m 755 debian/initramfs/local-premount \
2826+ $(INITRAMFS)/scripts/local-premount/multipath
2827+ install -D -m 755 debian/initramfs/local-bottom \
2828+ $(INITRAMFS)/scripts/local-bottom/multipath
2829+ install -D -m 755 debian/initramfs/init-top \
2830+ $(INITRAMFS)/scripts/init-top/multipath
2831+
2832+ # reportbug:
2833+ for pkg in "multipath-tools" "multipath-tools-boot"; do \
2834+ install -D -m 755 debian/reportbug/script debian/$${pkg}/usr/share/bug/$${pkg}/script; \
2835+ done
2836+
2837+ # lintian override
2838+ install -D -m 644 debian/multipath-tools-boot.lintian-overrides \
2839+ debian/multipath-tools-boot/usr/share/lintian/overrides/multipath-tools-boot
2840+
2841+
2842+install: install-indep
2843+ dh_testdir
2844+ dh_testroot
2845+ dh_installdirs
2846+
2847+ mkdir -p $(CURDIR)/debian/tmp/sbin
2848+ $(MAKE) -j1 install DESTDIR=$(CURDIR)/debian/tmp LIB=/lib SYSTEMDPATH=/lib USE_SYSTEMD=1
2849+ rm -f debian/tmp/lib/libmpathvalid.so* debian/tmp/usr/include/mpath_valid.h
2850+ mkdir -p $(CURDIR)/debian/tmp/etc
2851+ cp debian/multipath.conf $(CURDIR)/debian/tmp/etc
2852+ dh_install -X.rules --fail-missing -Nmultipath-udeb --sourcedir=$(CURDIR)/debian/tmp
2853+ dh_install -Xkpartx_id -X.rules -X.service -X.socket --fail-missing -pmultipath-udeb --sourcedir=$(CURDIR)/debian/tmp-multipath-udeb
2854+
2855+binary-indep: build-indep install-indep
2856+ dh_testdir -i
2857+ dh_testroot -i
2858+ dh_installdirs -i
2859+ dh_installchangelogs -i
2860+ dh_installdocs -i
2861+ dh_installexamples -i
2862+
2863 override_dh_installinit:
2864 dh_installinit -pmultipath-tools-boot --name=multipath-tools-boot --no-start -- start 21 S .
2865 dh_installinit -pmultipath-tools-boot
2866 dh_installinit -pmultipath-tools
2867
2868 override_dh_installudev:
2869- dh_installudev -pkpartx
2870+ dh_installudev -pkpartx --priority=95
2871 dh_installudev -pkpartx --name=dm-parts --priority=56
2872 dh_installudev -pkpartx --name=del-part-nodes --priority=68
2873 dh_installudev -pmultipath-tools --name=multipath
2874@@ -76,3 +153,18 @@ override_dh_installsystemd:
2875
2876 override_dh_makeshlibs:
2877 dh_makeshlibs -a --add-udeb=multipath-udeb
2878+ dh_link -a
2879+ dh_strip -a
2880+ dh_compress -a
2881+ dh_fixperms -a
2882+ dh_installdeb -a
2883+ dh_shlibdeps -a
2884+ dh_gencontrol -a $(skip_packages)
2885+ dh_md5sums -a
2886+ dh_builddeb -a $(skip_packages)
2887+
2888+binary: binary-indep binary-arch
2889+.PHONY: binary binary-arch binary-indep unpack configure build clean
2890+
2891+# We build the same tree twice, this cannot happen in parallel.
2892+.NOTPARALLEL:

Subscribers

People subscribed via source and target branches