Bug#598957: What are the chances for a one-line-patch for a non-RC bug to still get into squeeze?
Alexander Kurtz
kurtz.alex at googlemail.com
Wed Jan 12 12:43:07 UTC 2011
Hi,
mdadm has got a bug[1] which makes it send unnecessary mail every month.
Florian Hinzmann <fh at debian.org> suggested[2] a trivial patch:
root at marvin:~# diff -u /usr/share/mdadm/checkarray.20101209.dist.not-quiet /usr/share/mdadm/checkarray
--- /usr/share/mdadm/checkarray.20101209.dist.not-quiet 2010-09-03 11:11:00.000000000 +0200
+++ /usr/share/mdadm/checkarray 2010-12-09 15:29:38.000000000 +0100
@@ -193,7 +193,7 @@
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
+ [ $quiet -lt 1 ] && echo "$PROGNAME: I: selecting $ionice I/O scheduling class for resync of $array." >&2
ionice -p "$resync_pid" $arg
break
fi
This would fix the issue in the same way, in which the problem is
addressed in the rest of the code (attached for reference).
The maintainer thinks[3], that it's too late for squeeze now. Is he
right, or would there be a realistic chance to get this really small,
yet very useful patch still into squeeze?
Best regards
Alexander Kurtz
[1] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598957
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598957#19
[3] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=598957#29
-------------- next part --------------
A non-text attachment was scrubbed...
Name: checkarray
Type: application/x-shellscript
Size: 5989 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20110112/bef46a95/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20110112/bef46a95/attachment.pgp>
More information about the pkg-mdadm-devel
mailing list