Debian Patches

Status for mdadm/4.4-3

Patch Description Author Forwarded Bugs Origin Last update
debian/0001-fix-manpages.patch Fix typos and macro issues in manpages (Closes: #915182, #916946, #962946, #933773).

diff -Naurp mdadm.orig/md.4 mdadm/md.4
Felix Lechner <felix.lechner@lease-up.com> no
debian/0002-host-name-in-default-mailfrom.patch Add host name to default MAILFROM (Closes: #1006464). The host on which the error occurred is mentioned in the subject and also in
the message body, but some may find it useful in the From address, as well.

diff -Naurp mdadm.orig/mdmonitor.c mdadm/mdmonitor.c
Felix Lechner <felix.lechner@lease-up.com> no
debian/0003-exit-gracefully-when-md-device-not-found.patch Exit gracefully when md device not found (Closes: #970329).
diff -Naurp mdadm.orig/mdmonitor.c mdadm/mdmonitor.c
Felix Lechner <felix.lechner@lease-up.com> no
debian/0004-sha1-includes.patch Do not #include ansidecl.h from sha1.h, use system headers. In 3.2.5 version of mdadm, new sha1 implementation has been included
which tries to include ansidecl.h header which is internal to some
other project. But this #include isn't really necessary, since this
implementation does not actually use any defines from ansidecl.h. So
just remove the #include, instead of adding a new external dependency.
.
References: http://www.spinics.net/lists/raid/msg38859.html
.
While at it, unconditionally include system headers like limits.h and
stdint.h, since on a Linux system these headers are available, and
these contains definitive information about real system types than
any guesses.

diff -Naurp mdadm.orig/sha1.h mdadm/sha1.h
Michael Tokarev <mjt@tls.msk.ru> no
debian/0006-no-Werror.patch Remove -Werror from compiler flags. -Werror seems like a bad idea on released/packaged code because a toolchain
update (introducing new warnings) could break the build. We'll let upstream
use it to beautify the code, but remove it for out builds.

diff -Naurp mdadm.orig/Makefile mdadm/Makefile
Martin F. Krafft <madduck@debian.org> no
debian/0007-test-installed.patch Test installed files (Closes: #872118). The test suite seems to check the executable bit on the local build product
'mdadm' but runs all programs from the system PATH. This change should test
the installed version.
.
I believe this change tests the installed version, but that hypothesis is not
supported by much else. The autopkgtest restriction isolation-machine made it
difficult so far to run the test suite anywhere.
.
The entire setup is untested and may require further modification in order to
function.
.
Incorporates a suggestion from the fdisk maintainer to specify the fdisk
prerequisite explicitly.

diff -Naurp mdadm.orig/tests/func.sh mdadm/tests/func.sh
Felix Lechner <felix.lechner@lease-up.com> no
debian/0008-randomize-timers.patch Randomize md array check timers (LP: #1815201).
diff -Naurp mdadm.orig/systemd/mdcheck_continue.timer mdadm/systemd/mdcheck_continue.timer
Dimitri John Ledkov <xnox@ubuntu.com> no
debian/0009-systemd-honor-debconf-daily-scan.patch Honor the debconf mdadm/autoscan setting in the systemd timer There was an mdadm/autoscan template added to allow users to disable this
feature via debconf. This is exposed as a variable in /etc/default/mdadm,
which was processed by a cronjob. Dropping the cronjob and moving to a
systemd timer, we need to add our own processing.

diff -Naurp mdadm.orig/systemd/mdmonitor-oneshot.service mdadm/systemd/mdmonitor-oneshot.service
dann frazier <dannf@ubuntu.com> no
debian/0010-mdcheck-fix-empty-spaces-in-timer-unit-files.patch mdcheck fix empty spaces in timer unit files (LP: #1852747). dh_installsystemd is failling thus FBTFS because of the spaces
in the systemd unit timer files directive.

diff -Naurp mdadm.orig/systemd/mdcheck_continue.timer mdadm/systemd/mdcheck_continue.timer
Eric Desrochers <eric.desrochers@canonical.com> no
debian/0011-systemd-directory.patch Patch Makefile to use pkg-config systemd to discover systemd unit dir.
diff -Naurp mdadm.orig/Makefile mdadm/Makefile
Chris Hofstaedtler <zeha@debian.org> no
debian/0012-bin-directory.patch Patch Makefile to use /usr/sbin instead of /sbin.
diff -Naurp mdadm.orig/Makefile mdadm/Makefile
Chris Hofstaedtler <zeha@debian.org> no
debian/0013-xmalloc-ftbfs.patch Adding missing header to fix FTBFS.
diff -Naurp mdadm.orig/raid6check.c mdadm/raid6check.c
Daniel Baumann <daniel.baumann@progress-linux.org> no
upstream/0001-manpage-remove-bitmap.patch commit ef4b6a23189d804bfd8fa81f5038afe6ce825bde

mdadm.man: Remove external bitmap

Remove external bitmap support from manual.

Signed-off-by: Mariusz Tkaczyk <mtkaczyk@kernel.org>

diff --git a/mdadm.8.in b/mdadm.8.in
index 2b6f3e50..83c0689f 100644
Mariusz Tkaczyk <mtkaczyk@kernel.org> no 2025-01-07

All known versions for source package 'mdadm'

Links