Cryptsetup hangs like this:
$ sudo cryptsetup -v --debug luksOpen /dev/sdb sdb
... (stuff omitted)
Enter passphrase for /dev/sdb:
# Trying to open key slot 0 [ACTIVE_LAST].
# Reading key slot 0 area.
# Using userspace crypto wrapper to access keyslot area.
Key slot 0 unlocked.
# Calculated
This issue breaks encrypted drive support on a LTS release of Ubuntu.
The workaround is easy (installing cryptsetup), but finding this bug
report is more difficult. So I think this is an important issue.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
Preloading the attached shared library solves the hang on non-udev
initrds. Compile with
gcc -shared -fPIC -o no-udev.so UdevDisableLib.c -ldl
Difference seems to be that /dev/mapper/ entries are created a s block
devices, not symlinks any more. But that does not hurt in my usecase
(kexec will
Sorry for the double-posting, the idea only occurred to me after sending
my first comment.
Installing the "cryptsetup" package installs several dependencies,
including a lot of boot-time stuff I do not need. I wondered if one of
the dependencies could solve the problem by itself, and it turns out
I can confirm this on 16.04 32bit from a fresh minimal install.
* The container had been working fine for many years on 12.04 32bit
* The container was still working a few days ago before switching to 16.04
* cryptsetup luksOpen hangs without further notification
More accurately, using strace,
** Changed in: cryptsetup (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1589083
Title:
crypsetup hangs when only cryptsetup-bin is installed
To manage
I can confirm this on 16.04.1 64bit from a fresh minimal install.
* cryptsetup luksFormat works after installing cryptsetup-bin
* cryptsetup luksOpen hangs without further notification
After installation of the Package cryptsetup, 'cryptsetup luksOpen'
works as expected.
--
You received
(the user reported that this is on Xenial but didn't provide any version
numbers)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1589083
Title:
crypsetup hangs when only cryptsetup-bin is installed