[Bug 1589083] Re: crypsetup hangs when only cryptsetup-bin is installed

Adrien Beau 1589083 at bugs.launchpad.net
Tue Oct 24 22:34:36 UTC 2017


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, it appears to be stuck on a semaphore:

# strace -p 8230
strace: Process 8230 attached
semop(65538, [{0, 0, 0}], 1^Cstrace: Process 8230 detached
 <detached ...>

(The hangs appears to happen after the mapper has been created, so one
must run cryptsetup luksClose before running another luksOpen command.)

After installing the "cryptsetup" package, everything works fine again.
Clearly, "cryptsetup-bin" should Depend on or at least Recommend
"cryptsetup".

Ubuntu release: 16.04
Source package: cryptsetup
Package version: 2:1.6.6-5ubuntu2.1

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to cryptsetup in Ubuntu.
https://bugs.launchpad.net/bugs/1589083

Title:
  crypsetup hangs when only cryptsetup-bin is installed

Status in cryptsetup package in Ubuntu:
  Confirmed

Bug description:
  According to http://ubuntuforums.org/showthread.php?t=2326677, the
  user types "cryptsetup", is prompted (presumably by command-not-found)
  to install cryptsetup-bin, and then subsequently the cryptsetup
  command hangs.

  I would expect either cryptsetup-bin to depend on cryptsetup, or for
  the cryptsetup command to do something more useful than hang.

  I have not verified this reported behaviour but thought it worthy of a
  report.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1589083/+subscriptions



More information about the foundations-bugs mailing list