pu: package mdadm/3.1.4-1+8efb9d1+squeeze1
Michael Tokarev
mjt at tls.msk.ru
Sat Sep 10 21:09:35 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Package: release.debian.org
User: release.debian.org at packages.debian.org
Usertags: pu
Severity: normal
Hello.
We'd like to upload a bugfix release of mdadm package for the
next squeeze point release. There are mostly cosmetic changes,
but some of the bugs are very annoying and already made quite
some users unhappy - like the famous #598957, when mdadm monthly
cron job generated useless email messages about i/o scheduling
class for monthly array checks -- this bug alone prompted several
NMU attempts already.
There are a few other changes - some also minor/cosmetic (like
another two annoying monthly messages - #605722 and #618561) or
no monthly check at all in some cases (#611627) , and some are
more serious - like more appropriate dependency-based boot
ordering (#611632, #610421).
There are total of 6 bug fixes in this release. The debdiff is
provided below.
The changes has been run-tested for the previously-buggy cases
and for common non-error cases and appears to work fine.
The upload has been prepared by me, Michael Tokarev, instead
of usual uploader martin f. krafft, -- I'm currently helping
with packaging mdadm. I Cc'ed pkg-mdadm-devel@ to ensure
all mdadm maintainers will know about the proposed upload.
Please allow the upload to stable-p-u.
Thank you,
/mjt
diff -Nru mdadm-3.1.4/debian/changelog mdadm-3.1.4/debian/changelog
- --- mdadm-3.1.4/debian/changelog 2010-09-03 13:06:30.000000000 +0400
+++ mdadm-3.1.4/debian/changelog 2011-09-11 01:00:23.000000000 +0400
@@ -1,3 +1,25 @@
+mdadm (3.1.4-1+8efb9d1+squeeze1) stable; urgency=low
+
+ [ martin f. krafft ]
+ * Do not print io rescheduling info message when run by cron
+ (closes: #598957).
+ * Fix checkarray script so that it does not die after scheduling the first
+ device when there is no scheduling class specified; thanks to Mario
+ 'BitKoenig' Holbe (closes: #611627).
+ * Schedule start/stop of mdadm-raid before/after filesystems are
+ checked&mounted/unmounted; thanks to Mario 'BitKoenig' Holbe
+ (closes: #611632).
+ * Make mdadm-raid init script depend on hostname; thanks to Mario
+ 'BitKoenig' Holbe (closes: #610421).
+ * Work around a shell coding bug for cases when there are zero active
+ devices (closes: #618561).
+
+ [ Michael Tokarev ]
+ * don't print W: auto-read-only in checkarray in quiet mode,
+ thanks to Bernd Hanisch for the patch (Closes: #605722)
+
+ -- Michael Tokarev <mjt at tls.msk.ru> Sat, 10 Sep 2011 00:32:52 +0400
+
mdadm (3.1.4-1+8efb9d1) unstable; urgency=low
* Added patch with Makefile fix from upstream (commit 8efb9d1) to fix
diff -Nru mdadm-3.1.4/debian/checkarray mdadm-3.1.4/debian/checkarray
- --- mdadm-3.1.4/debian/checkarray 2010-09-03 12:44:09.000000000 +0400
+++ mdadm-3.1.4/debian/checkarray 2011-09-10 14:30:22.000000000 +0400
@@ -159,7 +159,7 @@
fi
if [ "$(cat /sys/block/$array/md/array_state)" = 'read-auto' ]; then
- - echo "$PROGNAME: W: array $array in auto-read-only state, skipping..." >&2
+ [ $quiet -lt 1 ] && echo "$PROGNAME: W: array $array in auto-read-only state, skipping..." >&2
continue
fi
@@ -185,7 +185,7 @@
low) arg='-c2 -n7';;
high) arg='-c2 -n0';;
realtime) arg='-c1 -n4';;
- - *) break;;
+ *) continue;;
esac
resync_pid= wait=5
@@ -193,8 +193,8 @@
wait=$((wait - 1))
resync_pid=$(ps -ef | awk -v dev=$array 'BEGIN { pattern = "^\\[" dev "_resync]$" } $8 ~ pattern { print $2 }')
if [ -n "$resync_pid" ]; then
- - echo "$PROGNAME: I: selecting $ionice I/O scheduling class for resync of $array." >&2
- - ionice -p "$resync_pid" $arg
+ [ $quiet -lt 1 ] && echo "$PROGNAME: I: selecting $ionice I/O scheduling class for resync of $array." >&2
+ ionice -p "$resync_pid" $arg || :
break
fi
sleep 1
diff -Nru mdadm-3.1.4/debian/mdadm-raid mdadm-3.1.4/debian/mdadm-raid
- --- mdadm-3.1.4/debian/mdadm-raid 2010-09-03 12:44:09.000000000 +0400
+++ mdadm-3.1.4/debian/mdadm-raid 2011-09-11 00:46:23.000000000 +0400
@@ -8,10 +8,12 @@
#
### BEGIN INIT INFO
# Provides: mdadm-raid
- -# Required-Start: mountkernfs
+# Required-Start: mountkernfs hostname
# Should-Start: udev devfsd
+# X-Start-Before: checkfs mountall
# Required-Stop: mountkernfs
# Should-Stop: udev devfsd
+# X-Stop-After: umountfs
# Default-Start: S
# Default-Stop: 0 6
# Short-Description: MD array assembly
@@ -172,6 +174,7 @@
log_action_begin_msg "Generating udev events for MD arrays"
for uevent in /sys/block/md*/uevent; do
+ test -e $uevent || break
sentinel=${uevent#/sys/block/}; sentinel=${sentinel%/uevent}-uevent
test -e ${STATEDIR:-/doesnotexist}/$sentinel && continue
test -w $uevent || continue
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
iJwEAQECAAYFAk5r0g8ACgkQUlPFrXTwyDiD4AP/WzaSf2UWw+qtHvfUN5V1BTZm
uqgHVcuac4tKkKgxzffh0kW87w9C84IAy4Zwl96D/x9uqiwDqekgBdM8HdmAQOUo
iKuZspzqgs+yKZ72a0UsMJ6DSSUXm7L8lAcoCG2XOOp4BOCn5dWMVm09Q4R+TIFw
8MJfg++2n9ZyZ7kXMkM=
=ClRL
-----END PGP SIGNATURE-----
More information about the pkg-mdadm-devel
mailing list