Bug#875918: workaround

zoli temezs at freemail.hu
Sat Oct 14 06:26:46 UTC 2017


The problem is that there is no /bin/rm in the initrd at all. A simple workaround is: in/usr/share/initramfs-tools/hooks/mdadm = copy_exec /sbin/mdadm /sbin
= copy_exec /sbin/mdmon /sbin
+ copy_exec /bin/rm /bin
  I am not familiar with the details, what may be the risks, etc, but mdadm seems to be happy with this. An occasion, when I have observed that the rm in local-block/mdadm was used, when after some lockup I rebooted. mdadm uses rm in/usr/share/initramfs-tools/scripts/local-block/mdadm rm -f /run/count.mdadm.initrd and in/usr/share/initramfs-tools/scripts/local-bottom/mdadm /bin/rm -f /run/count.mdadm.initrd
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-mdadm-devel/attachments/20171014/4ac4a056/attachment.html>


More information about the pkg-mdadm-devel mailing list