On Sun, 02 Jun 2024 at 23:35:57 +0100, Luca Boccassi wrote:
> Yes, the purpose of the option is to leave that device alone, as it
> cannot be closed from the host os, as programs will be running from
> it.

It doesn't leave the device alone though as it still tries to detach it.

> I gather the initramfs scripts are not calling a deferred close after
> mounting the rootfs in the initrd. If you add that, the device should
> be automatically cleaned up when the root filesystem is umounted.

initramfs-tools doesn't take the system back on shutdown, so there is
nothing src:cryptsetup can do here.

-- 
Guilhem.

Attachment: signature.asc
Description: PGP signature

Reply via email to