Merge ~rafaeldtinoco/ubuntu/+source/multipath-tools:lp1862282-merge into ubuntu/+source/multipath-tools:debian/sid
- Git
- lp:~rafaeldtinoco/ubuntu/+source/multipath-tools
- lp1862282-merge
- Merge into debian/sid
Status: | Rejected |
---|---|
Rejected by: | Rafael David Tinoco |
Proposed branch: | ~rafaeldtinoco/ubuntu/+source/multipath-tools:lp1862282-merge |
Merge into: | ubuntu/+source/multipath-tools:debian/sid |
Diff against target: |
2305 lines (+1851/-42) 24 files modified
debian/changelog (+1383/-0) debian/control (+14/-5) debian/initramfs/hooks (+22/-2) debian/initramfs/init-top (+18/-2) debian/initramfs/kpartx.hook (+22/-0) debian/initramfs/local-bottom (+24/-22) debian/initramfs/local-premount (+30/-0) debian/kpartx-boot.postinst (+34/-0) debian/kpartx-boot.postrm (+45/-0) debian/kpartx.install (+2/-2) debian/multipath-tools.dm-mpath-lvm.udev (+26/-0) debian/multipath-tools.install (+1/-0) debian/multipath-tools.preinst (+4/-0) debian/multipath-udeb.install (+1/-0) debian/multipath.conf (+3/-0) debian/patches/disable-fexceptions-udeb.patch (+17/-0) debian/patches/enable-find-multipaths.patch (+17/-0) debian/patches/kpartx-Improve-finding-loopback-device-by-file.patch (+70/-0) debian/patches/kpartx-print-loop-deleted-to-stdout-not-stderr.patch (+33/-0) debian/patches/kpartx_more_loopback_fixes.patch (+40/-0) debian/patches/no-start-in-containers.patch (+17/-0) debian/patches/series (+6/-0) debian/rules (+19/-7) debian/tests/tgtbasedmpaths (+3/-2) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Canonical Server | Pending | ||
Review via email: mp+378696@code.launchpad.net |
Commit message
Description of the change
Rafael David Tinoco (rafaeldtinoco) wrote : | # |
Rafael David Tinoco (rafaeldtinoco) wrote : | # |
Source and Binary packages seem okay for now:
(c)rafaeldtinoc
(Reading database ... 76654 files and directories currently installed.)
Preparing to unpack .../kpartx_
Unpacking kpartx (0.8.3-1ubuntu1) over (0.7.9-3ubuntu7) ...
Selecting previously unselected package kpartx-boot.
Preparing to unpack .../kpartx-
Unpacking kpartx-boot (0.8.3-1ubuntu1) ...
Setting up kpartx (0.8.3-1ubuntu1) ...
Setting up kpartx-boot (0.8.3-1ubuntu1) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for man-db (2.9.0-2) ...
Processing triggers for initramfs-tools (0.133ubuntu14) ...
(c)rafaeldtinoc
(Reading database ... 76659 files and directories currently installed.)
Preparing to unpack .../multipath-
Unpacking multipath-tools (0.8.3-1ubuntu1) over (0.7.9-3ubuntu7) ...
Selecting previously unselected package multipath-
Preparing to unpack .../multipath-
Unpacking multipath-
Setting up multipath-tools (0.8.3-1ubuntu1) ...
multipathd.socket is a disabled or a static unit, not starting it.
Setting up multipath-
update-initramfs: deferring update (trigger activated)
Processing triggers for libc-bin (2.30-0ubuntu3) ...
Processing triggers for systemd (244.1-0ubuntu3) ...
Processing triggers for man-db (2.9.0-2) ...
Processing triggers for initramfs-tools (0.133ubuntu14) ...
Christian Ehrhardt (paelzer) wrote : | # |
Is this still "Please dont fully review this yet, I still have some tests to finish" or did the latter update made it ready for review?
Rafael David Tinoco (rafaeldtinoco) wrote : | # |
I'm going to work on this today and finish my testing.
Rafael David Tinoco (rafaeldtinoco) wrote : | # |
This isn't needed anymore as this was merged with Debian by Steve:
----
multipath-tools (0.8.3-1ubuntu1) focal; urgency=low
* Merge from Debian unstable. Remaining changes:
- Stop producing udebs on i386 where we no longer have d-i or a kernel.
- Fix debian/rules to not explode when building without udebs on i386.
- Don't build the multipath-tools binary package on i386; we only want
kpartx.
- d/control:
- multipath-udeb: add sg3-udeb Depends
- d/rules: Move udev rules to priority 95, because rules that load modules
should be >90.
- d/multipath-
that multipathd will be able to start.
- Split kpartx initramfs bits into kpartx-boot for dmraid (LP 941874)
- d/initramfs/
- d/kpartx-
- d/kpartx-
- d/control: Add kpartx-boot package for dmraid
- d/rules: Install kpartx initramfs hook
- d/kpartx.install: install all arch /lib* kpartx udev rules
- patches to multipath source
- d/p/1000-
- d/p/kpartx_
files some more: since we stat() the loopback device node, we can't rely
on S_ISREG() tests to handle this case, and should look at the device
itself instead. (LP 1543430)
- d/p/enable-
by default -- see the removed 'add_find-
- multipath initramfs fixes for booting from multipathed devices
- d/initramfs/hooks: also copy wwids file on the installed system to
ensure all paths come up on boot. (LP 1479929)
- d/initramfs/hooks: install multipathd and required directories.
- d/initramfs/hooks: copy multipath udev rules to initramfs
- d/initramfs/hooks: do not copy kpartx rules to initramfs
- d/initramfs/
- d/initramfs/
chance to be updated by the multipath udev rules (LP 1503286).
- d/initramfs/
nor change /etc/multipath/
- d/rules: install d/initramfs/
- d/rules: install d/initramfs/
- Disable -fexceptions on multipath-udeb (LP 1489379): the flag causes
libchecktur.so to link with libgcc_s.so.1 (even with -static-libgcc),
which is not available in the installer environment.
- d/p/disable-
with CFLAGS_
- d/rules: set CFLAGS_
- d/p/disable-
with CFLAGS_
- d/rules: set CFLAGS_
- Remove d/initramfs/
- init-top: take over loading...
Unmerged commits
- c14d83b... by Rafael David Tinoco
-
update-maintainer
- e298c7e... by Rafael David Tinoco
-
reconstruct-
changelog - 223b45e... by Rafael David Tinoco
-
merge-changelogs
- 6e8199a... by Rafael David Tinoco
-
* Don't build the multipath-tools binary package on i386; we only
want kpartx. - 6a1032a... by Rafael David Tinoco
-
* Fix debian/rules to not explode when building without udebs on i386.
- 1ae9948... by Rafael David Tinoco
-
* Stop producing udebs on i386 where we no longer have d-i or a kernel.
- 02f0d4a... by Rafael David Tinoco
-
* Revert "Ensure udebs have the same udev rules as installed systems
(LP: #1825189)" for now. Udev rules get in the way at the moment. - a82b94d... by Rafael David Tinoco
-
* Ensure udebs have the same udev rules as installed systems (LP: #1825189)
- 340d593... by Christian Ehrhardt
-
UPDATE d/p/kpartx-
Improve- finding- loopback- device- by-file. patch for the new upstram version Signed-off-by: Christian Ehrhardt <email address hidden>
- ba58242... by Christian Ehrhardt
-
UPDATE d/p/kpartx-
Improve- finding- loopback- device- by-file. patch: to match new upstream version Signed-off-by: Christian Ehrhardt <email address hidden>
Preview Diff
1 | diff --git a/debian/changelog b/debian/changelog |
2 | index 2311cc8..005434d 100644 |
3 | --- a/debian/changelog |
4 | +++ b/debian/changelog |
5 | @@ -1,3 +1,81 @@ |
6 | +multipath-tools (0.8.3-1ubuntu1) focal; urgency=medium |
7 | + |
8 | + * Merge with Debian unstable (LP: #1862282). Remaining changes: |
9 | + - debian/control: multipath-udeb: add sg3-udeb Depends |
10 | + - debian/rules: Move udev rules to priority 95 |
11 | + - debian/multipath-tools.preinst: modprobe dm-multipath. |
12 | + - Split kpartx initramfs bits into kpartx-boot for dmraid (LP #941874) |
13 | + - debian/initramfs/kpartx.hook |
14 | + - debian/kpartx-boot.postinst |
15 | + - debian/kpartx-boot.postrm |
16 | + - debian/control: Add kpartx-boot package for dmraid |
17 | + - debian/rules: Install kpartx initramfs hook MISSING (wrong) CL: |
18 | + - debian/kpartx.install - Was part of kpartx-boot - but really is an |
19 | + extra fix: |
20 | + - debian/kpartx.install: install all arch /lib* kpartx udev rules |
21 | + - debian/initramfs/hooks: also copy wwids file on the installed system to |
22 | + ensure all paths come up on boot. (LP #1479929) |
23 | + - debian/initramfs/hooks: install multipathd and required directories. |
24 | + - Remove partition device nodes of individual paths (for LVM on multipath) |
25 | + (LP #1540401) |
26 | + - d/initramfs/hooks: copy 56-dm-mpath-lvm rules |
27 | + - d/initramfs/hooks: do not copy kpartx rules |
28 | + - Disable -fexceptions on multipath-udeb (LP #1489379): |
29 | + - d/p/disable-fexceptions-udeb.patch: conditionally disable -fexceptions |
30 | + with CFLAGS_DISABLE_FEXCEPTIONS. |
31 | + - d/rules: set CFLAGS_DISABLE_FEXCEPTIONS to build multipath-udeb. |
32 | + - debian/initramfs/local-bottom: remember to stop multipathd. |
33 | + - Add and fixup d/initramfs/local-premount: |
34 | + - wait for udev to settle before the call to resolve_device() |
35 | + (LP #1503286) |
36 | + - Run multipath with -B so not to assign names nor change |
37 | + /etc/multipath/bindings during initramfs (LP #1561103) |
38 | + - debian/rules: install debian/initramfs/local-premount |
39 | + - debian/rules: install debian/initramfs/local-bottom |
40 | + - debian/patches/kpartx_more_loopback_fixes.patch: fix loopback mounted |
41 | + files some more (LP #1543430) |
42 | + - Remove partition device nodes of individual paths (for LVM on multipath) |
43 | + (LP #1540401) |
44 | + - debian/multipath-tools.dm-mpath-lvm.udev: udev rule for that |
45 | + - debian/initramfs/init-top: load the dm-multipath module |
46 | + - debian/initramfs/init-top: start multipathd before udev |
47 | + - init-top: load modules (dm-multipath and SCSI device handlers); |
48 | + move the missing dm-emc there (now scsi-dh-emc; see BTS 567014). |
49 | + - debian/multipath-tools.dm-mpath-lvm.udev |
50 | + - debian/rules: do not install local-top anymore. |
51 | + - debian/patches/enable-find-multipaths.patch: re-enable find_multipaths |
52 | + by default -- see the removed 'add_find-multipaths.patch' (LP #1463046) |
53 | + - Fixes typo in package description (availibility -> availability) |
54 | + (LP: #1231182) |
55 | + - debian/initramfs/hooks: |
56 | + - Add dm-queue-length: users may want to change from the default |
57 | + selector and should be able to do so. (LP: #1673350) |
58 | + - debian/initramfs/local-bottom: wait for the multipathd unix socket to |
59 | + close, so to avoid multipathd.socket unit failure. (LP: #1682178) |
60 | + - debian/tests/tgtbasedmpaths: Add sleep to allow for device creation |
61 | + - Adjust initramfs integration for new udev rules |
62 | + - d/p/kpartx-Improve-finding-loopback-device-by-file.patch: |
63 | + Improve finding loopback devices (LP #1747044) |
64 | + - d/p/kpartx-print-loop-deleted-to-stdout-not-stderr.patch: |
65 | + Print loop deleted message to stdout again, not stderr; to fix autopkgtest |
66 | + - Install friendly names multipath.conf by default |
67 | + - Use stable wwn-* names in autopkgtest that work with or without |
68 | + friendly names, as scsi- is not a stable symlink name |
69 | + - Do not attempt to start multipath-tools in containers |
70 | + - UPDATES to match the new upstream version: |
71 | + - d/p/disable-fexceptions-udeb.patch |
72 | + - d/p/enable-find-multipaths.patch |
73 | + - d/p/kpartx-Improve-finding-loopback-device-by-file.patch |
74 | + - Ensure udebs have the same udev rules as installed systems (LP: #1825189) |
75 | + - Revert "Ensure udebs have the same udev rules as installed systems |
76 | + (LP: #1825189)" for now. Udev rules get in the way at the moment. |
77 | + - Stop producing udebs on i386 where we no longer have d-i or a kernel. |
78 | + - Fix debian/rules to not explode when building without udebs on i386. |
79 | + - Don't build the multipath-tools binary package on i386; we only |
80 | + want kpartx. |
81 | + |
82 | + -- Rafael David Tinoco <rafaeldtinoco@ubuntu.com> Fri, 07 Feb 2020 03:26:35 +0000 |
83 | + |
84 | multipath-tools (0.8.3-1) unstable; urgency=medium |
85 | |
86 | * [6b91b76] New upstream version 0.8.3 |
87 | @@ -5,6 +83,144 @@ multipath-tools (0.8.3-1) unstable; urgency=medium |
88 | |
89 | -- Ritesh Raj Sarraf <rrs@debian.org> Wed, 08 Jan 2020 21:45:44 +0530 |
90 | |
91 | +multipath-tools (0.7.9-3ubuntu7) focal; urgency=medium |
92 | + |
93 | + * Don't build the multipath-tools binary package on i386; we only want |
94 | + kpartx. |
95 | + |
96 | + -- Steve Langasek <steve.langasek@ubuntu.com> Tue, 07 Jan 2020 14:00:24 -0800 |
97 | + |
98 | +multipath-tools (0.7.9-3ubuntu6) eoan; urgency=medium |
99 | + |
100 | + * Fix debian/rules to not explode when building without udebs on i386. |
101 | + |
102 | + -- Adam Conrad <adconrad@ubuntu.com> Wed, 09 Oct 2019 15:22:33 -0600 |
103 | + |
104 | +multipath-tools (0.7.9-3ubuntu5) eoan; urgency=medium |
105 | + |
106 | + * Stop producing udebs on i386 where we no longer have d-i or a kernel. |
107 | + |
108 | + -- Adam Conrad <adconrad@ubuntu.com> Wed, 09 Oct 2019 14:09:21 -0600 |
109 | + |
110 | +multipath-tools (0.7.9-3ubuntu4) eoan; urgency=medium |
111 | + |
112 | + * Rebuild against new libjson-c4. |
113 | + |
114 | + -- Gianfranco Costamagna <locutusofborg@debian.org> Sat, 29 Jun 2019 13:55:54 +0200 |
115 | + |
116 | +multipath-tools (0.7.9-3ubuntu3) eoan; urgency=medium |
117 | + |
118 | + * Revert "Ensure udebs have the same udev rules as installed |
119 | + systems. LP: #1825189" for now. Udev rules get in the way at the |
120 | + moment. |
121 | + |
122 | + -- Dimitri John Ledkov <xnox@ubuntu.com> Tue, 21 May 2019 12:34:41 +0100 |
123 | + |
124 | +multipath-tools (0.7.9-3ubuntu2) eoan; urgency=medium |
125 | + |
126 | + * Ensure udebs have the same udev rules as installed systems. LP: |
127 | + #1825189 |
128 | + |
129 | + -- Dimitri John Ledkov <xnox@ubuntu.com> Tue, 21 May 2019 12:34:41 +0100 |
130 | + |
131 | +multipath-tools (0.7.9-3ubuntu1) eoan; urgency=medium |
132 | + |
133 | + * Merge from Debian. Remaining changes: |
134 | + - d/control: |
135 | + - multipath-udeb: add sg3-udeb Depends |
136 | + - d/rules: Move udev rules to priority 95, because rules that load modules |
137 | + should be >90. |
138 | + - d/multipath-tools.preinst: modprobe dm-multipath; This will make sure |
139 | + that multipathd will be able to start. |
140 | + - Split kpartx initramfs bits into kpartx-boot for dmraid (LP 941874) |
141 | + - d/initramfs/kpartx.hook |
142 | + - d/kpartx-boot.postinst |
143 | + - d/kpartx-boot.postrm |
144 | + - d/control: Add kpartx-boot package for dmraid |
145 | + - d/rules: Install kpartx initramfs hook |
146 | + - d/kpartx.install: install all arch /lib* kpartx udev rules |
147 | + - patches to multipath source |
148 | + - d/p/1000--set-umask-in-multipathd.patch: Set umask in multipathd. |
149 | + - d/p/kpartx_more_loopback_fixes.patch: fix loopback mounted |
150 | + files some more: since we stat() the loopback device node, we can't rely |
151 | + on S_ISREG() tests to handle this case, and should look at the device |
152 | + itself instead. (LP 1543430) |
153 | + - d/p/enable-find-multipaths.patch: re-enable find_multipaths |
154 | + by default -- see the removed 'add_find-multipaths.patch' (LP 1463046) |
155 | + - multipath initramfs fixes for booting from multipathed devices |
156 | + - d/initramfs/hooks: also copy wwids file on the installed system to |
157 | + ensure all paths come up on boot. (LP 1479929) |
158 | + - d/initramfs/hooks: install multipathd and required directories. |
159 | + - d/initramfs/hooks: copy multipath udev rules to initramfs |
160 | + - d/initramfs/hooks: do not copy kpartx rules to initramfs |
161 | + - d/initramfs/local-bottom: remember to stop multipathd. |
162 | + - d/initramfs/local-premount: wait for udev to settle before the call to |
163 | + resolve_device() in local_mount_root(), so the by-uuid/ symlinks have a |
164 | + chance to be updated by the multipath udev rules (LP 1503286). |
165 | + - d/initramfs/local-premount: Run multipath with -B so not to assign names |
166 | + nor change /etc/multipath/bindings during initramfs (LP 1561103) |
167 | + - d/rules: install d/initramfs/local-bottom |
168 | + - d/rules: install d/initramfs/local-premount |
169 | + - Disable -fexceptions on multipath-udeb (LP 1489379): the flag causes |
170 | + libchecktur.so to link with libgcc_s.so.1 (even with -static-libgcc), |
171 | + which is not available in the installer environment. |
172 | + - d/p/disable-fexceptions-udeb.patch: conditionally disable -fexceptions |
173 | + with CFLAGS_DISABLE_FEXCEPTIONS. |
174 | + - d/rules: set CFLAGS_DISABLE_FEXCEPTIONS to build multipath-udeb. |
175 | + - Remove d/initramfs/local-top (redundant with other initramfs scripts): |
176 | + - init-top: take over loading modules (dm-multipath and SCSI device |
177 | + handlers); move the missing dm-emc there (now scsi-dh-emc; |
178 | + see BTS 567014). |
179 | + - d/rules: do not install local-top anymore. |
180 | + - remove d/initramfs/local-top |
181 | + - Fixes typo in package description (availibility -> availability) |
182 | + (LP 1231182) |
183 | + - debian/initramfs/local-bottom: wait for the multipathd unix socket |
184 | + to close, so to avoid multipathd.socket unit failure. (LP 1682178) |
185 | + - debian/initramfs/hooks: Add dm-queue-length: users may want to change |
186 | + from the default selector and should be able to do so. (LP 1673350) |
187 | + - d/p/kpartx-Improve-finding-loopback-device-by-file.patch: Improve |
188 | + finding loopback devices (LP 1747044) |
189 | + - d/p/kpartx-print-loop-deleted-to-stdout-not-stderr.patch: Print loop |
190 | + deleted message to stdout again, not stderr; to fix autopkgtest |
191 | + - Install friendly names multipath.conf by default, instead of |
192 | + generating it in every installer. |
193 | + - Use stable wwn-* names in autopkgtest that work with or without |
194 | + friendly names, as scsi-${DM_NAME} is not a stable symlink name. |
195 | + - Do not attempt to start multipath-tools in containers, should switch |
196 | + for on-demand udev/socket based activation in the future. LP 1823093 |
197 | + - Adjust initramfs integration for new udev rules |
198 | + - debian/tests/tgtbasedmpaths: Add sleep to allow for device creation |
199 | + * Dropped changes: |
200 | + - Install dm-parts.rule |
201 | + - Fix /usr/lib/udev to be /lib/udev |
202 | + - Move udev rules at position 11 to position 56 |
203 | + - Fix 11-dm-mpath.rules to check for DM_UDEV_RULES, not DM_UDEV_RULES_VSN |
204 | + - d/rules: Run dh_clean from clean target |
205 | + - Install 68-del-part-nodes.rules |
206 | + [all above in Debian now] |
207 | + - Import upstream commit to fix crash in multipathd |
208 | + [part of the new upstream version] |
209 | + - d/p/1000--set-umask-in-multipathd.patch: Set umask in multipathd. |
210 | + [new upstream sets umask before calling before uxsock_listen] |
211 | + - d/control mark transition of file /etc/init.d/multipath-tools-boot |
212 | + according to case #9 of https://wiki.debian.org/PackageTransition |
213 | + [no more needed post 18.04] |
214 | + - Apply fix from fedora to trigger change uevent on device creation, |
215 | + this also ensures new devices are discovered automatically. |
216 | + [upstream since 0.7.7] |
217 | + * Added Changes: |
218 | + - d/p/kpartx-Improve-finding-loopback-device-by-file.patch |
219 | + [updated to match new upstream version] |
220 | + - d/p/disable-fexceptions-udeb.patch: to match new upstream version |
221 | + [updated to match new upstream version] |
222 | + - d/p/enable-find-multipaths.patch: since upstream change c36f2f42 we need |
223 | + to set yes to retain the Ubuntu behavior instead of 1 as we did before. |
224 | + - d/p/kpartx-Improve-finding-loopback-device-by-file.patch |
225 | + [updated to match new upstream version] |
226 | + |
227 | + -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Mon, 29 Apr 2019 16:14:26 +0200 |
228 | + |
229 | multipath-tools (0.7.9-3) unstable; urgency=medium |
230 | |
231 | * [51a7724] Reliably extract the running systemd version |
232 | @@ -98,6 +314,126 @@ multipath-tools (0.7.4-3) unstable; urgency=medium |
233 | |
234 | -- Ritesh Raj Sarraf <rrs@debian.org> Sat, 10 Feb 2018 11:23:20 +0530 |
235 | |
236 | +multipath-tools (0.7.4-2ubuntu8) disco; urgency=medium |
237 | + |
238 | + * Do not attempt to start multipath-tools in containers, should switch |
239 | + for on-demand udev/socket based activation in the future. LP: #1823093 |
240 | + |
241 | + -- Dimitri John Ledkov <xnox@ubuntu.com> Mon, 15 Apr 2019 11:10:32 +0100 |
242 | + |
243 | +multipath-tools (0.7.4-2ubuntu7) disco; urgency=medium |
244 | + |
245 | + * Use stable wwn-* names in autopkgtest that work with or without |
246 | + friendly names, as scsi-${DM_NAME} is not a stable symlink name. |
247 | + |
248 | + -- Dimitri John Ledkov <xnox@ubuntu.com> Tue, 02 Apr 2019 13:22:51 +0100 |
249 | + |
250 | +multipath-tools (0.7.4-2ubuntu6) disco; urgency=medium |
251 | + |
252 | + * Install friendly names multipath.conf by default, instead of |
253 | + generating it in every installer. |
254 | + |
255 | + -- Dimitri John Ledkov <xnox@ubuntu.com> Wed, 20 Mar 2019 23:02:30 +0000 |
256 | + |
257 | +multipath-tools (0.7.4-2ubuntu4) disco; urgency=medium |
258 | + |
259 | + * No-change rebuild for readline soname change. |
260 | + |
261 | + -- Matthias Klose <doko@ubuntu.com> Mon, 14 Jan 2019 20:02:28 +0000 |
262 | + |
263 | +multipath-tools (0.7.4-2ubuntu3) bionic; urgency=medium |
264 | + |
265 | + * d/p/kpartx-print-loop-deleted-to-stdout-not-stderr.patch: Print loop |
266 | + deleted message to stdout again, not stderr; to fix autopkgtest |
267 | + |
268 | + -- Julian Andres Klode <juliank@ubuntu.com> Mon, 05 Feb 2018 11:46:37 +0100 |
269 | + |
270 | +multipath-tools (0.7.4-2ubuntu2) bionic; urgency=medium |
271 | + |
272 | + * d/p/kpartx-Improve-finding-loopback-device-by-file.patch: Improve |
273 | + finding loopback devices (LP: #1747044) |
274 | + |
275 | + -- Julian Andres Klode <juliank@ubuntu.com> Mon, 05 Feb 2018 10:06:19 +0100 |
276 | + |
277 | +multipath-tools (0.7.4-2ubuntu1) bionic; urgency=medium |
278 | + |
279 | + * Merge from Debian. (LP: #1710697, LP: #1711749) Remaining changes: |
280 | + - d/control: |
281 | + - multipath-udeb: add sg3-udeb Depends |
282 | + - d/rules: Move udev rules to priority 95, because rules that load modules |
283 | + should be >90. |
284 | + - d/multipath-tools.preinst: modprobe dm-multipath; This will make sure |
285 | + that multipathd will be able to start. |
286 | + - Split kpartx initramfs bits into kpartx-boot for dmraid (LP 941874) |
287 | + - d/initramfs/kpartx.hook |
288 | + - d/kpartx-boot.postinst |
289 | + - d/kpartx-boot.postrm |
290 | + - d/control: Add kpartx-boot package for dmraid |
291 | + - d/rules: Install kpartx initramfs hook |
292 | + - d/kpartx.install: install all arch /lib* kpartx udev rules |
293 | + - patches to multipath source |
294 | + - d/p/1000--set-umask-in-multipathd.patch: Set umask in multipathd. |
295 | + - d/p/kpartx_more_loopback_fixes.patch: fix loopback mounted |
296 | + files some more: since we stat() the loopback device node, we can't rely |
297 | + on S_ISREG() tests to handle this case, and should look at the device |
298 | + itself instead. (LP 1543430) |
299 | + - d/p/enable-find-multipaths.patch: re-enable find_multipaths |
300 | + by default -- see the removed 'add_find-multipaths.patch' (LP 1463046) |
301 | + - multipath initramfs fixes for booting from multipathed devices |
302 | + - d/initramfs/hooks: also copy wwids file on the installed system to |
303 | + ensure all paths come up on boot. (LP 1479929) |
304 | + - d/initramfs/hooks: install multipathd and required directories. |
305 | + - d/initramfs/hooks: copy multipath udev rules to initramfs |
306 | + - d/initramfs/hooks: do not copy kpartx rules to initramfs |
307 | + - d/initramfs/local-bottom: remember to stop multipathd. |
308 | + - d/initramfs/local-premount: wait for udev to settle before the call to |
309 | + resolve_device() in local_mount_root(), so the by-uuid/ symlinks have a |
310 | + chance to be updated by the multipath udev rules (LP 1503286). |
311 | + - d/initramfs/local-premount: Run multipath with -B so not to assign names |
312 | + nor change /etc/multipath/bindings during initramfs (LP 1561103) |
313 | + - d/rules: install d/initramfs/local-bottom |
314 | + - d/rules: install d/initramfs/local-premount |
315 | + - Disable -fexceptions on multipath-udeb (LP 1489379): the flag causes |
316 | + libchecktur.so to link with libgcc_s.so.1 (even with -static-libgcc), |
317 | + which is not available in the installer environment. |
318 | + - d/p/disable-fexceptions-udeb.patch: conditionally disable -fexceptions |
319 | + with CFLAGS_DISABLE_FEXCEPTIONS. |
320 | + - d/rules: set CFLAGS_DISABLE_FEXCEPTIONS to build multipath-udeb. |
321 | + - Remove d/initramfs/local-top (redundant with other initramfs scripts): |
322 | + - init-top: take over loading modules (dm-multipath and SCSI device |
323 | + handlers); move the missing dm-emc there (now scsi-dh-emc; |
324 | + see BTS 567014). |
325 | + - d/rules: do not install local-top anymore. |
326 | + - remove d/initramfs/local-top |
327 | + - Fixes typo in package description (availibility -> availability) |
328 | + (LP 1231182) |
329 | + - d/control mark transition of file /etc/init.d/multipath-tools-boot |
330 | + according to case #9 of https://wiki.debian.org/PackageTransition |
331 | + - debian/initramfs/local-bottom: wait for the multipathd unix socket |
332 | + to close, so to avoid multipathd.socket unit failure. (LP 1682178) |
333 | + - debian/initramfs/hooks: Add dm-queue-length: users may want to change |
334 | + from the default selector and should be able to do so. (LP 1673350) |
335 | + * Dropped changes: |
336 | + - Remove partition device nodes of individual paths (for LVM on multipath) |
337 | + on the new multipath-tools with udev property blacklisting (LP 1540401) |
338 | + + Replaced by 68-del-part-nodes.rules |
339 | + + known as "dm-mpath-lvm.rules", also dropped initramfs for that |
340 | + * New changes: |
341 | + - Install dm-parts.rule |
342 | + - Fix /usr/lib/udev to be /lib/udev |
343 | + - Move udev rules at position 11 to position 56 |
344 | + - Fix 11-dm-mpath.rules to check for DM_UDEV_RULES, not DM_UDEV_RULES_VSN |
345 | + - d/rules: Run dh_clean from clean target |
346 | + - Install 68-del-part-nodes.rules |
347 | + - Import upstream commit to fix crash in multipathd |
348 | + - Adjust initramfs integration for new udev rules |
349 | + - Apply fix from fedora to trigger change uevent on device creation, |
350 | + this also ensures new devices are discovered automatically. |
351 | + - debian/tests/tgtbasedmpaths: Add sleep to allow for device creation |
352 | + - d/patches: Add DEP-3 headers to our own patches |
353 | + |
354 | + -- Julian Andres Klode <juliank@ubuntu.com> Wed, 24 Jan 2018 10:57:46 +0100 |
355 | + |
356 | multipath-tools (0.7.4-2) unstable; urgency=medium |
357 | |
358 | * Upload to Unstable |
359 | @@ -129,6 +465,89 @@ multipath-tools (0.7.4-1) experimental; urgency=medium |
360 | |
361 | -- Ritesh Raj Sarraf <rrs@debian.org> Fri, 22 Dec 2017 11:49:58 +0530 |
362 | |
363 | +multipath-tools (0.6.4-5ubuntu1) artful; urgency=medium |
364 | + |
365 | + * Merge from Debian. (LP: #1548303) Remaining changes: |
366 | + - d/control: |
367 | + - multipath-udeb: add sg3-udeb Depends |
368 | + - d/rules: Move udev rules to priority 95, because rules that load modules |
369 | + should be >90. |
370 | + - d/multipath-tools.preinst: modprobe dm-multipath; This will make sure |
371 | + that multipathd will be able to start. |
372 | + - Split kpartx initramfs bits into kpartx-boot for dmraid (LP 941874) |
373 | + - d/initramfs/kpartx.hook |
374 | + - d/kpartx-boot.postinst |
375 | + - d/kpartx-boot.postrm |
376 | + - d/control: Add kpartx-boot package for dmraid |
377 | + - d/rules: Install kpartx initramfs hook |
378 | + - d/kpartx.install: install all arch /lib* kpartx udev rules |
379 | + - patches to multipath source |
380 | + - d/p/1000--set-umask-in-multipathd.patch: Set umask in multipathd. |
381 | + - d/p/kpartx_more_loopback_fixes.patch: fix loopback mounted |
382 | + files some more: since we stat() the loopback device node, we can't rely |
383 | + on S_ISREG() tests to handle this case, and should look at the device |
384 | + itself instead. (LP 1543430) |
385 | + - d/p/enable-find-multipaths.patch: re-enable find_multipaths |
386 | + by default -- see the removed 'add_find-multipaths.patch' (LP 1463046) |
387 | + - multipath initramfs fixes for booting from multipathed devices |
388 | + - d/initramfs/hooks: also copy wwids file on the installed system to |
389 | + ensure all paths come up on boot. (LP 1479929) |
390 | + - d/initramfs/hooks: install multipathd and required directories. |
391 | + - d/initramfs/hooks: copy dm-mpath-lvm & multipath udev rules to initramfs |
392 | + - d/initramfs/hooks: do not copy kpartx rules to initramfs |
393 | + - d/initramfs/local-bottom: remember to stop multipathd. |
394 | + - d/initramfs/local-premount: wait for udev to settle before the call to |
395 | + resolve_device() in local_mount_root(), so the by-uuid/ symlinks have a |
396 | + chance to be updated by the multipath udev rules (LP 1503286). |
397 | + - d/initramfs/local-premount: Run multipath with -B so not to assign names |
398 | + nor change /etc/multipath/bindings during initramfs (LP 1561103) |
399 | + - d/rules: install d/initramfs/local-bottom |
400 | + - d/rules: install d/initramfs/local-premount |
401 | + - Disable -fexceptions on multipath-udeb (LP 1489379): the flag causes |
402 | + libchecktur.so to link with libgcc_s.so.1 (even with -static-libgcc), |
403 | + which is not available in the installer environment. |
404 | + - d/p/disable-fexceptions-udeb.patch: conditionally disable -fexceptions |
405 | + with CFLAGS_DISABLE_FEXCEPTIONS. |
406 | + - d/rules: set CFLAGS_DISABLE_FEXCEPTIONS to build multipath-udeb. |
407 | + - Remove partition device nodes of individual paths (for LVM on multipath) |
408 | + on the new multipath-tools with udev property blacklisting (LP 1540401) |
409 | + - d/multipath-tools.dm-mpath-lvm.udev: udev rule for that. |
410 | + - d/initramfs/init-top: load the dm-multipath module for |
411 | + 'multipath -c'. |
412 | + - d/initramfs/init-top: start multipathd before udev (required by |
413 | + 'multipath -u' in the udev rules) |
414 | + - d/rules: install the udev rule (priority 56: after 55-scsi-sg3_id) |
415 | + - d/rules: rename multipath-tools udev to dm-mpath-lvm |
416 | + - d/multipath-tools.dm-mpath-lvm.udev: replace 'multipath -c' with |
417 | + 'multipath -u' which can read udev properties at PROGRAM-rule time |
418 | + (when udev properties are not yet written to the udev database). |
419 | + - Remove d/initramfs/local-top (redundant with other initramfs scripts): |
420 | + - init-top: take over loading modules (dm-multipath and SCSI device |
421 | + handlers); move the missing dm-emc there (now scsi-dh-emc; |
422 | + see BTS 567014). |
423 | + - d/rules: do not install local-top anymore. |
424 | + - remove d/initramfs/local-top |
425 | + - Fixes typo in package description (availibility -> availability) |
426 | + (LP 1231182) |
427 | + - d/control mark transition of file /etc/init.d/multipath-tools-boot |
428 | + according to case #9 of https://wiki.debian.org/PackageTransition |
429 | + - debian/initramfs/local-bottom: wait for the multipathd unix socket |
430 | + to close, so to avoid multipathd.socket unit failure. (LP 1682178) |
431 | + - debian/initramfs/hooks: Add dm-queue-length: users may want to change |
432 | + from the default selector and should be able to do so. (LP 1673350) |
433 | + * Drop changes (in Debian now): |
434 | + - d/control: Bump udev dependencies (in Debian) |
435 | + - debian/initramfs/hooks: |
436 | + - Remove old dm-emc module; it hasn't been in kernel since 2.6.27. |
437 | + - d/tests/kpartx-file-loopback: add an autopkgtest to catch future cases |
438 | + where uploads might break kpartx's loopback file handling. |
439 | + - mark kpartx tests as isolation-machine to avoid issues in e.g. LXD |
440 | + autopkgtest environments (LP 1644253) |
441 | + - d/t/tgtbasedmpaths add Test using tgt and open-iscsi to excercise |
442 | + multipath |
443 | + |
444 | + -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Tue, 18 Jul 2017 14:12:53 +0200 |
445 | + |
446 | multipath-tools (0.6.4-5) unstable; urgency=medium |
447 | |
448 | * Ship multipath udev rules (Closes: #858456) |
449 | @@ -152,6 +571,163 @@ multipath-tools (0.6.4-4) unstable; urgency=medium |
450 | |
451 | -- Ritesh Raj Sarraf <rrs@debian.org> Mon, 20 Feb 2017 19:36:31 +0530 |
452 | |
453 | +multipath-tools (0.6.4-3ubuntu6) artful; urgency=medium |
454 | + |
455 | + * Rebuild against new liburcu6. |
456 | + |
457 | + -- Gianfranco Costamagna <locutusofborg@debian.org> Tue, 18 Jul 2017 12:08:33 +0200 |
458 | + |
459 | +multipath-tools (0.6.4-3ubuntu5) artful; urgency=medium |
460 | + |
461 | + * No-change rebuild against latest liburcu |
462 | + |
463 | + -- Jeremy Bicha <jbicha@ubuntu.com> Sat, 15 Jul 2017 09:44:44 -0400 |
464 | + |
465 | +multipath-tools (0.6.4-3ubuntu4) zesty; urgency=medium |
466 | + |
467 | + * debian/initramfs/local-bottom: wait for the multipathd unix socket |
468 | + to close, so to avoid multipathd.socket unit failure. (LP: #1682178) |
469 | + |
470 | + -- Mauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com> Wed, 12 Apr 2017 14:30:13 -0400 |
471 | + |
472 | +multipath-tools (0.6.4-3ubuntu3) zesty; urgency=medium |
473 | + |
474 | + * debian/initramfs/hooks, debian/initramfs/local-bottom: |
475 | + Update hooks and local-bottom to use /run instead of /var/run as a path |
476 | + for multipathd.pid in the initramfs. (LP: #1670811) |
477 | + |
478 | + -- Mathieu Trudel-Lapierre <cyphermox@ubuntu.com> Tue, 28 Mar 2017 21:20:22 -0400 |
479 | + |
480 | +multipath-tools (0.6.4-3ubuntu2) zesty; urgency=medium |
481 | + |
482 | + * debian/initramfs/hooks: |
483 | + - Remove old dm-emc module; it hasn't been in kernel since 2.6.27. |
484 | + - Add dm-queue-length: users may want to change from the default selector |
485 | + and should be able to do so. (LP: #1673350) |
486 | + * debian/patches/path_selector.patch, debian/patches/series: remove |
487 | + path_selector.patch to get back to the "right" default selector of |
488 | + service-time, which has been included in the kernel module packages for |
489 | + a while now and has better throughput than round-robin. It's also the |
490 | + default upstream. (LP: #1634161) |
491 | + |
492 | + -- Mathieu Trudel-Lapierre <cyphermox@ubuntu.com> Fri, 17 Mar 2017 09:37:36 -0400 |
493 | + |
494 | +multipath-tools (0.6.4-3ubuntu1) zesty; urgency=medium |
495 | + |
496 | + * Merge from Debian. (LP: #1621340, LP: #1645274) Remaining changes: |
497 | + - d/control: |
498 | + - Bump udev dependencies |
499 | + - multipath-udeb: add sg3-udeb Depends |
500 | + - d/rules: Move udev rules to priority 95, because rules that load modules |
501 | + should be >90. |
502 | + - d/multipath-tools.preinst: modprobe dm-multipath; This will make sure |
503 | + that multipathd will be able to start. |
504 | + - Split kpartx initramfs bits into kpartx-boot for dmraid (LP: #941874) |
505 | + - d/initramfs/kpartx.hook |
506 | + - d/kpartx-boot.postinst |
507 | + - d/kpartx-boot.postrm |
508 | + - d/control: Add kpartx-boot package for dmraid |
509 | + - d/rules: Install kpartx initramfs hook |
510 | + - d/kpartx.install: install all arch /lib* kpartx udev rules |
511 | + - patches (some refreshed to new version) to multipath source |
512 | + - d/p/1000--set-umask-in-multipathd.patch: Set umask in multipathd. |
513 | + - d/p/path_selector.patch: switch the default path selector |
514 | + back to round-robin while service-time isn't available to the installer |
515 | + multipath-modules. |
516 | + - d/p/kpartx_more_loopback_fixes.patch: fix loopback mounted |
517 | + files some more: since we stat() the loopback device node, we can't rely |
518 | + on S_ISREG() tests to handle this case, and should look at the device |
519 | + itself instead. (LP: #1543430) |
520 | + - d/p/enable-find-multipaths.patch: re-enable find_multipaths |
521 | + by default -- see the removed 'add_find-multipaths.patch' (LP: #1463046) |
522 | + - multipath initramfs fixes for booting from multipathed devices |
523 | + - d/initramfs/hooks: also copy wwids file on the installed system to |
524 | + ensure all paths come up on boot. (LP: #1479929) |
525 | + - d/initramfs/hooks: install multipathd and required directories. |
526 | + - d/initramfs/hooks: copy dm-mpath-lvm & multipath udev rules to initramfs |
527 | + - d/initramfs/hooks: do not copy kpartx rules to initramfs |
528 | + - d/initramfs/local-bottom: remember to stop multipathd. |
529 | + - d/initramfs/local-premount: wait for udev to settle before the call to |
530 | + resolve_device() in local_mount_root(), so the by-uuid/ symlinks have a |
531 | + chance to be updated by the multipath udev rules (LP: #1503286). |
532 | + - d/initramfs/local-premount: Run multipath with -B so not to assign names |
533 | + nor change /etc/multipath/bindings during initramfs (LP: #1561103) |
534 | + - d/rules: install d/initramfs/local-bottom |
535 | + - d/rules: install d/initramfs/local-premount |
536 | + - Remove partition device nodes of individual paths (for LVM on multipath) |
537 | + (LP: #1540401) |
538 | + - Disable -fexceptions on multipath-udeb (LP: #1489379): the flag causes |
539 | + libchecktur.so to link with libgcc_s.so.1 (even with -static-libgcc), |
540 | + which is not available in the installer environment. |
541 | + - d/p/disable-fexceptions-udeb.patch: conditionally disable -fexceptions |
542 | + with CFLAGS_DISABLE_FEXCEPTIONS. |
543 | + - d/rules: set CFLAGS_DISABLE_FEXCEPTIONS to build multipath-udeb. |
544 | + - d/tests/kpartx-file-loopback: add an autopkgtest to catch future cases |
545 | + where uploads might break kpartx's loopback file handling. |
546 | + - Remove partition device nodes of individual paths (for LVM on multipath) |
547 | + on the new multipath-tools with udev property blacklisting (LP: #1540401) |
548 | + - d/multipath-tools.dm-mpath-lvm.udev: udev rule for that. |
549 | + - d/initramfs/init-top: load the dm-multipath module for |
550 | + 'multipath -c'. |
551 | + - d/initramfs/init-top: start multipathd before udev (required by |
552 | + 'multipath -u' in the udev rules) |
553 | + - d/rules: install the udev rule (priority 56: after 55-scsi-sg3_id) |
554 | + - d/rules: rename multipath-tools udev to dm-mpath-lvm |
555 | + - d/multipath-tools.dm-mpath-lvm.udev: replace 'multipath -c' with |
556 | + 'multipath -u' which can read udev properties at PROGRAM-rule time |
557 | + (when udev properties are not yet written to the udev database). |
558 | + - Remove d/initramfs/local-top (redundant with other initramfs scripts): |
559 | + - init-top: take over loading modules (dm-multipath and SCSI device |
560 | + handlers); move the missing dm-emc there (now scsi-dh-emc; |
561 | + see BTS 567014). |
562 | + - d/rules: do not install local-top anymore. |
563 | + - remove d/initramfs/local-top |
564 | + - Fixes typo in package description (availibility -> availability) |
565 | + (LP: #1231182) |
566 | + * Add changes: |
567 | + - mark kpartx tests as isolation-machine to avoid issues in e.g. LXD |
568 | + autopkgtest environments (LP: #1644253) |
569 | + - d/t/tgtbasedmpaths add Test using tgt and open-iscsi to excercise |
570 | + multipath |
571 | + - d/control mark transition of file /etc/init.d/multipath-tools-boot |
572 | + according to case #9 of https://wiki.debian.org/PackageTransition |
573 | + * Drop changes: |
574 | + - d/initramfs/local-top: wait for udev to settle before running |
575 | + 'multipath' in order to avoid race condition on device-mapper calls. |
576 | + (file no more used) |
577 | + - d/initramfs/local-top: remove '--timeout 10' which causes my |
578 | + test system to not boot roughly 3 out of 4 times. |
579 | + (file no more used) |
580 | + - d/initramfs/local-top: run multipathd rather than a one-off call to |
581 | + multipath so that new paths can be correctly added as detected while we're |
582 | + still in the initramfs. |
583 | + (file no more used) |
584 | + - Call clean target before rebuilding with systemd support (in Debian) |
585 | + - drop build-dep to dpkg-dev (>= 1.16.1~), libudev-dev" |
586 | + (No more needed) |
587 | + - Bump Standards-Version to 3.9.6 (in Debian) |
588 | + - add / to LIB= of DEB_CFLAGS_MAINT_APPEND (in Debian) |
589 | + - d/p/handle_spaces_in_rev_attr.patch: support IBM IPR devices and others |
590 | + which may have only spaces for the rev attribute. (upstream) |
591 | + - d/p/0015-shared-lock-for-udev.patch: (LP: #1431650) (upstream) |
592 | + - d/p/0053-readonly-bindings_multipathd_prod.patch: support |
593 | + -B to allow multipathd to handle cases where the bindings file is |
594 | + read-only. (upstream) |
595 | + - d/p/git-kpartx-support-spaces-in-dev-names-b407050a.patch: deal with |
596 | + spaces in device names in kpartx too (LP: #1432062) (upstream) |
597 | + - d/p/0001-multipath-tools-fix-dm-device-filtering.patch: Allow |
598 | + filtering of DEV_UEVENT dev_type (LP: #1570093) (upstream) |
599 | + - d/multipath-tools.postinst: handle upgrades from < 0.5.0 by migrating |
600 | + from the old device names with device numbers to using letters for devices. |
601 | + (no relevant upgrade path left) |
602 | + - d/p/mpath_name_migration.patch: ship a multipath_migrate binary |
603 | + to make translation from pre-0.5.0 device naming to the new scheme. |
604 | + (no relevant upgrade path left) |
605 | + - d/initramfs/hooks: use 95 not 60 for multipath rules priority (file not |
606 | + shipped anymore, so no need to touch) |
607 | + |
608 | + -- Christian Ehrhardt <christian.ehrhardt@canonical.com> Fri, 27 Jan 2017 09:09:37 +0100 |
609 | + |
610 | multipath-tools (0.6.4-3) unstable; urgency=medium |
611 | |
612 | * [3eecdba] Include libmpathcmd.so in the udeb package. |
613 | @@ -284,6 +860,164 @@ multipath-tools (0.5.0+git1.656f8865-6) unstable; urgency=medium |
614 | |
615 | -- Ritesh Raj Sarraf <rrs@debian.org> Sat, 12 Mar 2016 17:47:25 +0530 |
616 | |
617 | +multipath-tools (0.5.0+git1.656f8865-5ubuntu7) yakkety; urgency=medium |
618 | + |
619 | + * No-change rebuild for readline soname change. |
620 | + |
621 | + -- Matthias Klose <doko@ubuntu.com> Sat, 17 Sep 2016 12:06:37 +0000 |
622 | + |
623 | +multipath-tools (0.5.0+git1.656f8865-5ubuntu6) yakkety; urgency=medium |
624 | + |
625 | + * Fixes typo in package description (availibility -> availability) |
626 | + (LP: #1231182) |
627 | + |
628 | + -- Hans Joachim Desserud <ubuntu@desserud.org> Sun, 04 Sep 2016 13:19:49 +0200 |
629 | + |
630 | +multipath-tools (0.5.0+git1.656f8865-5ubuntu5) yakkety; urgency=medium |
631 | + |
632 | + [ Dragan Stancevic ] |
633 | + * d/p/0001-multipath-tools-fix-dm-device-filtering.patch : |
634 | + multipath-tools: fix dm- device filtering |
635 | + - Allow filtering of DEV_UEVENT dev_type |
636 | + - Resolves LP: #1570093 |
637 | + - Proper patch included in the source package this time. Previous upload |
638 | + only had the changelog entry. |
639 | + |
640 | + -- Louis Bouchard <louis.bouchard@ubuntu.com> Tue, 19 Jul 2016 14:17:14 +0200 |
641 | + |
642 | +multipath-tools (0.5.0+git1.656f8865-5ubuntu4) yakkety; urgency=medium |
643 | + |
644 | + [ Dragan Stancevic ] |
645 | + * multipath-tools: fix dm- device filtering |
646 | + - Allow filtering of DEV_UEVENT dev_type |
647 | + - Resolves LP: #1570093 |
648 | + |
649 | + -- Louis Bouchard <louis.bouchard@ubuntu.com> Mon, 18 Jul 2016 12:37:04 +0200 |
650 | + |
651 | +multipath-tools (0.5.0+git1.656f8865-5ubuntu3) yakkety; urgency=medium |
652 | + |
653 | + * Cherrypick from debian: |
654 | + - Call clean target before rebuilding with systemd support |
655 | + - Call systemd in debian/rules. Also adapt init service |
656 | + aliasing. |
657 | + - Should resolve LP: #1578638, LP: #1589526, LP: #1583563. |
658 | + |
659 | + -- Dimitri John Ledkov <xnox@ubuntu.com> Thu, 16 Jun 2016 11:53:33 +0300 |
660 | + |
661 | +multipath-tools (0.5.0+git1.656f8865-5ubuntu2) xenial; urgency=medium |
662 | + |
663 | + [ Mauricio Faria de Oliveira ] |
664 | + * Remove partition device nodes of individual paths (for LVM on multipath) |
665 | + on the new multipath-tools with udev property blacklisting (LP: #1540401) |
666 | + - debian/multipath-tools.dm-mpath-lvm.udev: replace 'multipath -c' with |
667 | + 'multipath -u' which can read udev properties at PROGRAM-rule time |
668 | + (when udev properties are not yet written to the udev database). |
669 | + - debian/initramfs/init-top: start multipathd before udev (required by |
670 | + 'multipath -u' in the udev rules) |
671 | + - debian/initramfs/local-top: remove snippet to start multipathd. |
672 | + * Remove debian/initramfs/local-top (redundant with other initramfs scripts): |
673 | + - init-top: start multipathd. |
674 | + - init-top: load modules (dm-multipath and SCSI device handlers); move the |
675 | + missing dm-emc there (now scsi-dh-emc; see BTS 567014). |
676 | + - local-premount: settle on udev events; and the extra call due to |
677 | + multipath discovery in udev rules is no longer required with multipathd |
678 | + in initramfs. |
679 | + - debian/rules: do not install local-top anymore. |
680 | + * debian/initramfs/local-premount: run multipath with -B so not to assign |
681 | + names nor change /etc/multipath/bindings during initramfs (LP: #1561103) |
682 | + * debian/patches/enable-find-multipaths.patch: re-enable find_multipaths |
683 | + by default -- see the removed 'add_find-multipaths.patch' (LP: #1463046) |
684 | + |
685 | + -- Mathieu Trudel-Lapierre <cyphermox@ubuntu.com> Mon, 04 Apr 2016 22:36:48 -0400 |
686 | + |
687 | +multipath-tools (0.5.0+git1.656f8865-5ubuntu1) xenial; urgency=medium |
688 | + |
689 | + * Merge from Debian. (LP: #1551952) (LP: #1540407) |
690 | + Remaining changes: |
691 | + - debian/control: |
692 | + - Bump debhelper dependency to install udev rules to |
693 | + /lib/udev/rules.d |
694 | + - Bump udev dependencies as well |
695 | + - debian/control: |
696 | + - multipath-tools: add sg3-utils-dev Depends |
697 | + - multipath-udeb: add sg3-udeb Depends |
698 | + - debian/initramfs/hooks: use 95 not 60 for multipath rules priority |
699 | + - debian/rules: Move udev rules to priority 95, because rules that load modules should be >90. |
700 | + - debian/multipath-tools.preinst: modprobe dm-multipath. |
701 | + This will make sure that multipathd will be able to start. |
702 | + - debian/initramfs/local-top: wait for udev to settle before running |
703 | + 'multipath' in order to avoid race condition on device-mapper calls. |
704 | + - debian/initramfs/local-top: remove '--timeout 10' which causes my |
705 | + test system to not boot roughly 3 out of 4 times. |
706 | + - Split kpartx initramfs bits into kpartx-boot for dmraid (LP: #941874) |
707 | + - debian/initramfs/kpartx.hook |
708 | + - debian/kpartx-boot.postinst |
709 | + - debian/kpartx-boot.postrm |
710 | + - debian/kpartx.install |
711 | + - debian/control: Add kpartx-boot package for dmraid |
712 | + - debian/rules: Install kpartx initramfs hook |
713 | + - debian/patches/1000--set-umask-in-multipathd.patch: Set umask in multipathd. |
714 | + - debian/patches/handle_spaces_in_rev_attr.patch: support IBM IPR devices |
715 | + and others which may have only spaces for the rev attribute. |
716 | + - debian/patches/path_selector.patch: switch the default path selector |
717 | + back to round-robin while service-time isn't available to the installer |
718 | + multipath-modules. |
719 | + - debian/patches/0015-shared-lock-for-udev.patch: (LP: #1431650) |
720 | + - debian/initramfs/hooks: also copy wwids file on the installed system to |
721 | + ensure all paths come up on boot. (LP: #1479929) |
722 | + - Disable -fexceptions on multipath-udeb (LP: #1489379): the flag causes |
723 | + libchecktur.so to link with libgcc_s.so.1 (even with -static-libgcc), |
724 | + which is not available in the installer environment. |
725 | + - debian/patches/disable-fexceptions-udeb.patch: conditionally disable |
726 | + -fexceptions with CFLAGS_DISABLE_FEXCEPTIONS. |
727 | + - debian/rules: set CFLAGS_DISABLE_FEXCEPTIONS to build multipath-udeb. |
728 | + - debian/patches/handle_spaces_in_rev_attr.patch: update patch to apply the |
729 | + change to the right line (LP: #1492425) |
730 | + - debian/initramfs/local-premount: wait for udev to settle before the call |
731 | + to resolve_device() in local_mount_root(), so the by-uuid/ symlinks have |
732 | + a chance to be updated by the multipath udev rules (LP: #1503286). |
733 | + - debian/multipath-tools.postinst: handle upgrades from < 0.5.0 by migrating |
734 | + from the old device names with device numbers to using letters for devices. |
735 | + - debian/patches/mpath_name_migration.patch: ship a multipath_migrate binary |
736 | + to make translation from pre-0.5.0 device naming to the new scheme. |
737 | + - debian/initramfs/hooks: install multipathd and required directories. |
738 | + - debian/initramfs/local-premount: reload all maps to make sure they're |
739 | + indeed loaded and ready before we end premount. |
740 | + - debian/initramfs/local-top: run multipathd rather than a one-off call to |
741 | + multipath so that new paths can be correctly added as detected while we're |
742 | + still in the initramfs. |
743 | + - debian/initramfs/local-bottom: remember to stop multipathd. |
744 | + - debian/rules: install debian/initramfs/local-bottom |
745 | + - debian/patches/0053-readonly-bindings_multipathd_prod.patch: support -B to |
746 | + allow multipathd to handle cases where the bindings file is read-only. |
747 | + (LP: #1526984) |
748 | + - debian/patches/git-kpartx-support-spaces-in-dev-names-b407050a.patch: deal |
749 | + with spaces in device names in kpartx too (LP: #1432062) |
750 | + - debian/tests/kpartx-file-loopback: add an autopkgtest to catch future cases |
751 | + where uploads might break kpartx's loopback file handling. |
752 | + - debian/patches/kpartx_more_loopback_fixes.patch: fix loopback mounted |
753 | + files some more: since we stat() the loopback device node, we can't rely |
754 | + on S_ISREG() tests to handle this case, and should look at the device |
755 | + itself instead. (LP: #1543430) |
756 | + - Remove partition device nodes of individual paths (for LVM on multipath) |
757 | + (LP: #1540401) |
758 | + - debian/multipath-tools.dm-mpath-lvm.udev: udev rule for that. |
759 | + - debian/initramfs/hooks: copy the udev rule and partx to the initramfs. |
760 | + - debian/initramfs/init-top: load the dm-multipath module for 'multipath -c'. |
761 | + - debian/rules: install the udev rule (priority 56: after 55-scsi-sg3_id) |
762 | + - debian/rules: don't ship 95-multipath.rules udev rules anymore; they are |
763 | + not necessary with multipath-tools listening for udev events directly. |
764 | + * Drop changes: |
765 | + - debian/patches/series: Drop obsolete patches already included upstream |
766 | + - debian/patches/ignore_devices_nodename_fail.patch |
767 | + - debian/patches/skip_usb_devices.patch |
768 | + - debian/patches/0014-kpartx-long-path.patch |
769 | + - debian/patches/0052-readonly-bindings_multipathd.patch |
770 | + - debian/patches/add_find-multipaths.patch |
771 | + - debian/patches/dm-multipath-backlist-nvme-5c412e47.patch |
772 | + |
773 | + -- Ryan Harper <ryan.harper@canonical.com> Wed, 09 Mar 2016 10:21:26 -0600 |
774 | + |
775 | multipath-tools (0.5.0+git1.656f8865-5) unstable; urgency=medium |
776 | |
777 | * [e91ac62] Fix build to properly generate the arch-independent |
778 | @@ -374,6 +1108,190 @@ multipath-tools (0.5.0+git0.770e6d0d-1) experimental; urgency=medium |
779 | |
780 | -- Ritesh Raj Sarraf <rrs@debian.org> Sun, 09 Aug 2015 14:42:48 +0530 |
781 | |
782 | +multipath-tools (0.5.0-7ubuntu16) xenial; urgency=medium |
783 | + |
784 | + * debian/patches/dm-multipath-backlist-nvme-5c412e47.patch: blacklist NVMe |
785 | + from multipath, otherwise kpartx calls will hang. This is because mpath |
786 | + works at the request level (which NVMe bypasses), so multipathing is not |
787 | + supported on NVMe. (LP: #1551828) |
788 | + |
789 | + -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Tue, 01 Mar 2016 11:55:13 -0500 |
790 | + |
791 | +multipath-tools (0.5.0-7ubuntu15) xenial; urgency=medium |
792 | + |
793 | + [ Mauricio Faria de Oliveira ] |
794 | + * Remove partition device nodes of individual paths (for LVM on multipath) |
795 | + (LP: #1540401) |
796 | + - debian/multipath-tools.dm-mpath-lvm.udev: udev rule for that. |
797 | + - debian/initramfs/hooks: copy the udev rule and partx to the initramfs. |
798 | + - debian/initramfs/init-top: load the dm-multipath module for 'multipath -c'. |
799 | + - debian/rules: install the udev rule (priority 56: after 55-scsi-sg3_id) |
800 | + * debian/rules: don't ship 95-multipath.rules udev rules anymore; they are |
801 | + not necessary with multipath-tools listening for udev events directly. |
802 | + |
803 | + -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Thu, 11 Feb 2016 19:08:14 -0500 |
804 | + |
805 | +multipath-tools (0.5.0-7ubuntu14) xenial; urgency=medium |
806 | + |
807 | + * debian/patches/kpartx_more_loopback_fixes.patch: fix loopback mounted |
808 | + files some more: since we stat() the loopback device node, we can't rely |
809 | + on S_ISREG() tests to handle this case, and should look at the device |
810 | + itself instead. (LP: #1543430) |
811 | + * debian/tests/kpartx-file-loopback: check for left-over loop devices after |
812 | + deleting a map. |
813 | + |
814 | + -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Tue, 09 Feb 2016 15:24:27 -0500 |
815 | + |
816 | +multipath-tools (0.5.0-7ubuntu13) xenial; urgency=medium |
817 | + |
818 | + * Check that losetup -f is the same in the autopkgtest, after a cycle of |
819 | + kpartx -a/-d. Looks like it's currently failing to cleanup loop0 in |
820 | + addition to cleaning loop0p1. See http://pad.lv/1543430 |
821 | + |
822 | + -- Dimitri John Ledkov <xnox@ubuntu.com> Tue, 09 Feb 2016 06:51:15 +0000 |
823 | + |
824 | +multipath-tools (0.5.0-7ubuntu12) xenial; urgency=medium |
825 | + |
826 | + * Use synchronous kpartx calls in the adt tests, to hopefully avoid |
827 | + kernel/userspace races which result in failure to remove mapped |
828 | + partitions. Also invoke udevadm settle. |
829 | + |
830 | + -- Dimitri John Ledkov <xnox@ubuntu.com> Tue, 02 Feb 2016 20:26:34 +0000 |
831 | + |
832 | +multipath-tools (0.5.0-7ubuntu11) xenial; urgency=medium |
833 | + |
834 | + * debian/patches/git-kpartx-support-spaces-in-dev-names-b407050a.patch: fixup |
835 | + to correct deal with loopback-mounting files. (LP: #1540660) |
836 | + * debian/patches/mpath_name_migration.patch: make sure multipath_migrate gets |
837 | + cleaned up otherwise running debuild twice will fail. |
838 | + * debian/tests/kpartx-file-loopback: add an autopkgtest to catch future cases |
839 | + where uploads might break kpartx's loopback file handling. |
840 | + |
841 | + -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Mon, 01 Feb 2016 23:27:08 -0500 |
842 | + |
843 | +multipath-tools (0.5.0-7ubuntu10) xenial; urgency=medium |
844 | + |
845 | + * debian/patches/0052-readonly-bindings_multipathd.patch, |
846 | + debian/patches/0053-readonly-bindings_multipathd_prod.patch: support -B to |
847 | + allow multipathd to handle cases where the bindings file is read-only. |
848 | + (LP: #1526984) |
849 | + * debian/initramfs/hooks: install multipathd and required directories. |
850 | + * debian/initramfs/local-bottom, debian/rules: install local-bottom for |
851 | + initramfs. |
852 | + * debian/initramfs/local-premount: reload all maps to make sure they're |
853 | + indeed loaded and ready before we end premount. |
854 | + * debian/initramfs/local-top: run multipathd rather than a one-off call to |
855 | + multipath so that new paths can be correctly added as detected while we're |
856 | + still in the initramfs. |
857 | + * debian/initramfs/local-bottom: remember to stop multipathd. |
858 | + * debian/patches/git-kpartx-support-spaces-in-dev-names-b407050a.patch: deal |
859 | + with spaces in device names in kpartx too (LP: #1432062) |
860 | + |
861 | + -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Wed, 27 Jan 2016 10:42:51 -0500 |
862 | + |
863 | +multipath-tools (0.5.0-7ubuntu9) xenial; urgency=medium |
864 | + |
865 | + * d/p/lp1503305_libmultipath_info_on_1st_path_down_dbd131e.patch: |
866 | + Correctly display the vendor/model info on path line in output if the |
867 | + first path of a path group is failed. (LP: #1503305) |
868 | + |
869 | + -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Tue, 03 Nov 2015 18:34:09 -0600 |
870 | + |
871 | +multipath-tools (0.5.0-7ubuntu8) xenial; urgency=medium |
872 | + |
873 | + * debian/multipath-tools.postinst: handle upgrades from < 0.5.0 by migrating |
874 | + from the old device names with device numbers to using letters for devices. |
875 | + * debian/patches/mpath_name_migration.patch: ship a multipath_migrate binary |
876 | + to make translation from pre-0.5.0 device naming to the new scheme. |
877 | + |
878 | + -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Thu, 22 Oct 2015 12:38:45 +0100 |
879 | + |
880 | +multipath-tools (0.5.0-7ubuntu7) wily; urgency=medium |
881 | + |
882 | + [ Mauricio Faria de Oliveira ] |
883 | + * debian/initramfs/local-premount: wait for udev to settle before the call |
884 | + to resolve_device() in local_mount_root(), so the by-uuid/ symlinks have |
885 | + a chance to be updated by the multipath udev rules (LP: #1503286). |
886 | + |
887 | + -- Steve Langasek <steve.langasek@ubuntu.com> Mon, 19 Oct 2015 22:56:58 -0700 |
888 | + |
889 | +multipath-tools (0.5.0-7ubuntu6) wily; urgency=medium |
890 | + |
891 | + * debian/patches/handle_spaces_in_rev_attr.patch: update patch to apply the |
892 | + change to the right line (LP: #1492425) |
893 | + |
894 | + -- Mauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com> Fri, 18 Sep 2015 10:16:50 -0400 |
895 | + |
896 | +multipath-tools (0.5.0-7ubuntu5) wily; urgency=medium |
897 | + |
898 | + * debian/patches/0014-kpartx-long-path.patch: have kpartx match loopback |
899 | + files by device and inode rather than by path, as paths are not complete |
900 | + enough to do specific matching for long paths (> 64 chars) or relative |
901 | + paths. (LP: #1469143) |
902 | + |
903 | + -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Thu, 17 Sep 2015 11:10:38 -0400 |
904 | + |
905 | +multipath-tools (0.5.0-7ubuntu4) wily; urgency=medium |
906 | + |
907 | + * Disable -fexceptions on multipath-udeb (LP: #1489379): the flag causes |
908 | + libchecktur.so to link with libgcc_s.so.1 (even with -static-libgcc), |
909 | + which is not available in the installer environment. |
910 | + - debian/patches/disable-fexceptions-udeb.patch: conditionally disable |
911 | + -fexceptions with CFLAGS_DISABLE_FEXCEPTIONS. |
912 | + - debian/rules: set CFLAGS_DISABLE_FEXCEPTIONS to build multipath-udeb. |
913 | + |
914 | + -- Mauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com> Thu, 03 Sep 2015 07:29:59 -0400 |
915 | + |
916 | +multipath-tools (0.5.0-7ubuntu3) wily; urgency=medium |
917 | + |
918 | + * debian/initramfs/hooks: also copy wwids file on the installed system to |
919 | + ensure all paths come up on boot. (LP: #1479929) |
920 | + |
921 | + -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Thu, 30 Jul 2015 16:34:28 -0400 |
922 | + |
923 | +multipath-tools (0.5.0-7ubuntu2) wily; urgency=medium |
924 | + |
925 | + * debian/patches/add_find-multipaths.patch: properly handle local non-mpath |
926 | + devices. (LP: #1463046) |
927 | + * debian/patches/ignore_devices_nodename_fail.patch: ignore devices for which |
928 | + sysfs_get_tgt_nodename fails. |
929 | + * debian/patches/skip_usb_devices.patch: skip USB devices during discovery. |
930 | + (LP: #1468897) |
931 | + |
932 | + -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Fri, 10 Jul 2015 15:53:37 -0400 |
933 | + |
934 | +multipath-tools (0.5.0-7ubuntu1) wily; urgency=medium |
935 | + |
936 | + * Merge from debian unstable, remaining changes: (LP: #1455482) |
937 | + - control: |
938 | + * Bump debhelper dependency to install udev rules to |
939 | + /lib/udev/rules.d, bump udev dependencies as well. |
940 | + - initramfs/hooks: use 95 not 60 for multipath rules priority |
941 | + - multipath-tools-boot.init: remove in favor of kpartx.udev rules (at top) |
942 | + - multipath-tools.preinst: modprobe dm-multipath. |
943 | + This will make sure that multipathd will be able to start. |
944 | + - patches/1000--set-umask-in-multipathd.patch: Set umask in multipathd. |
945 | + - rules: Move udev rules to priority 95, because rules that load |
946 | + modules should be >90. |
947 | + - debian/initramfs/local-top: wait for udev to settle before running |
948 | + 'multipath' in order to avoid race condition on device-mapper calls. |
949 | + - debian/initramfs/local-top: remove '--timeout 10' which causes my |
950 | + test system to not boot roughly 3 out of 4 times. |
951 | + - Split kpartx initramfs bits into kpartx-boot for dmraid (LP: #941874) |
952 | + - Added debian/patches/0015-shared-lock-for-udev.patch (LP: #1431650) |
953 | + * debian/patches/0015-libmultipath-property-whitelist-SCSI_IDENT.patch: add |
954 | + SCSI_IDENT_* properties to blacklist exceptions, so that we can have QEMU |
955 | + multipathed devices as well as others (IBM IPR) detected properly as |
956 | + multipathed devices. |
957 | + * debian/patches/handle_spaces_in_rev_attr.patch: support IBM IPR devices |
958 | + and others which may have only spaces for the rev attribute. |
959 | + * debian/patches/path_selector.patch: switch the default path selector |
960 | + back to round-robin while service-time isn't available to the installer |
961 | + multipath-modules. |
962 | + * debian/control: add sg3-udeb to multipath-udeb Depends. |
963 | + |
964 | + -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Mon, 06 Jul 2015 13:15:22 -0400 |
965 | + |
966 | multipath-tools (0.5.0-7) unstable; urgency=medium |
967 | |
968 | * [15ecad9] Add dm-service-time path checker. |
969 | @@ -525,6 +1443,100 @@ multipath-tools (0.4.9+git0.4dfdaf2b-1) experimental; urgency=low |
970 | |
971 | -- Ritesh Raj Sarraf <rrs@debian.org> Fri, 10 Feb 2012 18:25:29 +0530 |
972 | |
973 | +multipath-tools (0.4.9-3ubuntu12) vivid; urgency=medium |
974 | + |
975 | + [ Mauricio Faria de Oliveira ] |
976 | + * Support disks with non 512-byte sectors (LP: #1441930) |
977 | + - Added 0016-kpartx-non-512B-GPT.patch |
978 | + - Added 0017-kpartx-non-512B-sectors.patch |
979 | + |
980 | + [ Mathieu Trudel-Lapierre ] |
981 | + * debian/patches/0018-ext-part-gt-512B-sectors.patch: fix extended partition |
982 | + size for > 512B sectors. Patch cherry-picked from git commit 7202f225. |
983 | + |
984 | + -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Mon, 13 Apr 2015 09:23:29 -0500 |
985 | + |
986 | +multipath-tools (0.4.9-3ubuntu11) vivid; urgency=medium |
987 | + |
988 | + [ Mauricio Faria de Oliveira ] |
989 | + * Added debian/patches/0015-shared-lock-for-udev.patch (LP: #1431650) |
990 | + * debian/initramfs/local-top: wait for udev to settle before running |
991 | + 'multipath' in order to avoid race condition on device-mapper calls. |
992 | + |
993 | + [ Mathieu Trudel-Lapierre ] |
994 | + * Drop scsi_wait_scan from the multipath initramfs script: that module |
995 | + no longer exists. |
996 | + |
997 | + -- Mathieu Trudel-Lapierre <mathieu-tl@ubuntu.com> Mon, 23 Mar 2015 14:56:37 -0400 |
998 | + |
999 | +multipath-tools (0.4.9-3ubuntu10) utopic; urgency=medium |
1000 | + |
1001 | + * 1002-fix-linking-library.patch: Move $(LIBDEPS) to the end of the |
1002 | + link line to fix underlinking with ld --as-needed (LP: #1004243) |
1003 | + |
1004 | + -- Adam Conrad <adconrad@ubuntu.com> Mon, 13 Oct 2014 07:47:07 -0600 |
1005 | + |
1006 | +multipath-tools (0.4.9-3ubuntu9) utopic; urgency=medium |
1007 | + |
1008 | + * Added 0011-libmultipath-update-waiter-handling.patch (LP: #1354114) |
1009 | + * Added 0012-Race-condition-when-calling-stop_waiter_thread.patch (LP: #1354114) |
1010 | + * Added 0013-multipath-clean-up-code-for-stopping-the-waiter-thre.patch (LP: #1354114) |
1011 | + * Added 0014-Fix-race-condition-in-stop_waiter_thread.patch (LP: #1354114) |
1012 | + |
1013 | + -- Rafael David Tinoco <rafael.tinoco@canonical.com> Tue, 02 Sep 2014 15:43:38 -0700 |
1014 | + |
1015 | +multipath-tools (0.4.9-3ubuntu8) utopic; urgency=medium |
1016 | + |
1017 | + * Remove RUN+="socket:" statement in rules file since it is |
1018 | + no longer supported after version 178 (LP: #1240049) |
1019 | + |
1020 | + -- Seyeong Kim <seyeong.kim@canonical.com> Fri, 18 Jul 2014 10:37:35 +0200 |
1021 | + |
1022 | +multipath-tools (0.4.9-3ubuntu7) raring; urgency=low |
1023 | + |
1024 | + * Add 0010-fix-extended-partitions.patch: Only expose the |
1025 | + first two sectors of the extended partition (LP: #1093918). |
1026 | + |
1027 | + -- Phillip Susi <psusi@ubuntu.com> Fri, 04 Jan 2013 16:14:34 -0500 |
1028 | + |
1029 | +multipath-tools (0.4.9-3ubuntu6) quantal; urgency=low |
1030 | + |
1031 | + * Rebuild for new armel compiler default of ARMv5t. |
1032 | + |
1033 | + -- Colin Watson <cjwatson@ubuntu.com> Fri, 05 Oct 2012 14:00:37 +0100 |
1034 | + |
1035 | +multipath-tools (0.4.9-3ubuntu5) precise; urgency=low |
1036 | + |
1037 | + * Split kpartx initramfs bits into kpartx-boot for dmraid (LP: #941874) |
1038 | + |
1039 | + -- Phillip Susi <psusi@ubuntu.com> Tue, 20 Mar 2012 15:26:22 -0400 |
1040 | + |
1041 | +multipath-tools (0.4.9-3ubuntu4) precise; urgency=low |
1042 | + |
1043 | + * Restore multipath-udeb dependency on multipath-modules (LP: #959749). |
1044 | + |
1045 | + -- Colin Watson <cjwatson@ubuntu.com> Wed, 21 Mar 2012 14:34:01 +0000 |
1046 | + |
1047 | +multipath-tools (0.4.9-3ubuntu3) precise; urgency=low |
1048 | + |
1049 | + * Move kpartx from multipath-udeb to a new kpartx-udeb package |
1050 | + (LP: #922646). |
1051 | + |
1052 | + -- Colin Watson <cjwatson@ubuntu.com> Fri, 27 Jan 2012 23:04:23 +0000 |
1053 | + |
1054 | +multipath-tools (0.4.9-3ubuntu2) precise; urgency=low |
1055 | + |
1056 | + * Add 0009-fix-delim.patch: The 'p' delimiter was being added |
1057 | + when it shouldn't. |
1058 | + |
1059 | + -- Phillip Susi <psusi@ubuntu.com> Sun, 08 Jan 2012 20:57:47 -0500 |
1060 | + |
1061 | +multipath-tools (0.4.9-3ubuntu1) precise; urgency=low |
1062 | + |
1063 | + * Merge with Debian (for remaining changes, see 0.4.9-2ubuntu1). |
1064 | + |
1065 | + -- Matthias Klose <doko@ubuntu.com> Sun, 04 Dec 2011 21:32:48 +0100 |
1066 | + |
1067 | multipath-tools (0.4.9-3) unstable; urgency=low |
1068 | |
1069 | * [dd85b8b] Add example to kpartx manpage. Committed upstream. |
1070 | @@ -538,6 +1550,36 @@ multipath-tools (0.4.9-3) unstable; urgency=low |
1071 | |
1072 | -- Ritesh Raj Sarraf <rrs@debian.org> Sat, 03 Dec 2011 19:34:59 +0530 |
1073 | |
1074 | +multipath-tools (0.4.9-2ubuntu1) oneiric; urgency=low |
1075 | + |
1076 | + * Merge from debian unstable, remaining changes: |
1077 | + - control: |
1078 | + * Bump debhelper dependency to install udev rules to |
1079 | + /lib/udev/rules.d, bump udev dependencies as well. |
1080 | + * multipath-udeb must not depend on multipath-modules, |
1081 | + because the Ubuntu kernel already includes the modules and no |
1082 | + package provides m-m. |
1083 | + - initramfs/hooks: use 95 not 60 for multipath rules priority |
1084 | + - multipath-tools-boot.init: remove in favor of kpartx.udev rules (at top) |
1085 | + - kpartx.udev: |
1086 | + * add rule to load dm-multipath |
1087 | + * use whole path when running /usr/lib/dmsetup_env |
1088 | + * call kpartx through dmsetup for mpath-* devices |
1089 | + * switch $name for $kernel for dmraid rule |
1090 | + - multipath-tools.preinst: modprobe dm-multipath. |
1091 | + This will make sure that multipathd will be able to start. |
1092 | + - patches/1000--set-umask-in-multipathd.patch: Set umask in multipathd. |
1093 | + - rules: Move udev rules to priority 95, because rules that load |
1094 | + modules should be >90. |
1095 | + - Have initramfs local-top start with scsi_wait_scan, and make sure all |
1096 | + devices have been found before bothering to call udevadm settle. |
1097 | + - debian/initramfs/local-top: wait for scsi_wait_scan |
1098 | + * *.install: use /lib*/ instead of /lib/ to catch /lib64 |
1099 | + * debian/initramfs/local-top: remove '--timeout 10' which causes my |
1100 | + test system to not boot roughly 3 out of 4 times. |
1101 | + |
1102 | + -- Serge Hallyn <serge.hallyn@ubuntu.com> Mon, 06 Jun 2011 12:31:23 -0500 |
1103 | + |
1104 | multipath-tools (0.4.9-2) unstable; urgency=low |
1105 | |
1106 | * [2544655] wait harder for multipath init. Thanks to Serge Hallyn for |
1107 | @@ -712,6 +1754,108 @@ multipath-tools (0.4.8-15) unstable; urgency=low |
1108 | |
1109 | -- Guido Günther <agx@sigxcpu.org> Mon, 06 Apr 2009 19:36:25 +0200 |
1110 | |
1111 | +multipath-tools (0.4.8-14ubuntu11) oneiric; urgency=low |
1112 | + |
1113 | + * Fixes some return logic issues in the blacklist.c:_filter_path function |
1114 | + where using blacklist and blacklist_exceptions would cause multipathd to |
1115 | + improperly filter paths. (LP: #789229) |
1116 | + - The patch was created by Christophe Varoqui in 2007. |
1117 | + + http://www.redhat.com/archives/dm-devel/2007-November/msg00054.html |
1118 | + + 0013-libmultipath-filter_path-fix_blacklist_filter_exit.patch |
1119 | + - [serge-hallyn] swap in the whole upstream git commit and call it |
1120 | + 0013-blacklist_exception_issues.patch. |
1121 | + |
1122 | + -- Craig Magina <craig.magina@canonical.com> Fri, 27 May 2011 11:47:19 -0400 |
1123 | + |
1124 | +multipath-tools (0.4.8-14ubuntu10) natty; urgency=low |
1125 | + |
1126 | + * pass '-p part' to kpartx in initramfs script, not '-p p', to |
1127 | + make sure /dev/mapper/ names are formed as expected. (LP: #712840) |
1128 | + |
1129 | + -- Serge Hallyn <serge.hallyn@ubuntu.com> Thu, 03 Feb 2011 18:40:36 -0600 |
1130 | + |
1131 | +multipath-tools (0.4.8-14ubuntu9) natty; urgency=low |
1132 | + |
1133 | + * Fix segv caused by race condition with free_waiter threads during |
1134 | + shutdown, using backport from upstream. (LP: #713237) |
1135 | + |
1136 | + -- dann frazier <dann.frazier@canonical.com> Thu, 03 Feb 2011 16:37:10 -0700 |
1137 | + |
1138 | +multipath-tools (0.4.8-14ubuntu8) natty; urgency=low |
1139 | + |
1140 | + * Fix segv on shutdown when log buffer is empty, using patch cherry-picked |
1141 | + from upstream. (LP: #488285) |
1142 | + |
1143 | + -- Serge Hallyn <serge.hallyn@ubuntu.com> Tue, 01 Feb 2011 15:38:36 -0600 |
1144 | + |
1145 | +multipath-tools (0.4.8-14ubuntu7) natty; urgency=low |
1146 | + |
1147 | + * Add patch to fix the expected pathname from multipath uevents |
1148 | + (LP: #660597) |
1149 | + |
1150 | + -- Serge Hallyn <serge.hallyn@ubuntu.com> Tue, 04 Jan 2011 16:06:29 -0600 |
1151 | + |
1152 | +multipath-tools (0.4.8-14ubuntu6) natty; urgency=low |
1153 | + |
1154 | + * Fix in debian/kpartx.udev: |
1155 | + - modprobe -q instead of incorrect modprobe -Q (LP: #644481) |
1156 | + |
1157 | + -- Serge Hallyn <serge.hallyn@ubuntu.com> Tue, 04 Jan 2011 15:58:13 -0600 |
1158 | + |
1159 | +multipath-tools (0.4.8-14ubuntu5) natty; urgency=low |
1160 | + |
1161 | + * Make the initramfs local-top script wait until all devices |
1162 | + are mapped, to make sure no /dev/sd* get mounted before |
1163 | + multipath has a chance to take it. (LP: #686832) |
1164 | + |
1165 | + -- Serge Hallyn <serge.hallyn@ubuntu.com> Tue, 04 Jan 2011 15:55:48 -0600 |
1166 | + |
1167 | +multipath-tools (0.4.8-14ubuntu4) lucid; urgency=low |
1168 | + |
1169 | + * debian/control: Move libreadline5-dev build dependency to libreadline-dev. |
1170 | + (Already done in Debian). |
1171 | + |
1172 | + -- Martin Pitt <martin.pitt@ubuntu.com> Mon, 08 Mar 2010 14:50:04 +0100 |
1173 | + |
1174 | +multipath-tools (0.4.8-14ubuntu3) lucid; urgency=low |
1175 | + |
1176 | + * Support failback for Intel Modular Server (LP: #520309). |
1177 | + |
1178 | + -- Colin Watson <cjwatson@ubuntu.com> Fri, 12 Feb 2010 12:21:42 +0000 |
1179 | + |
1180 | +multipath-tools (0.4.8-14ubuntu2) jaunty; urgency=low |
1181 | + |
1182 | + * debian/kpartx.udev: Let dmsetup run kpartx, since $kernel doesn't map |
1183 | + right. |
1184 | + * debian/initramfs/hooks: Include /lib/udev/kpartx_id. |
1185 | + |
1186 | + -- Timo Aaltonen <tjaalton@ubuntu.com> Tue, 10 Mar 2009 11:54:01 +0200 |
1187 | + |
1188 | +multipath-tools (0.4.8-14ubuntu1) jaunty; urgency=low |
1189 | + |
1190 | + * Merge from debian unstable, remaining changes: |
1191 | + - control: |
1192 | + + Bump debhelper dependency to install udev rules to |
1193 | + /lib/udev/rules.d, bump udev dependencies as well. |
1194 | + + multipath-udeb must not depend on multipath-modules, |
1195 | + because the Ubuntu kernel already includes the modules and no |
1196 | + package provides m-m. |
1197 | + - initramfs/hooks: Install rules from /lib/udev/rules.d. |
1198 | + - kpartx.udev, multipath-tools-boot.init: |
1199 | + Replace multipath-tools-boot init script with udev rules. |
1200 | + - multipath-tools.preinst: Fix preinst script to modprobe dm-multipath. |
1201 | + This will make sure that multipathd will be able to start. |
1202 | + - multipath-tools.prerm: Add prerm script to not fail when upgrading |
1203 | + from a broken version of multipathd. |
1204 | + - patches/1000--set-umask-in-multipathd.patch: Set umask in multipathd. |
1205 | + - rules: Move udev rules to priority 95, because rules that load |
1206 | + modules should be >90. |
1207 | + * Fix bugs (LP: #316851, #320156) |
1208 | + * multipath-tools.prerm/preinst: Remove checks for old ubuntu |
1209 | + versions, we don't support upgrading from them anymore. |
1210 | + |
1211 | + -- Timo Aaltonen <tjaalton@ubuntu.com> Thu, 12 Feb 2009 15:07:42 +0200 |
1212 | + |
1213 | multipath-tools (0.4.8-14) unstable; urgency=low |
1214 | |
1215 | * [6dad4a0] kpartx: use uint64_t to account slices start/size based on |
1216 | @@ -774,6 +1918,64 @@ multipath-tools (0.4.8-11) unstable; urgency=low |
1217 | |
1218 | -- Guido Guenther <agx@sigxcpu.org> Wed, 30 Jul 2008 17:59:03 -0400 |
1219 | |
1220 | +multipath-tools (0.4.8-10ubuntu6) jaunty; urgency=low |
1221 | + |
1222 | + * debian/multipath-tools.preinst: Use the same logic as in |
1223 | + hw-detect to determine if dm_multipath is already loaded. |
1224 | + |
1225 | + -- Timo Aaltonen <tjaalton@ubuntu.com> Thu, 15 Jan 2009 23:50:18 +0200 |
1226 | + |
1227 | +multipath-tools (0.4.8-10ubuntu5) jaunty; urgency=low |
1228 | + |
1229 | + * debian/initramfs/hooks: Install from /lib/udev/rules.d |
1230 | + |
1231 | + -- Scott James Remnant <scott@ubuntu.com> Tue, 13 Jan 2009 03:05:02 +0000 |
1232 | + |
1233 | +multipath-tools (0.4.8-10ubuntu4) jaunty; urgency=low |
1234 | + |
1235 | + * Bump debhelper dependency to install udev rules to /lib/udev/rules.d, |
1236 | + bump udev dependencies as well. |
1237 | + |
1238 | + -- Scott James Remnant <scott@ubuntu.com> Mon, 12 Jan 2009 22:03:11 +0000 |
1239 | + |
1240 | +multipath-tools (0.4.8-10ubuntu3) jaunty; urgency=low |
1241 | + |
1242 | + * fix_udev_scsi_id_arguments.diff: |
1243 | + Update the arguments for scsi_id. (LP: #306723) |
1244 | + * fix_sysfs_layout.diff: |
1245 | + Patch from upstream to use the new sysfs layout. (LP: #307032) |
1246 | + |
1247 | + -- Timo Aaltonen <tjaalton@ubuntu.com> Thu, 18 Dec 2008 15:32:20 +0200 |
1248 | + |
1249 | +multipath-tools (0.4.8-10ubuntu2) jaunty; urgency=low |
1250 | + |
1251 | + * debian/control: multipath-udeb must not depend on multipath-modules, |
1252 | + because the Ubuntu kernel already includes the modules and no |
1253 | + package provides m-m. |
1254 | + * debian/multipath-tools.preinst: Don't modprobe dm-multipath |
1255 | + unconditionally, since it'll break during installation (no |
1256 | + modprobe.dep) and when using a monolithic kernel. Instead check for |
1257 | + these conditions. (LP: #182009) |
1258 | + |
1259 | + -- Timo Aaltonen <tepsipakki@ubuntu.com> Tue, 02 Dec 2008 12:28:08 +0200 |
1260 | + |
1261 | +multipath-tools (0.4.8-10ubuntu1) intrepid; urgency=low |
1262 | + |
1263 | + * Merge from debian unstable, remaining changes: |
1264 | + - Replace multipath-tools-boot init script with udev rules in |
1265 | + kpartx.rules. |
1266 | + - Move udev rules to priority 95, and drop call to dmsetup_env. |
1267 | + - Add devices as they appear |
1268 | + - Fix preinst script to modprobe dm-multipath. This will make sure |
1269 | + that multipathd will be able to start. |
1270 | + - Fix init script not to die on stop if multipathd is not running. |
1271 | + - Add prerm script to not fail when upgrading from a broken version of |
1272 | + multipathd. |
1273 | + - Set umask in multipathd. |
1274 | + - Handle udev rules priority change in preinst. |
1275 | + |
1276 | + -- Soren Hansen <soren@ubuntu.com> Thu, 26 Jun 2008 08:55:33 +0200 |
1277 | + |
1278 | multipath-tools (0.4.8-10) unstable; urgency=low |
1279 | |
1280 | * [183da2c] Add russion debconf translation (Closes: #486353) - thanks |
1281 | @@ -807,6 +2009,32 @@ multipath-tools (0.4.8-8) unstable; urgency=low |
1282 | |
1283 | -- Guido Guenther <agx@sigxcpu.org> Sun, 09 Mar 2008 18:55:38 +0100 |
1284 | |
1285 | +multipath-tools (0.4.8-7ubuntu2) hardy; urgency=low |
1286 | + |
1287 | + * Install udev rules in initramfs. |
1288 | + * Use temporary device name for creating partitions using kpartx. |
1289 | + * Big thanks to Dag Stenstad for testing and helping with debugging! |
1290 | + |
1291 | + -- Soren Hansen <soren@ubuntu.com> Wed, 19 Mar 2008 19:07:22 +0100 |
1292 | + |
1293 | +multipath-tools (0.4.8-7ubuntu1) hardy; urgency=low |
1294 | + |
1295 | + * Merge from debian unstable, remaining changes: |
1296 | + - DebianMaintainerField. |
1297 | + - Replace multipath-tools-boot init script with udev rules in |
1298 | + kpartx.rules. |
1299 | + - Move udev rules to priority 95, and drop call to dmsetup_env. |
1300 | + - Add devices as they appear. |
1301 | + - Fix preinst script to modprobe dm-multipath. This will make sure |
1302 | + that multipathd will be able to start. |
1303 | + - Add prerm script to not fail when upgrading from a broken version of |
1304 | + multipathd. |
1305 | + - Set umask in multipathd. |
1306 | + - Handle udev rules priority change in preinst. |
1307 | + * Dropped our hsg80 changes. Kernel handles this correctly now. |
1308 | + |
1309 | + -- Soren Hansen <soren@ubuntu.com> Mon, 28 Jan 2008 11:09:45 +0100 |
1310 | + |
1311 | multipath-tools (0.4.8-7) unstable; urgency=low |
1312 | |
1313 | * add watch file |
1314 | @@ -828,6 +2056,26 @@ multipath-tools (0.4.8-6) unstable; urgency=low |
1315 | |
1316 | -- Guido Guenther <agx@sigxcpu.org> Sat, 01 Dec 2007 15:41:36 +0100 |
1317 | |
1318 | +multipath-tools (0.4.8-5ubuntu1) hardy; urgency=low |
1319 | + |
1320 | + * Merge from debian unstable, remaining changes: |
1321 | + - DebianMaintainerField. |
1322 | + - Suggest sg3-utils, Conflict with sg-utils. |
1323 | + - Replace multipath-tools-boot init script with udev rules in |
1324 | + kpartx.rules. |
1325 | + - Add /sbin/hsg80_start. |
1326 | + - Move udev rules to priority 95, and drop call to dmsetup_env. |
1327 | + - Add devices as they appear |
1328 | + - Fix preinst script to modprobe dm-multipath. This will make sure |
1329 | + that multipathd will be able to start. |
1330 | + - Fix init script not to die on stop if multipathd is not running. |
1331 | + - Add prerm script to not fail when upgrading from a broken version of |
1332 | + multipathd. |
1333 | + - Set umask in multipathd. |
1334 | + - Handle udev rules priority change in preinst. |
1335 | + |
1336 | + -- Soren Hansen <soren@ubuntu.com> Thu, 13 Dec 2007 03:03:31 +0100 |
1337 | + |
1338 | multipath-tools (0.4.8-5) unstable; urgency=low |
1339 | |
1340 | * apply kpartx-fix-udev-dmraid.diff to our shipped udev rules too |
1341 | @@ -942,6 +2190,34 @@ multipath-tools (0.4.7-3) experimental; urgency=low |
1342 | |
1343 | -- Guido Guenther <agx@sigxcpu.org> Fri, 08 Jun 2007 11:51:00 +0200 |
1344 | |
1345 | +multipath-tools (0.4.7-2ubuntu3) gutsy; urgency=low |
1346 | + |
1347 | + * Fix preinst script to modprobe dm-multipath. This will make sure |
1348 | + that multipathd will be able to start. |
1349 | + |
1350 | + * Fix init script not to die on stop if multipathd is not running. |
1351 | + |
1352 | + * Add prerm script to not fail when upgrading from a broken version of |
1353 | + multipathd. |
1354 | + |
1355 | + -- Fabio M. Di Nitto <fabbione@ubuntu.com> Fri, 10 Aug 2007 13:03:39 +0200 |
1356 | + |
1357 | +multipath-tools (0.4.7-2ubuntu2) gutsy; urgency=low |
1358 | + |
1359 | + * Fix udev rule to load dm-multipath. |
1360 | + |
1361 | + -- Fabio M. Di Nitto <fabbione@ubuntu.com> Wed, 13 Jun 2007 11:56:52 +0200 |
1362 | + |
1363 | +multipath-tools (0.4.7-2ubuntu1) gutsy; urgency=low |
1364 | + |
1365 | + * Merge from debian unstable, remaining changes: |
1366 | + - Remove multipath-tools-boot init script in favour of udev rules. |
1367 | + - Update udev rules as described in 0.4.7-1.1ubuntu3. |
1368 | + - Add /sbin/hsg80_start as described in 0.4.7-1.1ubuntu3. |
1369 | + - debian/control Ubuntu maintainer foobar. |
1370 | + |
1371 | + -- Fabio M. Di Nitto <fabbione@ubuntu.com> Wed, 16 May 2007 11:02:20 +0200 |
1372 | + |
1373 | multipath-tools (0.4.7-2) unstable; urgency=low |
1374 | |
1375 | [ Bastian Blank ] |
1376 | @@ -959,6 +2235,42 @@ multipath-tools (0.4.7-2) unstable; urgency=low |
1377 | |
1378 | -- Guido Guenther <agx@sigxcpu.org> Wed, 20 Dec 2006 17:40:59 +0100 |
1379 | |
1380 | +multipath-tools (0.4.7-1.1ubuntu3) feisty; urgency=low |
1381 | + |
1382 | + * Remove multipath-tools-boot init script. |
1383 | + |
1384 | + * Wild changes and updates to udev rules: |
1385 | + - All the hsg80 MULTIBUS FAILOVER are now handled here. |
1386 | + - Fix rule to call kpartx also on "change" udev events. |
1387 | + - Invoke multipath -v 0 device to make sure we hot plug |
1388 | + all devices into multipath. |
1389 | + |
1390 | + * Add /sbin/hsg80_start that wraps all the work to make an hsg80 in |
1391 | + MULTIBUS FAILOVER working properly. |
1392 | + This is automatically called by udev. |
1393 | + |
1394 | + (Closes LP: #98518) |
1395 | + |
1396 | + -- Fabio M. Di Nitto <fabbione@ubuntu.com> Wed, 04 Apr 2007 08:17:48 +0200 |
1397 | + |
1398 | +multipath-tools (0.4.7-1.1ubuntu2) feisty; urgency=low |
1399 | + |
1400 | + * Remove devmap_name from this package, and Depend on dmsetup instead. |
1401 | + Fixes file overwrite conflict with dmsetup. (LP 84894.) |
1402 | + |
1403 | + -- Ian Jackson <iwj@ubuntu.com> Tue, 13 Feb 2007 16:16:46 +0000 |
1404 | + |
1405 | +multipath-tools (0.4.7-1.1ubuntu1) feisty; urgency=low |
1406 | + |
1407 | + * Merge from debian unstable, remaining changes: |
1408 | + - remove stop links from rc0 and rc6 |
1409 | + - suggest sg3-utils, conflict sg-utils |
1410 | + - fix path to scsi_id |
1411 | + - ubuntu udev rules |
1412 | + - set umask |
1413 | + |
1414 | + -- Scott James Remnant <scott@ubuntu.com> Tue, 28 Nov 2006 15:24:16 +0000 |
1415 | + |
1416 | multipath-tools (0.4.7-1.1) unstable; urgency=medium |
1417 | |
1418 | * Added missing dependency on dmsetup. Closes: #381068. |
1419 | @@ -971,6 +2283,77 @@ multipath-tools (0.4.7-1.1) unstable; urgency=medium |
1420 | |
1421 | -- John Goerzen <jgoerzen@complete.org> Wed, 9 Aug 2006 11:52:08 -0500 |
1422 | |
1423 | +multipath-tools (0.4.7-1ubuntu8) edgy; urgency=low |
1424 | + |
1425 | + * Remove stop script symlinks from rc0 and rc6. |
1426 | + |
1427 | + -- Scott James Remnant <scott@ubuntu.com> Fri, 15 Sep 2006 17:30:19 +0100 |
1428 | + |
1429 | +multipath-tools (0.4.7-1ubuntu7) dapper; urgency=low |
1430 | + |
1431 | + * Fix typo in init script that was executing hsg80_init unconditionally. |
1432 | + |
1433 | + * Suggests: sg3-utils and Conflicts: sg-utils (obsoleted). |
1434 | + |
1435 | + -- Fabio M. Di Nitto <fabbione@ubuntu.com> Mon, 22 May 2006 09:56:07 +0200 |
1436 | + |
1437 | +multipath-tools (0.4.7-1ubuntu6) dapper; urgency=low |
1438 | + |
1439 | + * no changes upload to rebuild with new libdevmapper. |
1440 | + |
1441 | + -- Fabio M. Di Nitto <fabbione@ubuntu.com> Wed, 10 May 2006 09:31:20 +0200 |
1442 | + |
1443 | +multipath-tools (0.4.7-1ubuntu5) dapper; urgency=low |
1444 | + |
1445 | + The "give Scott a crying biscuit" release. |
1446 | + |
1447 | + * Apply patch from Dennis Kaarsemaker. |
1448 | + (Closes Ubuntu: #41318) |
1449 | + |
1450 | + -- Fabio M. Di Nitto <fabbione@ubuntu.com> Wed, 26 Apr 2006 10:20:07 +0200 |
1451 | + |
1452 | +multipath-tools (0.4.7-1ubuntu4) dapper; urgency=low |
1453 | + |
1454 | + * Remove 2 extra lines from multipath.rules that were really not supposed |
1455 | + to be there. |
1456 | + |
1457 | + -- Fabio M. Di Nitto <fabbione@ubuntu.com> Thu, 06 Apr 2006 17:43:10 +0200 |
1458 | + |
1459 | +multipath-tools (0.4.7-1ubuntu3) dapper; urgency=low |
1460 | + |
1461 | + * Add hsg80_init function to multipath-tools-boot init script. |
1462 | + The script takes care to perform a proper initialization of the disks |
1463 | + when the hsg80 is configured in multibus failover mode. |
1464 | + |
1465 | + NOTE: multipathd is not able to understand properly what happens in this |
1466 | + multi-bugs situation and it will require manual kill and restart once |
1467 | + the disks have been readded to the system, otherwise failover is not |
1468 | + guaranteed and syslog will be flooded. |
1469 | + |
1470 | + -- Fabio M. Di Nitto <fabbione@ubuntu.com> Thu, 06 Apr 2006 09:33:51 +0200 |
1471 | + |
1472 | +multipath-tools (0.4.7-1ubuntu2) dapper; urgency=low |
1473 | + |
1474 | + * Fix socket permissions. |
1475 | + |
1476 | + -- Fabio M. Di Nitto <fabbione@ubuntu.com> Tue, 04 Apr 2006 18:20:20 +0200 |
1477 | + |
1478 | +multipath-tools (0.4.7-1ubuntu1) dapper; urgency=low |
1479 | + |
1480 | + * Fix path to scsi_id. |
1481 | + |
1482 | + * Make install: target depends on build in debian/rules. |
1483 | + |
1484 | + * Change NAME to multipathd in init scripts so that we can actually stop |
1485 | + multipathd. |
1486 | + |
1487 | + * Swap multipath-tools-boot and multipath-tools init scripts order in |
1488 | + postinst and make multipath-tools-boot start. |
1489 | + |
1490 | + * UVF exception granted by Colin Watson. |
1491 | + |
1492 | + -- Fabio M. Di Nitto <fabbione@ubuntu.com> Tue, 04 Apr 2006 06:31:09 +0200 |
1493 | + |
1494 | multipath-tools (0.4.7-1) unstable; urgency=low |
1495 | |
1496 | * New upstream version. |
1497 | diff --git a/debian/control b/debian/control |
1498 | index 3ba2999..7896144 100644 |
1499 | --- a/debian/control |
1500 | +++ b/debian/control |
1501 | @@ -1,7 +1,8 @@ |
1502 | Source: multipath-tools |
1503 | Section: admin |
1504 | Priority: optional |
1505 | -Maintainer: Debian DM Multipath Team <team+linux-blocks@tracker.debian.org> |
1506 | +Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com> |
1507 | +XSBC-Original-Maintainer: Debian DM Multipath Team <team+linux-blocks@tracker.debian.org> |
1508 | Uploaders: Guido Günther <agx@sigxcpu.org>, Ritesh Raj Sarraf <rrs@debian.org>, Chris Hofstaedtler <zeha@debian.org> |
1509 | Build-Depends: debhelper (>= 9.20160709), po-debconf, libdevmapper-dev (>= 2:1.02.20), libreadline-dev, libaio-dev, dpkg-dev (>= 1.16.1~), libudev-dev, libsystemd-dev, systemd, liburcu-dev, pkg-config, libjson-c-dev |
1510 | Vcs-Git: https://salsa.debian.org/linux-blocks-team/multipath-tools.git |
1511 | @@ -30,10 +31,18 @@ Description: create device mappings for partitions |
1512 | Kpartx can be used to set up device mappings for the partitions of any |
1513 | partitioned block device. It is part of the Linux multipath-tools. |
1514 | |
1515 | +Package: kpartx-boot |
1516 | +Architecture: all |
1517 | +Depends: ${misc:Depends}, initramfs-tools, |
1518 | + kpartx (>= ${source:Version}), kpartx (<< ${source:Version}.1~) |
1519 | +Description: Provides kpartx during boot |
1520 | + This package makes kpartx available during boot to activate partitions |
1521 | + |
1522 | Package: multipath-tools-boot |
1523 | Architecture: all |
1524 | Depends: ${misc:Depends}, initramfs-tools | linux-initramfs-tool, lsb-base (>= 3.0-6), |
1525 | - multipath-tools (>= ${source:Version}), multipath-tools (<< ${source:Version}.1~) |
1526 | + multipath-tools (>= ${source:Version}), multipath-tools (<< ${source:Version}.1~), |
1527 | + kpartx-boot (= ${binary:Version}) |
1528 | Replaces: multipath-tools-initramfs (<< 1.0.1+nmu1), multipath-tools (<< 0.5.0+git1.656f8865-6) |
1529 | Breaks: multipath-tools-initramfs (<< 1.0.1+nmu1), multipath-tools (<< 0.5.0+git1.656f8865-6) |
1530 | Description: Support booting from multipath devices |
1531 | @@ -48,8 +57,8 @@ Description: Support booting from multipath devices |
1532 | |
1533 | Package: multipath-udeb |
1534 | Package-Type: udeb |
1535 | -Architecture: linux-any |
1536 | -Depends: ${shlibs:Depends}, ${misc:Depends}, multipath-modules, kpartx-udeb |
1537 | +Architecture: amd64 arm64 armhf ppc64el s390x |
1538 | +Depends: ${shlibs:Depends}, ${misc:Depends}, multipath-modules, kpartx-udeb, sg3-udeb |
1539 | Section: debian-installer |
1540 | Description: maintain multipath block device access - udeb package |
1541 | This is a udeb, or a microdeb, for the debian-installer. |
1542 | @@ -59,7 +68,7 @@ Description: maintain multipath block device access - udeb package |
1543 | |
1544 | Package: kpartx-udeb |
1545 | Package-Type: udeb |
1546 | -Architecture: linux-any |
1547 | +Architecture: amd64 arm64 armhf ppc64el s390x |
1548 | Depends: ${shlibs:Depends}, ${misc:Depends} |
1549 | Section: debian-installer |
1550 | Description: create device mappings for partitions - udeb package |
1551 | diff --git a/debian/initramfs/hooks b/debian/initramfs/hooks |
1552 | index 6a1dd88..126781b 100644 |
1553 | --- a/debian/initramfs/hooks |
1554 | +++ b/debian/initramfs/hooks |
1555 | @@ -30,9 +30,17 @@ add_bindings() |
1556 | fi |
1557 | } |
1558 | |
1559 | +add_wwids() |
1560 | +{ |
1561 | + if [ -r /etc/multipath/wwids ]; then |
1562 | + mkdir -p $DESTDIR/etc/multipath |
1563 | + cp /etc/multipath/wwids $DESTDIR/etc/multipath |
1564 | + fi |
1565 | +} |
1566 | + |
1567 | add_udev_rules() |
1568 | { |
1569 | - for rules in 60-multipath.rules 60-kpartx.rules; do |
1570 | + for rules in 60-multipath.rules 56-dm-mpath.rules; do |
1571 | if [ -e /lib/udev/rules.d/$rules ]; then |
1572 | cp -p /lib/udev/rules.d/$rules $DESTDIR/lib/udev/rules.d/ |
1573 | fi |
1574 | @@ -48,12 +56,24 @@ mkdir -p $DESTDIR/lib/multipath/ |
1575 | for x in /lib/multipath/*; do |
1576 | copy_exec $x /lib/multipath/ |
1577 | done |
1578 | +copy_exec /usr/bin/partx |
1579 | add_udev_rules |
1580 | |
1581 | +copy_exec /sbin/multipathd /sbin |
1582 | +# multipathd requires libgcc_s.so.1 (not handled by copy_exec() as it's dlopen()'ed). |
1583 | +# hack: find libgcc_s.so.1 via ldconfig cache (dpkg-architecture pulls lots of deps). |
1584 | +for x in $(ldconfig --print-cache | grep -o '/lib/.*/libgcc_s\.so\.1'); do |
1585 | + copy_exec $x $(dirname $x) |
1586 | +done |
1587 | + |
1588 | +# multipathd requires /run/multipathd.pid |
1589 | +mkdir -p $DESTDIR/run |
1590 | + |
1591 | [ -r /etc/multipath.conf ] && cp /etc/multipath.conf $DESTDIR/etc/ |
1592 | add_bindings |
1593 | +add_wwids |
1594 | |
1595 | -for x in dm-multipath dm-service-time dm-round-robin; do |
1596 | +for x in dm-multipath dm-service-time dm-round-robin dm-queue-length; do |
1597 | manual_add_modules ${x} |
1598 | done |
1599 | |
1600 | diff --git a/debian/initramfs/init-top b/debian/initramfs/init-top |
1601 | index 51637e9..883d7f9 100644 |
1602 | --- a/debian/initramfs/init-top |
1603 | +++ b/debian/initramfs/init-top |
1604 | @@ -1,6 +1,6 @@ |
1605 | #!/bin/sh |
1606 | # |
1607 | -# multipath hardware handler |
1608 | +# multipath: load modules and daemon |
1609 | |
1610 | PREREQ=" " |
1611 | |
1612 | @@ -26,7 +26,18 @@ verbose() |
1613 | |
1614 | maybe_break pre-multipath |
1615 | VERBOSITY=0 |
1616 | -HW_HANDLERS="" |
1617 | +HW_HANDLERS="scsi_dh_alua scsi_dh_rdac scsi_dh_emc" |
1618 | +MP_MODULES="dm-multipath" |
1619 | + |
1620 | +verbose && log_begin_msg "Loading multipath modules" |
1621 | +for module in ${MP_MODULES}; do |
1622 | + if modprobe --syslog "$module"; then |
1623 | + verbose && log_success_msg "loaded module ${module}." |
1624 | + else |
1625 | + log_failure_msg "failed to load module ${module}." |
1626 | + fi |
1627 | +done |
1628 | +verbose && log_end_msg |
1629 | |
1630 | verbose && log_begin_msg "Loading multipath hardware handlers" |
1631 | for module in ${HW_HANDLERS}; do |
1632 | @@ -38,6 +49,11 @@ for module in ${HW_HANDLERS}; do |
1633 | done |
1634 | verbose && log_end_msg |
1635 | |
1636 | +# Start multipathd |
1637 | +verbose && log_begin_msg "Starting multipathd" |
1638 | +/sbin/multipathd -B |
1639 | +verbose && log_end_msg |
1640 | + |
1641 | maybe_break post-multipath |
1642 | |
1643 | exit 0 |
1644 | diff --git a/debian/initramfs/kpartx.hook b/debian/initramfs/kpartx.hook |
1645 | new file mode 100644 |
1646 | index 0000000..404f977 |
1647 | --- /dev/null |
1648 | +++ b/debian/initramfs/kpartx.hook |
1649 | @@ -0,0 +1,22 @@ |
1650 | +#!/bin/sh |
1651 | + |
1652 | +PREREQS="udev" |
1653 | + |
1654 | +prereqs() { echo "$PREREQS"; } |
1655 | + |
1656 | +case $1 in |
1657 | +prereqs) |
1658 | + prereqs |
1659 | + exit 0 |
1660 | + ;; |
1661 | +esac |
1662 | + |
1663 | +. /usr/share/initramfs-tools/hook-functions |
1664 | + |
1665 | +copy_exec /sbin/kpartx /sbin |
1666 | +copy_exec /sbin/dmsetup /sbin |
1667 | +copy_exec /lib/udev/dmsetup_env /lib/udev |
1668 | +copy_exec /lib/udev/kpartx_id /lib/udev |
1669 | +cp -p /lib/udev/rules.d/56-dm-parts.rules $DESTDIR/lib/udev/rules.d/ |
1670 | +cp -p /lib/udev/rules.d/68-del-part-nodes.rules $DESTDIR/lib/udev/rules.d/ |
1671 | +cp -p /lib/udev/rules.d/95-kpartx.rules $DESTDIR/lib/udev/rules.d/ |
1672 | diff --git a/debian/initramfs/local-top b/debian/initramfs/local-bottom |
1673 | similarity index 56% |
1674 | rename from debian/initramfs/local-top |
1675 | rename to debian/initramfs/local-bottom |
1676 | index 560ac2d..13026ff 100644 |
1677 | --- a/debian/initramfs/local-top |
1678 | +++ b/debian/initramfs/local-bottom |
1679 | @@ -1,8 +1,8 @@ |
1680 | #!/bin/sh |
1681 | # |
1682 | -# multipath discovery |
1683 | +# multipathd shutdown |
1684 | |
1685 | -PREREQ="udev iscsi" |
1686 | +PREREQ="" |
1687 | |
1688 | prereqs() { echo "$PREREQ"; } |
1689 | |
1690 | @@ -25,34 +25,36 @@ verbose() |
1691 | } |
1692 | |
1693 | maybe_break pre-multipath |
1694 | -VERBOSITY=0 |
1695 | -MP_MODULES="scsi_dh_alua scsi_dh_emc scsi_dh_rdac dm-multipath" |
1696 | |
1697 | -if [ ! -e /sbin/multipath ]; then |
1698 | +if [ ! -e /sbin/multipathd ]; then |
1699 | exit 0 |
1700 | fi |
1701 | |
1702 | -verbose && log_begin_msg "Loading multipath modules" |
1703 | -for module in ${MP_MODULES}; do |
1704 | - if modprobe "$module"; then |
1705 | - verbose && log_success_msg "loaded module ${module}." |
1706 | - else |
1707 | - log_failure_msg "failed to load module ${module}." |
1708 | - fi |
1709 | -done |
1710 | -verbose && log_end_msg |
1711 | +# Stop multipathd |
1712 | +verbose && log_begin_msg "Stopping multipathd" |
1713 | |
1714 | -verbose && log_begin_msg "Discovering multipaths" |
1715 | -/sbin/multipath -v $VERBOSITY |
1716 | -verbose && log_end_msg |
1717 | +pid_pidof="$(pidof multipathd)" |
1718 | +pid_file="$(cat /run/multipathd.pid)" |
1719 | |
1720 | -if [ -x /sbin/kpartx -a -x /sbin/dmsetup ]; then |
1721 | - /sbin/dmsetup ls --target multipath --exec "/sbin/kpartx -a -p -part" >/dev/null |
1722 | +if [ "${pid_pidof}" = "${pid_file}" ]; then |
1723 | + kill ${pid_pidof} |
1724 | + verbose && log_end_msg |
1725 | +else |
1726 | + verbose && log_failure_msg "inconsistent PIDs (pidof: '${pid_pidof}', multipathd.pid: '${pid_file}')" |
1727 | fi |
1728 | |
1729 | -if [ -x /bin/udevadm ]; then |
1730 | - /bin/udevadm settle --timeout=10 |
1731 | -fi |
1732 | +# Wait for multipathd unix socket to close. |
1733 | +# It might take a while for multipathd to handle the signal, |
1734 | +# which might leave the unix socket open until the upcoming |
1735 | +# systemd multipath.socket unit starts. Then it fails with |
1736 | +# (Result: resources) like this (logs in journalctl): |
1737 | +# "Failed to listen on sockets: Address already in use" |
1738 | +seconds=10 |
1739 | +while [ $seconds -gt 0 ]; do |
1740 | + grep -q '@/org/kernel/linux/storage/multipathd' /proc/net/unix || break |
1741 | + seconds=$((seconds - 1)) |
1742 | + sleep 1 |
1743 | +done |
1744 | |
1745 | maybe_break post-multipath |
1746 | |
1747 | diff --git a/debian/initramfs/local-premount b/debian/initramfs/local-premount |
1748 | new file mode 100644 |
1749 | index 0000000..050f97b |
1750 | --- /dev/null |
1751 | +++ b/debian/initramfs/local-premount |
1752 | @@ -0,0 +1,30 @@ |
1753 | +#!/bin/sh |
1754 | + |
1755 | +set -e |
1756 | + |
1757 | +PREREQ="" |
1758 | + |
1759 | +prereqs() |
1760 | +{ |
1761 | + echo "${PREREQ}" |
1762 | +} |
1763 | + |
1764 | +case "${1}" in |
1765 | + prereqs) |
1766 | + prereqs |
1767 | + exit 0 |
1768 | + ;; |
1769 | +esac |
1770 | + |
1771 | +. /scripts/functions |
1772 | + |
1773 | +if [ -x /sbin/multipath ] |
1774 | +then |
1775 | + [ "$quiet" != "y" ] && log_begin_msg "Waiting for udev to settle (multipath)" |
1776 | + udevadm settle --timeout=121 || true |
1777 | + [ "$quiet" != "y" ] && log_end_msg |
1778 | +fi |
1779 | + |
1780 | +multipath -r -v0 -B |
1781 | + |
1782 | +exit 0 |
1783 | diff --git a/debian/kpartx-boot.postinst b/debian/kpartx-boot.postinst |
1784 | new file mode 100644 |
1785 | index 0000000..6257dc3 |
1786 | --- /dev/null |
1787 | +++ b/debian/kpartx-boot.postinst |
1788 | @@ -0,0 +1,34 @@ |
1789 | +#!/bin/sh |
1790 | +# postinst script for kpartx-boot |
1791 | +# |
1792 | +# see: dh_installdeb(1) |
1793 | + |
1794 | +set -e |
1795 | + |
1796 | +# Source debconf library. |
1797 | +. /usr/share/debconf/confmodule |
1798 | + |
1799 | +case "$1" in |
1800 | + configure) |
1801 | + if [ -x /usr/sbin/update-initramfs -a -e /etc/initramfs-tools/initramfs.conf ]; then |
1802 | + update-initramfs -u |
1803 | + fi |
1804 | + ;; |
1805 | + |
1806 | + abort-upgrade|abort-remove|abort-deconfigure) |
1807 | + ;; |
1808 | + |
1809 | + *) |
1810 | + echo "postinst called with unknown argument \`$1'" >&2 |
1811 | + exit 1 |
1812 | + ;; |
1813 | +esac |
1814 | + |
1815 | +# dh_installdeb will replace this with shell code automatically |
1816 | +# generated by other debhelper scripts. |
1817 | + |
1818 | +#DEBHELPER# |
1819 | + |
1820 | +exit 0 |
1821 | + |
1822 | + |
1823 | diff --git a/debian/kpartx-boot.postrm b/debian/kpartx-boot.postrm |
1824 | new file mode 100644 |
1825 | index 0000000..daca462 |
1826 | --- /dev/null |
1827 | +++ b/debian/kpartx-boot.postrm |
1828 | @@ -0,0 +1,45 @@ |
1829 | +#!/bin/sh |
1830 | +# postrm script for kpartx-boot |
1831 | +# |
1832 | +# see: dh_installdeb(1) |
1833 | + |
1834 | +set -e |
1835 | + |
1836 | +# summary of how this script can be called: |
1837 | +# * <postrm> `remove' |
1838 | +# * <postrm> `purge' |
1839 | +# * <old-postrm> `upgrade' <new-version> |
1840 | +# * <new-postrm> `failed-upgrade' <old-version> |
1841 | +# * <new-postrm> `abort-install' |
1842 | +# * <new-postrm> `abort-install' <old-version> |
1843 | +# * <new-postrm> `abort-upgrade' <old-version> |
1844 | +# * <disappearer's-postrm> `disappear' <overwriter> |
1845 | +# <overwriter-version> |
1846 | +# for details, see http://www.debian.org/doc/debian-policy/ or |
1847 | +# the debian-policy package |
1848 | + |
1849 | + |
1850 | +case "$1" in |
1851 | + remove) |
1852 | + if [ -x /usr/sbin/update-initramfs -a -e /etc/initramfs-tools/initramfs.conf ]; then |
1853 | + update-initramfs -u |
1854 | + fi |
1855 | + ;; |
1856 | + |
1857 | + purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) |
1858 | + ;; |
1859 | + |
1860 | + *) |
1861 | + echo "postrm called with unknown argument \`$1'" >&2 |
1862 | + exit 1 |
1863 | + ;; |
1864 | +esac |
1865 | + |
1866 | +# dh_installdeb will replace this with shell code automatically |
1867 | +# generated by other debhelper scripts. |
1868 | + |
1869 | +#DEBHELPER# |
1870 | + |
1871 | +exit 0 |
1872 | + |
1873 | + |
1874 | diff --git a/debian/kpartx.install b/debian/kpartx.install |
1875 | index eb9431e..c69cb2b 100644 |
1876 | --- a/debian/kpartx.install |
1877 | +++ b/debian/kpartx.install |
1878 | @@ -1,4 +1,4 @@ |
1879 | /usr/share/man/man8/kpartx.8.gz |
1880 | /sbin/kpartx |
1881 | -/lib/udev/kpartx_id |
1882 | -/lib/udev/dmsetup_env |
1883 | +/lib*/udev/kpartx_id |
1884 | +/lib*/udev/dmsetup_env |
1885 | diff --git a/debian/multipath-tools.dm-mpath-lvm.udev b/debian/multipath-tools.dm-mpath-lvm.udev |
1886 | new file mode 100644 |
1887 | index 0000000..4698023 |
1888 | --- /dev/null |
1889 | +++ b/debian/multipath-tools.dm-mpath-lvm.udev |
1890 | @@ -0,0 +1,26 @@ |
1891 | +# An individual device may be part of a multipath device. |
1892 | +# In such case, remove its partition device nodes so for |
1893 | +# LVM to scan/lock/use only the multipath device. |
1894 | +# - Check it on 'add' uevent. |
1895 | +# - Check it on 'change' uevent (it may change). |
1896 | + |
1897 | +SUBSYSTEM!="block", \ |
1898 | + GOTO="end_mpath" |
1899 | + |
1900 | +ACTION=="remove", \ |
1901 | + GOTO="end_mpath" |
1902 | + |
1903 | +ENV{DEVTYPE}=="partition", \ |
1904 | + IMPORT{parent}="DM_MULTIPATH_DEVICE_PATH", \ |
1905 | + GOTO="end_mpath" |
1906 | + |
1907 | +PROGRAM=="/sbin/multipath -u $devnode", \ |
1908 | + ENV{DM_MULTIPATH_DEVICE_PATH}="1", \ |
1909 | + ENV{ID_FS_TYPE}="mpath_member", \ |
1910 | + RUN+="/usr/bin/partx -d --nr 1-1024 $devnode", \ |
1911 | + GOTO="end_mpath" |
1912 | + |
1913 | +# Not part of a multipath device. |
1914 | +ENV{DM_MULTIPATH_DEVICE_PATH}="" |
1915 | + |
1916 | +LABEL="end_mpath" |
1917 | diff --git a/debian/multipath-tools.install b/debian/multipath-tools.install |
1918 | index d857eba..6f27789 100644 |
1919 | --- a/debian/multipath-tools.install |
1920 | +++ b/debian/multipath-tools.install |
1921 | @@ -14,3 +14,4 @@ |
1922 | /usr/include/libdmmp/libdmmp.h |
1923 | /lib/systemd/system/multipathd.service |
1924 | /lib/systemd/system/multipathd.socket |
1925 | +/etc/multipath.conf |
1926 | diff --git a/debian/multipath-tools.preinst b/debian/multipath-tools.preinst |
1927 | index 50f8864..74419d2 100644 |
1928 | --- a/debian/multipath-tools.preinst |
1929 | +++ b/debian/multipath-tools.preinst |
1930 | @@ -32,6 +32,10 @@ case "$1" in |
1931 | ;; |
1932 | esac |
1933 | |
1934 | +if ! dmsetup targets | cut -d' ' -f1 | grep -q '^multipath$'; then |
1935 | + modprobe -v dm-multipath || true |
1936 | +fi |
1937 | + |
1938 | #DEBHELPER# |
1939 | |
1940 | exit 0 |
1941 | diff --git a/debian/multipath-udeb.install b/debian/multipath-udeb.install |
1942 | index 672c3c8..e6794f5 100644 |
1943 | --- a/debian/multipath-udeb.install |
1944 | +++ b/debian/multipath-udeb.install |
1945 | @@ -2,3 +2,4 @@ |
1946 | /lib/multipath/ |
1947 | /lib/libmultipath.so.* |
1948 | /lib/libmpathcmd.so* |
1949 | +/etc/multipath.conf |
1950 | \ No newline at end of file |
1951 | diff --git a/debian/multipath.conf b/debian/multipath.conf |
1952 | new file mode 100644 |
1953 | index 0000000..d19039f |
1954 | --- /dev/null |
1955 | +++ b/debian/multipath.conf |
1956 | @@ -0,0 +1,3 @@ |
1957 | +defaults { |
1958 | + user_friendly_names yes |
1959 | +} |
1960 | diff --git a/debian/patches/disable-fexceptions-udeb.patch b/debian/patches/disable-fexceptions-udeb.patch |
1961 | new file mode 100644 |
1962 | index 0000000..ba95006 |
1963 | --- /dev/null |
1964 | +++ b/debian/patches/disable-fexceptions-udeb.patch |
1965 | @@ -0,0 +1,17 @@ |
1966 | +From: Mauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com> |
1967 | +Subject: Make the use of -fexceptions conditional. |
1968 | +Last-Update: 2019-04-29 |
1969 | + |
1970 | +--- a/Makefile.inc |
1971 | ++++ b/Makefile.inc |
1972 | +@@ -106,6 +106,10 @@ SHARED_FLAGS = -shared |
1973 | + LDFLAGS = $(shell dpkg-buildflags --get LDFLAGS) |
1974 | + BIN_LDFLAGS = -pie |
1975 | + |
1976 | ++ifdef CFLAGS_DISABLE_FEXCEPTIONS |
1977 | ++ CFLAGS := $(filter-out -fexceptions,$(CFLAGS)) |
1978 | ++endif |
1979 | ++ |
1980 | + # Check whether a function with name $1 has been declared in header file $2. |
1981 | + check_func = $(shell \ |
1982 | + if grep -Eq "^[^[:blank:]]+[[:blank:]]+$1[[:blank:]]*(.*)*" "$2"; then \ |
1983 | diff --git a/debian/patches/enable-find-multipaths.patch b/debian/patches/enable-find-multipaths.patch |
1984 | new file mode 100644 |
1985 | index 0000000..68e75f2 |
1986 | --- /dev/null |
1987 | +++ b/debian/patches/enable-find-multipaths.patch |
1988 | @@ -0,0 +1,17 @@ |
1989 | +From: Mauricio Faria de Oliveira <mauricfo@linux.vnet.ibm.com> |
1990 | +Date: Thu, 25 Jan 2018 12:02:55 +0100 |
1991 | +Subject: enable find multipaths |
1992 | + |
1993 | +Forwarded: no |
1994 | +Bug-Ubuntu: https://bugs.launchpad.net/bugs/1463046 |
1995 | +--- a/libmultipath/defaults.h |
1996 | ++++ b/libmultipath/defaults.h |
1997 | +@@ -17,7 +17,7 @@ |
1998 | + #define DEFAULT_NO_PATH_RETRY NO_PATH_RETRY_UNDEF |
1999 | + #define DEFAULT_VERBOSITY 2 |
2000 | + #define DEFAULT_REASSIGN_MAPS 0 |
2001 | +-#define DEFAULT_FIND_MULTIPATHS FIND_MULTIPATHS_STRICT |
2002 | ++#define DEFAULT_FIND_MULTIPATHS FIND_MULTIPATHS_ON |
2003 | + #define DEFAULT_FAST_IO_FAIL 5 |
2004 | + #define DEFAULT_DEV_LOSS_TMO 600 |
2005 | + #define DEFAULT_RETAIN_HWHANDLER RETAIN_HWHANDLER_ON |
2006 | diff --git a/debian/patches/kpartx-Improve-finding-loopback-device-by-file.patch b/debian/patches/kpartx-Improve-finding-loopback-device-by-file.patch |
2007 | new file mode 100644 |
2008 | index 0000000..01de7ab |
2009 | --- /dev/null |
2010 | +++ b/debian/patches/kpartx-Improve-finding-loopback-device-by-file.patch |
2011 | @@ -0,0 +1,70 @@ |
2012 | +From f2bd34f273a02c0ed12e996ebe57211576e40fa6 Mon Sep 17 00:00:00 2001 |
2013 | +From: Julian Andres Klode <julian.klode@canonical.com> |
2014 | +Date: Mon, 5 Feb 2018 09:44:36 +0100 |
2015 | +Subject: [PATCH] kpartx: Improve finding loopback device by file |
2016 | + |
2017 | +Commit 9bdfa3eb8e24b668e6c2bb882cddb0ccfe23ed5b changed kpartx |
2018 | +to lookup files by absolute path, using realpath(). This introduced |
2019 | +a regression when part of the filename where symbolic links. While |
2020 | +the kernel stores the absolute path to the backing file, it does not |
2021 | +resolve symbolic links, and hence kpartx would fail to find the loopback |
2022 | +device because it resolves symbolic links when deleting. |
2023 | + |
2024 | +This introduces two workarounds in find_loop_by_file() |
2025 | + |
2026 | +(1) We match against the specified file name as is as well |
2027 | +(2) We canonicalize the loopinfo.lo_name and match the canonicalized filename |
2028 | + against that. |
2029 | + |
2030 | +Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1747044 |
2031 | +Signed-off-by: Julian Andres Klode <julian.klode@canonical.com> |
2032 | +Forwarded: https://www.redhat.com/archives/dm-devel/2018-February/msg00019.html |
2033 | +--- |
2034 | + kpartx/kpartx.c | 8 +------- |
2035 | + kpartx/lopart.c | 12 +++++++++++- |
2036 | + 2 files changed, 12 insertions(+), 8 deletions(-) |
2037 | + |
2038 | +--- a/kpartx/kpartx.c |
2039 | ++++ b/kpartx/kpartx.c |
2040 | +@@ -330,10 +330,10 @@ main(int argc, char **argv){ |
2041 | + char rpath[PATH_MAX]; |
2042 | + if (realpath(device, rpath) == NULL) { |
2043 | + fprintf(stderr, "Error: %s: %s\n", device, |
2044 | +- strerror(errno)); |
2045 | ++ strerror(errno)); |
2046 | + exit (1); |
2047 | + } |
2048 | +- loopdev = find_loop_by_file(rpath); |
2049 | ++ loopdev = find_loop_by_file(device); |
2050 | + |
2051 | + if (!loopdev && what == DELETE) |
2052 | + exit (0); |
2053 | +--- a/kpartx/lopart.c |
2054 | ++++ b/kpartx/lopart.c |
2055 | +@@ -69,6 +69,14 @@ char *find_loop_by_file(const char *file |
2056 | + struct loop_info loopinfo; |
2057 | + const char VIRT_BLOCK[] = "/sys/devices/virtual/block"; |
2058 | + char path[PATH_MAX]; |
2059 | ++ char rfilename[PATH_MAX]; |
2060 | ++ char rloopfilename[PATH_MAX]; |
2061 | ++ if (realpath(filename, rfilename) == NULL) { |
2062 | ++ fprintf(stderr, "Error: %s: %s\n", filename, |
2063 | ++ strerror(errno)); |
2064 | ++ exit (1); |
2065 | ++ } |
2066 | ++ |
2067 | + char bf_path[PATH_MAX]; |
2068 | + char backing_file[PATH_MAX]; |
2069 | + |
2070 | +@@ -120,7 +128,10 @@ char *find_loop_by_file(const char *file |
2071 | + |
2072 | + close (fd); |
2073 | + |
2074 | +- if (0 == strcmp(filename, loopinfo.lo_name)) { |
2075 | ++ if (0 == strcmp(filename, loopinfo.lo_name) || |
2076 | ++ 0 == strcmp(rfilename, loopinfo.lo_name) || |
2077 | ++ (realpath(loopinfo.lo_name, rloopfilename) && |
2078 | ++ 0 == strcmp(rfilename, rloopfilename))) { |
2079 | + found = realpath(path, NULL); |
2080 | + break; |
2081 | + } |
2082 | diff --git a/debian/patches/kpartx-print-loop-deleted-to-stdout-not-stderr.patch b/debian/patches/kpartx-print-loop-deleted-to-stdout-not-stderr.patch |
2083 | new file mode 100644 |
2084 | index 0000000..8c81a5b |
2085 | --- /dev/null |
2086 | +++ b/debian/patches/kpartx-print-loop-deleted-to-stdout-not-stderr.patch |
2087 | @@ -0,0 +1,33 @@ |
2088 | +From dc2cd8f1c7d910d98e2046fd096a5eb67a8e9b9a Mon Sep 17 00:00:00 2001 |
2089 | +From: Julian Andres Klode <julian.klode@canonical.com> |
2090 | +Date: Mon, 5 Feb 2018 11:34:14 +0100 |
2091 | +Subject: [PATCH] kpartx: print "loop deleted" to stdout, not stderr |
2092 | + |
2093 | +Commit fa643f5d2590028a59c671b81ab41383806fd258 moved some |
2094 | +code around and changed the print for loop deleted from stdout |
2095 | +to stderr - but this is not an error message, and also printed |
2096 | +to stdout in another place, so let's just use printf() again |
2097 | +here. |
2098 | + |
2099 | +Signed-off-by: Julian Andres Klode <julian.klode@canonical.com> |
2100 | +Forwarded: https://www.redhat.com/archives/dm-devel/2018-February/msg00021.html |
2101 | +--- |
2102 | + kpartx/kpartx.c | 2 +- |
2103 | + 1 file changed, 1 insertion(+), 1 deletion(-) |
2104 | + |
2105 | +diff --git a/kpartx/kpartx.c b/kpartx/kpartx.c |
2106 | +index c1af1c5e..2e882721 100644 |
2107 | +--- a/kpartx/kpartx.c |
2108 | ++++ b/kpartx/kpartx.c |
2109 | +@@ -399,7 +399,7 @@ main(int argc, char **argv){ |
2110 | + loopdev); |
2111 | + r = 1; |
2112 | + } else |
2113 | +- fprintf(stderr, "loop deleted : %s\n", loopdev); |
2114 | ++ printf("loop deleted : %s\n", loopdev); |
2115 | + } |
2116 | + goto end; |
2117 | + } |
2118 | +-- |
2119 | +2.15.1 |
2120 | + |
2121 | diff --git a/debian/patches/kpartx_more_loopback_fixes.patch b/debian/patches/kpartx_more_loopback_fixes.patch |
2122 | new file mode 100644 |
2123 | index 0000000..a0a3105 |
2124 | --- /dev/null |
2125 | +++ b/debian/patches/kpartx_more_loopback_fixes.patch |
2126 | @@ -0,0 +1,40 @@ |
2127 | +From: Mathieu Trudel-Lapierre <mathieu.trudel-lapierre@canonical.com> |
2128 | +Subject: Fix kpartx some more to correctly remove loopback devices on delete. |
2129 | +Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/multipath-tools/+bug/1543430 |
2130 | + |
2131 | +Loop devices get created when using kpartx with an image file, but should be |
2132 | +removed afterwards when using kpartx -d. Unfortunately, the devmapper maps |
2133 | +did get removed but not the losetup nodes behind it, which were still bound |
2134 | +to the image file. This is because we re-stat the loop device once we've |
2135 | +figured which one to use, since otherwise we wouldn't have major and minor |
2136 | +numbers for a loopback file; yet we need those to create the devmapper maps |
2137 | +reliably. |
2138 | + |
2139 | +Instead of checking if we're dealing with a regular type file (since after |
2140 | +stat() we'd not have the S_ISREG check succeed since we stat()'ed a device), |
2141 | +use the loopdev variable. It's equivalent to device but only set if we've been |
2142 | +called to work on an image. |
2143 | + |
2144 | +*update* |
2145 | +This got partially upstream with the following patch - maybe we can drop it now?: |
2146 | +commit ed4c3119cc1d6bc6656cf84d1e9c1ab184d87814 |
2147 | +Author: Christian Kastner <ckk@kvr.at> |
2148 | +Date: Wed Jul 13 19:23:02 2016 +0200 |
2149 | + kpartx: Fix check whether to detach loop device |
2150 | + |
2151 | + |
2152 | +--- |
2153 | + kpartx/kpartx.c | 4 ++-- |
2154 | + 1 file changed, 2 insertions(+), 2 deletions(-) |
2155 | + |
2156 | +--- a/kpartx/kpartx.c |
2157 | ++++ b/kpartx/kpartx.c |
2158 | +@@ -646,7 +646,7 @@ main(int argc, char **argv){ |
2159 | + if (n > 0) |
2160 | + break; |
2161 | + } |
2162 | +- if (what == LIST && loopcreated && S_ISREG (buf.st_mode)) { |
2163 | ++ if (what == LIST && loopcreated && loopdev) { |
2164 | + if (fd != -1) |
2165 | + close(fd); |
2166 | + if (del_loop(device)) { |
2167 | diff --git a/debian/patches/no-start-in-containers.patch b/debian/patches/no-start-in-containers.patch |
2168 | new file mode 100644 |
2169 | index 0000000..5e8dc59 |
2170 | --- /dev/null |
2171 | +++ b/debian/patches/no-start-in-containers.patch |
2172 | @@ -0,0 +1,17 @@ |
2173 | +Description: Do not attempt to start multipath-tools in containers, |
2174 | + should switch for on-demand udev/socket based activation in the |
2175 | + future. |
2176 | +Author: Dimitri John Ledkov <xnox@ubuntu.com> |
2177 | +Bug-Ubuntu: https://bugs.launchpad.net/bugs/1823093 |
2178 | + |
2179 | + |
2180 | +--- multipath-tools-0.7.4.orig/multipathd/multipathd.service |
2181 | ++++ multipath-tools-0.7.4/multipathd/multipathd.service |
2182 | +@@ -8,6 +8,7 @@ DefaultDependencies=no |
2183 | + Conflicts=shutdown.target |
2184 | + ConditionKernelCommandLine=!nompath |
2185 | + ConditionKernelCommandLine=!multipath=off |
2186 | ++ConditionVirtualization=!container |
2187 | + |
2188 | + [Service] |
2189 | + Type=notify |
2190 | diff --git a/debian/patches/series b/debian/patches/series |
2191 | index d25bc39..76f21e0 100644 |
2192 | --- a/debian/patches/series |
2193 | +++ b/debian/patches/series |
2194 | @@ -6,3 +6,9 @@ disable-systemd-for-udeb.patch |
2195 | fix-usrmerge-paths.patch |
2196 | 11-dm-mpath-fix-DM_UDEV_RULES_VSN-check.patch |
2197 | enable-cross-build.patch |
2198 | +disable-fexceptions-udeb.patch |
2199 | +kpartx_more_loopback_fixes.patch |
2200 | +enable-find-multipaths.patch |
2201 | +kpartx-Improve-finding-loopback-device-by-file.patch |
2202 | +kpartx-print-loop-deleted-to-stdout-not-stderr.patch |
2203 | +no-start-in-containers.patch |
2204 | diff --git a/debian/rules b/debian/rules |
2205 | index ff44b73..30be182 100755 |
2206 | --- a/debian/rules |
2207 | +++ b/debian/rules |
2208 | @@ -8,6 +8,13 @@ else |
2209 | INSTALL_PROGRAM = install |
2210 | endif |
2211 | |
2212 | +ifeq ($(shell dpkg-architecture -qDEB_HOST_ARCH),i386) |
2213 | + ADD_UDEB = --no-add-udeb |
2214 | + skip_packages = -Nmultipath-tools |
2215 | +else |
2216 | + ADD_UDEB = --add-udeb=multipath-udeb |
2217 | +endif |
2218 | + |
2219 | # For Hardening |
2220 | export DEB_BUILD_MAINT_OPTIONS = hardening=+all |
2221 | DPKG_EXPORT_BUILDFLAGS = 1 |
2222 | @@ -43,7 +50,7 @@ build-stamp: clean-tree |
2223 | build-multipath-udeb-stamp: |
2224 | dh_testdir |
2225 | |
2226 | - DEB_CFLAGS_MAINT_APPEND="-static-libgcc" dh_auto_build -- $(OPTFLAGS) LIB=/lib USE_SYSTEMD=0 |
2227 | + DEB_CFLAGS_MAINT_APPEND="-static-libgcc" CFLAGS_DISABLE_FEXCEPTIONS=1 dh_auto_build -- $(OPTFLAGS) LIB=/lib USE_SYSTEMD=0 |
2228 | |
2229 | # store files for install target |
2230 | mkdir -p $(CURDIR)/debian/tmp-multipath-udeb/sbin |
2231 | @@ -71,8 +78,11 @@ install-indep: |
2232 | |
2233 | # initramfs stuff: |
2234 | install -D -m 755 debian/initramfs/hooks $(INITRAMFS)/hooks/multipath |
2235 | - install -D -m 755 debian/initramfs/local-top \ |
2236 | - $(INITRAMFS)/scripts/local-top/multipath |
2237 | + install -D -m 755 debian/initramfs/kpartx.hook $(CURDIR)/debian/kpartx-boot/usr/share/initramfs-tools/hooks/kpartx |
2238 | + install -D -m 755 debian/initramfs/local-premount \ |
2239 | + $(INITRAMFS)/scripts/local-premount/multipath |
2240 | + install -D -m 755 debian/initramfs/local-bottom \ |
2241 | + $(INITRAMFS)/scripts/local-bottom/multipath |
2242 | install -D -m 755 debian/initramfs/init-top \ |
2243 | $(INITRAMFS)/scripts/init-top/multipath |
2244 | |
2245 | @@ -94,6 +104,8 @@ install: install-indep |
2246 | mkdir -p $(CURDIR)/debian/tmp/sbin |
2247 | $(MAKE) install INSTALL_PROGRAM=$(INSTALL_PROGRAM) DESTDIR=$(CURDIR)/debian/tmp LIB=/lib SYSTEMDPATH=/lib USE_SYSTEMD=1 |
2248 | install -m 755 debian/dmsetup_env $(CURDIR)/debian/tmp/lib/udev/ |
2249 | + mkdir -p $(CURDIR)/debian/tmp/etc |
2250 | + cp debian/multipath.conf $(CURDIR)/debian/tmp/etc |
2251 | dh_install -X.rules --fail-missing -Nmultipath-udeb --sourcedir=$(CURDIR)/debian/tmp |
2252 | dh_install -Xkpartx_id -X.rules -X.service -X.socket --fail-missing -pmultipath-udeb --sourcedir=$(CURDIR)/debian/tmp-multipath-udeb |
2253 | |
2254 | @@ -125,7 +137,7 @@ binary-arch: build install |
2255 | dh_lintian -a |
2256 | dh_systemd_enable -pmultipath-tools multipathd.service |
2257 | dh_installinit -pmultipath-tools |
2258 | - dh_installudev -pkpartx |
2259 | + dh_installudev -pkpartx --priority=95 |
2260 | dh_installudev -pkpartx --name=dm-parts --priority=56 |
2261 | dh_installudev -pkpartx --name=del-part-nodes --priority=68 |
2262 | dh_installudev -pmultipath-tools --name=multipath |
2263 | @@ -134,16 +146,16 @@ binary-arch: build install |
2264 | lib/systemd/system/multipath-tools.service |
2265 | dh_systemd_start -pmultipath-tools multipathd.service |
2266 | dh_installman -a |
2267 | - dh_makeshlibs -a --add-udeb=multipath-udeb |
2268 | + dh_makeshlibs -a $(ADD_UDEB) |
2269 | dh_link -a |
2270 | dh_strip -a |
2271 | dh_compress -a |
2272 | dh_fixperms -a |
2273 | dh_installdeb -a |
2274 | dh_shlibdeps -a |
2275 | - dh_gencontrol -a |
2276 | + dh_gencontrol -a $(skip_packages) |
2277 | dh_md5sums -a |
2278 | - dh_builddeb -a |
2279 | + dh_builddeb -a $(skip_packages) |
2280 | |
2281 | binary: binary-indep binary-arch |
2282 | .PHONY: binary binary-arch binary-indep unpack configure build clean |
2283 | diff --git a/debian/tests/tgtbasedmpaths b/debian/tests/tgtbasedmpaths |
2284 | index b5dcebe..432aba6 100755 |
2285 | --- a/debian/tests/tgtbasedmpaths |
2286 | +++ b/debian/tests/tgtbasedmpaths |
2287 | @@ -15,8 +15,8 @@ localhost="127.0.0.1" |
2288 | portal="${localhost}:3260" |
2289 | maxpaths=4 |
2290 | backfn="backingfile" |
2291 | -expectwwid="360000000000000000e00000000010001" |
2292 | -testdisk="/dev/disk/by-id/scsi-${expectwwid}" |
2293 | +expectwwid="60000000000000000e00000000010001" |
2294 | +testdisk="/dev/disk/by-id/wwn-0x${expectwwid}" |
2295 | bglog="$AUTOPKGTEST_ARTIFACTS/test-background.log" |
2296 | fioprep="$AUTOPKGTEST_ARTIFACTS/path-change-prep.fio" |
2297 | fiovrfy="$AUTOPKGTEST_ARTIFACTS/path-change-check.fio" |
2298 | @@ -48,6 +48,7 @@ do |
2299 | done |
2300 | |
2301 | udevadm settle |
2302 | +sleep 5 # sleep a bit to allow device to be created.... |
2303 | |
2304 | # status summary |
2305 | echo "Status after initial setup" |
Please dont fully review this yet, I still have some tests to finish. Just wanted to push it here now so we dont step into each others feet for this merge. I'll provive a final comment with PPA and test results, and check if we can sync and/or drop carried patches.