Bug#618561: Improper handling of multiple not-running arrays in mdadm-raid

2011-03-17 Thread Michael Tautschnig
Hi Martin, [...] > > Add > test -e $uevent || break > at the top of the loop and this should fix it. Can you please > confirm? > Added and the error message (as expected) goes away. Thanks a lot for the quick response! Best, Michael pgpUWlRnPgai6.pgp Description: PGP signature

Bug#618561: Improper handling of multiple not-running arrays in mdadm-raid

2011-03-17 Thread martin f krafft
tags 618561 patch thanks also sprach Michael Tautschnig [2011.03.16.1332 +0100]: > STATEDIR:/lib/init/rw/.mdadm uevent:/sys/block/md*/uevent sentinel:md*-uevent So there are *no* md devices whatsoever, and the stupid shell hence does not expand. Add test -e $uevent || break at the top of the

Bug#618561: Improper handling of multiple not-running arrays in mdadm-raid

2011-03-16 Thread Michael Tautschnig
Package: mdadm Version: 3.1.4-1+8efb9d1 Severity: minor When executing mdadm-startall on a system with multiple (yet not running) arrays I noticed the following warning, despite things otherwise working fine: test: 259: /lib/init/rw/.mdadm/md0-uevent: unexpected operator Changing /etc/init.d/mda