mdcfg hides errors from mdadm, and appears to succeed

Bug #13008 reported by Danilo Piazzalunga
6
Affects Status Importance Assigned to Milestone
mdcfg (Ubuntu)
Invalid
Wishlist
Fabio Massimo Di Nitto

Bug Description

It appears that mdcfg does not perform any error checking upon calling mdadm:
the md_create_raid[015]() functions simply call mdadm and return. Although it is
unlikely that something does wrong, it is confusing that the installer "hides"
the error and appears to succeed.

Should this be regarded as a completely bogus request, I'm sorry for the noise.

Revision history for this message
Fabio Massimo Di Nitto (fabbione) wrote :

I did check the code and there is no need to perform such sanity check since they are all done way before invoking mdadm.

Fabio

Changed in mdcfg:
status: Unconfirmed → Rejected
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.