[pkg-cryptsetup-devel] Bug#1072058: Bug#1072058: Bug#1017542: systemd-cryptsetup at vda5_crypt.service: Control process exited, code=exited, status=1/FAILURE

Guilhem Moulin guilhem at debian.org
Mon Jun 3 00:09:27 BST 2024


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.
-------------- 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/20240603/791838ef/attachment.sig>


More information about the pkg-cryptsetup-devel mailing list