Package: mdadm / 4.2-5

Metadata

Package Version Patches format
mdadm 4.2-5 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
fix manpages.patch | (download)

md.4 | 34 17 + 17 - 0 !
mdadm.8.in | 23 12 + 11 - 0 !
mdmon.8 | 2 1 + 1 - 0 !
3 files changed, 30 insertions(+), 29 deletions(-)

 fix typos and macro issues in manpages
fix command line help.patch | (download)

ReadMe.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 make command-line help consistent with manual page.
 Mode was missing.
documentation keys in service files.patch | (download)

systemd/mdadm-grow-continue@.service | 1 1 + 0 - 0 !
systemd/mdadm-last-resort@.service | 1 1 + 0 - 0 !
systemd/mdcheck_continue.service | 3 2 + 1 - 0 !
systemd/mdcheck_start.service | 1 1 + 0 - 0 !
systemd/mdmon@.service | 1 1 + 0 - 0 !
systemd/mdmonitor-oneshot.service | 1 1 + 0 - 0 !
systemd/mdmonitor.service | 1 1 + 0 - 0 !
7 files changed, 8 insertions(+), 1 deletion(-)

 make adjustments to systemd files provided by upstream
mdmonitor service simplify.diff | (download)

systemd/mdmonitor.service | 5 1 + 4 - 0 !
1 file changed, 1 insertion(+), 4 deletions(-)

 simplify mdmonitor.service
host name in default mailfrom.patch | (download)

Monitor.c | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 add host name to default mailfrom
 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.
exit gracefully when md device not found.patch | (download)

Monitor.c | 10 8 + 2 - 0 !
1 file changed, 8 insertions(+), 2 deletions(-)

 exit gracefully when md device not found
strcat look for md device in dev md.patch | (download)

Monitor.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 look for md device in /dev/md
sha1 includes.diff | (download)

sha1.h | 8 4 + 4 - 0 !
1 file changed, 4 insertions(+), 4 deletions(-)

 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.


readlink path.patch | (download)

udev-md-raid-arrays.rules | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 readlink is in /bin not /usr/bin on debian
Date: Fri, 14 Nov 2014 19:11:51 +0300
Bug-Debian: http://bugs.debian.org/766416
debian no Werror.diff | (download)

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

 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.

Signed-off-by: martin f. krafft <madduck@debian.org>


debian conffile location.diff | (download)

Makefile | 4 2 + 2 - 0 !
ReadMe.c | 2 1 + 1 - 0 !
mdadm.8.in | 16 8 + 8 - 0 !
mdadm.conf.5 | 2 1 + 1 - 0 !
4 files changed, 12 insertions(+), 12 deletions(-)

 set /etc/mdadm/mdadm.conf as primary config file location

On Debian, the configuration file resides primarily in /etc/mdadm/mdadm.conf,
/etc/mdadm.conf is only used as a backup.

This is a Debian-specific patch.

test installed.patch | (download)

tests/func.sh | 4 0 + 4 - 0 !
1 file changed, 4 deletions(-)

 test installed files
 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