[pkg-cryptsetup-devel] Boot Debian Buster with encrypted root on degraded raid1 (md-raid)

Guilhem Moulin guilhem at debian.org
Thu Jul 25 22:43:52 BST 2019


Hi,

On Sat, 29 Jun 2019 at 17:44:23 +0200, Magnus Sandberg wrote:
> Everything works as expected until I disconnect one of the disks to verify 
> that the system works even in degraded mode. Without the patch below […]

Thanks for your contribution!  But unfortunately the messages sent to
this list are likely to be overlooked if there is no bug report to it.
Could you please file a bug against the ‘cryptsetup-initramfs’ package?
(cf. https://bugs.debian.org ).  Otherwise I'll do it myself.

> +	if [ -x /scripts/local-block/mdadm ] ; then
> +	    /scripts/local-block/mdadm
> +	fi

I'm unsure about this, mdadm's local-block script may delete the count
file, and local_device_setup() has a more complex logic around calling
the script.  Perhaps we should use that to work array degraded modes.
Anyway for the sake of transparency, the discussion belongs to a bug
report :-P

Cheers,
-- 
Guilhem.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/pkg-cryptsetup-devel/attachments/20190725/246f0e2d/attachment.sig>


More information about the pkg-cryptsetup-devel mailing list