#1106243 debian-live: Using debian-live-12.xx.x persistence-encrypton boot parameter throws error 'Unable to load module dm-crypt' also 'cryptsetup is unavailable'

#1106243#5
Date:
2025-05-21 23:49:36 UTC
From:
To:
Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***

Added persistence-encryption parameter to the kernel boot options.
After the warnings there was no request to unlock crypt and booted with no persistence.

#1106243#10
Date:
2025-08-05 12:04:25 UTC
From:
To:
Hello Joe,

The usage of the kernel option 'persistence-encryption' is documented on
https://live-team.pages.debian.net/live-manual/html/live-manual/customizing-run-time-behaviours.en.html#613

It mentions that the live image needs to be built with two additional
packages 'cryptsetup' and 'cryptsetup-initramfs' for this option to work
properly. However, these packages are currently not installed per
default, so that explains why the functionality is not provided.

However, I think that it is good to re-activate this functionality, so
it is added to the backlog of features to support for forky. Depending
on the impact and/or complexity, it might be considered to be
implemented for one of the point releases of trixie, but definitely not
for the initial release of trixie.

With kind regards,
Roland Clobus

#1106243#13
Date:
2025-08-05 12:04:25 UTC
From:
To:
Hello Joe,

The usage of the kernel option 'persistence-encryption' is documented on
https://live-team.pages.debian.net/live-manual/html/live-manual/customizing-run-time-behaviours.en.html#613

It mentions that the live image needs to be built with two additional
packages 'cryptsetup' and 'cryptsetup-initramfs' for this option to work
properly. However, these packages are currently not installed per
default, so that explains why the functionality is not provided.

However, I think that it is good to re-activate this functionality, so
it is added to the backlog of features to support for forky. Depending
on the impact and/or complexity, it might be considered to be
implemented for one of the point releases of trixie, but definitely not
for the initial release of trixie.

With kind regards,
Roland Clobus

#1106243#20
Date:
2025-08-06 22:53:58 UTC
From:
To:
From: Roland Clobus <rclobus@rclobus.nl>
To: 1106243@bugs.debian.org, 1106243-submitter@bugs.debian.org
Subject: Bug#1106243: Kernel option 'persistence-encryption'
Date: Tue, 5 Aug 2025 14:04:25 +0200