Re: Bug#598957: NMU of mdadm for squeeze-proposed-upates
- To: Philipp Kern <pkern@debian.org>
- Cc: 598957@bugs.debian.org, debian-release@lists.debian.org
- Subject: Re: Bug#598957: NMU of mdadm for squeeze-proposed-upates
- From: Dominic Hargreaves <dom@earth.li>
- Date: Tue, 13 Sep 2011 16:01:12 +0100
- Message-id: <[🔎] 20110913150112.GB1521@urchin.earth.li>
- In-reply-to: <20110827125550.GA25101@spike.0x539.de>
- References: <4DBFA62F.1020404@debian.org> <20110503180430.GX2809@radis.liafa.jussieu.fr> <20110504061901.GD28916@fishbowl.rw.madduck.net> <1304490968.4857.2.camel@Nokia-N900-42-11> <20110606115909.GR29167@urchin.earth.li> <20110827125550.GA25101@spike.0x539.de>
On Sat, Aug 27, 2011 at 02:55:50PM +0200, Philipp Kern wrote:
> On Mon, Jun 06, 2011 at 12:59:09PM +0100, Dominic Hargreaves wrote:
> > +1 for this patch to be applied in stable. Apart from the inconvenience
> > of being emailed by all your Debian systems using mdadm once a month,
> > sending people an email about a normal situation is likely to mean that
> > people miss the occasion when something isn't normal.
>
> This is still unfixed in sid, though.
Indeed so.
In any case, since I have rolled this out on some servers I manage,
I thought I may as well confirm that a patch (attached) adopted from
<http://anonscm.debian.org/gitweb/?p=pkg-mdadm/mdadm.git;a=commit;h=219ef9a6c6a5e6bd1747bca4d13b72ae95ff9512>
applied on squeeze seems to work okay.
--
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)
diff -urN mdadm-3.1.4/debian/checkarray mdadm-3.1.4.fixed//debian/checkarray
--- mdadm-3.1.4/debian/checkarray 2010-09-03 09:44:09.000000000 +0100
+++ mdadm-3.1.4.fixed//debian/checkarray 2011-08-10 17:08:34.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
Reply to: