mdadm-raid init script fails with default /etc/mdadm.conf file
The default /etc/mdadm.conf file has just lines started with ‘#’ symbol
and has no ARRAY… like strings by default.
$(awk ‘{print $2}’ /etc/mdadm.conf) parses the default /etc/mdadm.conf
file incorrectly and so init script fails.
(from redmine: issue id 652, created on 2011-05-20, closed on 2011-05-27)
- Changesets:
- Revision da2ac01c on 2011-05-23T13:13:04Z:
main/mdadm: init.d script ignore comments in mdadm.conf
ref #652
- Revision 5bbd39ad on 2011-05-24T13:33:26Z:
main/mdadm: init.d script ignore comments in mdadm.conf
fixes #652
(cherry picked from commit da2ac01c0ce27f102ee58913eb257aaabf592614)