unable to unlock encrypted volume
desktop
hgt moderator · 2026-11-13 12:22 UTC
When an encrypted directory is loop mounted via
$ udisksctl loop-setup -f <directory_name>
pcmanfm asks for a passphrase to unlock the volume.
After entering the passphrase that worked properly in SliTaz 5.0, an error message shows
up like that in the appended screenshot.
Is something missing or am I doing something wrong?
pankso moderator · 2026-11-15 09:39 UTC · Solution
You are doing nothing wrong: a package is missing. On the 6.12 kernel the ciphers LUKS uses (xts, essiv...) are modules of linux-lts-crypto, which is not installed by default, and cryptsetup does not pull it yet. dm-crypt itself is there, so the unlock starts and then fails with that "reload ioctl ... No such file or directory".
Install the package and try again:
# spk-add linux-lts-crypto
No reboot needed, the modules load on demand. If it still fails, please send the output of:
# cryptsetup luksDump /dev/loop0 | grep -i cipher
# dmesg | tail
The "/run/cryptsetup is missing" warning is harmless. We are adding linux-lts-crypto to the dependencies of cryptsetup, so the next upgrade installs it by itself. Thanks for the report.
1 thank you
Log in to reply Sign up