Bug#1110746: orphan-sysvinit-scripts: mdadm scripts not installed even if package mdadm is installed

Håkan T Johansson f96hajo at chalmers.se
Mon Aug 11 15:45:46 BST 2025


Hi,

the problem with the machine not booting was not the missing mdadm script, 
but that I had managed to scramble one of the raid members*, such that the 
root filesystem could not be mounted.  Also an fsck did not work.
After failing that raid member, booting worked!

* Likely due to running grub-install manually, just to be 'safe'.
   That did not turn out too well..

---

However, the /etc/init.d/mdadm was as expected found to be missing.

I'm now on thin ice, since I do not know what is needed for booting with 
an md device to be sucessful, or how the necessary parts are found when 
the initramfs image is built.

In case it is of any help, I attach a list of files in the initramfs 
before and after tricking /etc/init.d/mdadm into existance as in the 
original report.  Also a dmesg before and after.

I do not see any significance differences between any of the files.
That is perhaps to be expected, since boot was successful.

---

Since the missing /etc/init.d/mdadm was not the cause of the machine 
becoming unbootable, I think the severity of this bug lowered.

Thanks for keeping sysvinit workable!

Best regards,
Håkan
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ls__etc_init.d__before.txt
URL: <http://www.chiark.greenend.org.uk/pipermail/debian-init-diversity/attachments/20250811/9aa063af/attachment-0006.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ls__etc_init.d__after.txt
URL: <http://www.chiark.greenend.org.uk/pipermail/debian-init-diversity/attachments/20250811/9aa063af/attachment-0007.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lsinitramfs__initrd.img-6.12.38+deb13-amd64__before.txt
URL: <http://www.chiark.greenend.org.uk/pipermail/debian-init-diversity/attachments/20250811/9aa063af/attachment-0008.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: lsinitramfs__initrd.img-6.12.38+deb13-amd64__after.txt
URL: <http://www.chiark.greenend.org.uk/pipermail/debian-init-diversity/attachments/20250811/9aa063af/attachment-0009.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dmesg__before.txt
URL: <http://www.chiark.greenend.org.uk/pipermail/debian-init-diversity/attachments/20250811/9aa063af/attachment-0010.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dmesg__after.txt
URL: <http://www.chiark.greenend.org.uk/pipermail/debian-init-diversity/attachments/20250811/9aa063af/attachment-0011.txt>


More information about the Debian-init-diversity mailing list