Package: mdadm / 3.3.2-5

Metadata

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

Patch series

view the series file
Patch File delta Description
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 !
mdassemble.8 | 2 1 + 1 - 0 !
5 files changed, 13 insertions(+), 13 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.

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>


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.


use external blkid.diff | (download)

udev-md-raid-arrays.rules | 4 1 + 3 - 0 !
1 file changed, 1 insertion(+), 3 deletions(-)

 blkid is not udev builtin, use /sbin/blkid


use tempnode not devnode.patch | (download)

udev-md-raid-arrays.rules | 2 1 + 1 - 0 !
udev-md-raid-assembly.rules | 2 1 + 1 - 0 !
2 files changed, 2 insertions(+), 2 deletions(-)

 use tempnode not devnode in udev rules
Bug-Debian: http://bugs.debian.org/770883
build sys no check_rundir.patch | (download)

Makefile | 4 2 + 2 - 0 !
1 file changed, 2 insertions(+), 2 deletions(-)

 build-sys: do not depend on check_rundir for executables
rebuildmap strip local host name from device name.patch | (download)

mapfile.c | 13 10 + 3 - 0 !
1 file changed, 10 insertions(+), 3 deletions(-)

 rebuildmap: strip local host name from device name.

When /run/mdadm/map is being rebuilt, e.g. by "mdadm -Ir",
if the device doesn't exist in /dev, we have to choose
a name.
Currently we don't strip the hostname which is wrong if
it is the local host.

Reported-by: Stephen Kent <smkent@smkent.net>
Signed-off-by: NeilBrown <neilb@suse.de>

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
mdmonitor service simplify.diff | (download)

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

 simplify mdmonitor.service