Package: multipath-tools / 0.9.4-3+deb12u2

Metadata

Package Version Patches format
multipath-tools 0.9.4-3+deb12u2 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0002 Update build flags.patch | (download)

Makefile.inc | 30 13 + 17 - 0 !
create-config.mk | 11 1 + 10 - 0 !
2 files changed, 14 insertions(+), 27 deletions(-)

 update build flags

We have a few missions:

1) ensure we build using the environment-supplied flags, especially
   LDFLAGS, CFLAGS, CPPFLAGS

2) disable -Werror, as this can just break with newer GCC versions.

3) remove EXTRAVERSION, as our git revision is not interesting.

4) add EXTRA_CFLAGS, so the udeb build can pass in extra flags, like
   -static-libgcc.

5) set install paths as they were in previous versions, and
   in a both usrmerge- and not-yet-merged compatible way.

6) build with libedit instead of libreadline for license reasons.

0004 systemd alias multipath service.patch | (download)

multipathd/multipathd.service | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 systemd: alias multipath-service

Add Alias of multipath-tools because our init script is named that way.

0006 dm rules do not assume usrmerge in paths.patch | (download)

multipath/11-dm-mpath.rules | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 dm rules: do not assume usrmerge in paths

Fix paths to use /lib/udev instead of /usr/lib/udev, since we have not
done a usrmerge yet.

Bug-Debian: https://bugs.debian.org/886938
0007 11 dm mpath fix DM_UDEV_RULES_VSN check.patch | (download)

multipath/11-dm-mpath.rules | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 11-dm-mpath: fix dm_udev_rules_vsn-check

Fix 11-dm-mpath.rules to check for DM_UDEV_RULES, not DM_UDEV_RULES_VSN

0008 Bug 916521 FTCBFS uses the wrong pkg config.patch | (download)

Makefile.inc | 3 2 + 1 - 0 !
1 file changed, 2 insertions(+), 1 deletion(-)

 bug#916521: ftcbfs: uses the wrong pkg-config

multipath-tools fails to cross build from source, because
multipath-tools' Makefiles hard code the build architecture pkg-config.
After making it substitutable, it picks up the one supplied by
dh_auto_build and cross builds successfully.

0009 kpartx rules use Debian specific partx path.patch | (download)

kpartx/del-part-nodes.rules | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 kpartx rules: use debian-specific partx path

Use Debian-specific path for partx (from util-linux).

0010 multipath.rules do not assume usrmerged paths.patch | (download)

multipath/multipath.rules.in | 6 3 + 3 - 0 !
1 file changed, 3 insertions(+), 3 deletions(-)

 multipath.rules: do not assume usrmerged paths

We have not done a full usrmerge yet, so avoid breaking old systems.

Bug-Debian: https://bugs.debian.org/973853
0012 Reproducible build.patch | (download)

libdmmp/Makefile | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 make the build reproducible

0006 multipathd.service re add ExecStartPre.patch | (download)

multipathd/multipathd.service | 1 1 + 0 - 0 !
1 file changed, 1 insertion(+)

 multipathd.service: re-add execstartpre

Upstream commit a1eabea75e8e0f6072f2b655cae25ec473b006c5 removed this,
claiming the modules-load.d snippet would be enough. Maybe it is on other
distributions, but Debian does not reload modules-load.d snippets on
package install. Without this, first time installs would need a reboot
or manual package loading.

0010 libmultipath fix ANA prioritizer enablement logic.patch | (download)

libmultipath/prioritizers/Makefile | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 libmultipath: fix ana prioritizer enablement logic

Fixes: 3e71d8a ("multipath-tools Makefiles: create config.mk")

Suggested-by: Lidong Zhong <lidong.zhong@suse.com>
Signed-off-by: Martin Wilck <mwilck@suse.com>