On Tue, Jul 22, 2025 at 04:18:10PM +0200, Daniel Baumann wrote: > hmm.. I had a look at this several times, however, I coudn't find out why > 'rm' isn't working at that stage/place in initramfs, where it clearly works > before or afterwards for other packages.
I just had another look at this bug. It happens only on machines which do not have "busybox" installed. IIRC initramfs-tools can use various tools either from busybox or from coreutils and klibc-utils. I *guess* if busybox is installed, busybox and all links to it get installed unconditionally. This does not happen if busybox is not installed. Probably the easy way out is to unconditionally have the mdadm hook script install /bin/rm into the initramfs. Chris