Please find attached a patch that can be applied to the current repo's
master branch (in https://salsa.debian.org/lechner/mdadm.git ),
addressing this.
I tested this locally on my machine and, as zoltan reported, this
seems to fix it.

Thank you!
-- 
Luís Picciochi Oliveira
Unimos - Associação Tecnológica
From 624202db20fdf3b031053619cd4711c22240e081 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Lu=C3=ADs=20Picciochi=20Oliveira?=
 <pitxyoki+debiansa...@gmail.com>
Date: Sat, 14 Nov 2020 22:50:43 +0000
Subject: [PATCH] Add the 'rm' binary to the initramfs-tools hooks. (Closes:
 #875918)

---
 debian/initramfs/hook | 1 +
 1 file changed, 1 insertion(+)

diff --git a/debian/initramfs/hook b/debian/initramfs/hook
index a8a71e9..586d2a2 100644
--- a/debian/initramfs/hook
+++ b/debian/initramfs/hook
@@ -49,6 +49,7 @@ warn()
 # copy the binary as early as possible
 copy_exec /sbin/mdadm /sbin
 copy_exec /sbin/mdmon /sbin
+copy_exec /usr/bin/rm /sbin
 
 # Copy udev rules, which udev no longer does
 for UDEV_RULE in 63-md-raid-arrays.rules 64-md-raid-assembly.rules; do
-- 
2.20.1

Reply via email to