Comment 8 for bug 1852747

Revision history for this message
Guilherme G. Piccoli (gpiccoli) wrote :

Hi Alexey, thanks for your report! And thanks legioner for your comment and patch. I think this is indeed a bug, we have systemd services for mdcheck but the script itself is not in the package.
For Bionic, neither the script or systemd services are present.

Debian came-up with the "checkarray" approach long time ago [0]; it does pretty much the same as mdcheck, with some small differences (checkarray allows you to ionice the process, mdcheck allows to stop/continue the process, etc). I disagree with legioner patch portion that "removes" the checkarray, I don't see a reason for this. At the same time, we should either (a) include mdcheck in the package, or (b) remove the systemd mdcheck-related patches and officially not support mdcheck.

I've noticed mdadm has the same issue on Debian Sid, not containing the script mdcheck (although the systemd services are there), so my suggestion is to also open a Debian bug about this (and link it here in the Launchpad) to get the input from the Debian mdadm maintainers on the subject.

Cheers,

Guilherme

[0]https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=377071