Bug#816406: mdadm mkconf doesn't parse mdadm.conf correctly(whitespace)
Adam Heath
doogie at brainfood.com
Tue Mar 1 17:01:19 UTC 2016
Package: mdadm
Severity: minor
Version: 3.3.2-5+deb8u1
/usr/share/mdadm/mkconf attemps to read DEVICE out of
/etc/mdadm/mdadm.conf, using sed. It does this, with a simple regex,
"s/^DEVICE //p". This is not valid. mdadm.conf(5) says you can have any
whitespace after it(space, tab, even newline). The first sentence of
the SYNTAX section, says it's a series of words separated by whitespace.
More information about the pkg-mdadm-devel
mailing list