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

Roman Fiedler roman.fiedler at ait.ac.at
Mon Jan 29 10:09:41 UTC 2018


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 kill the whole initrd immediately afterwards).

** Attachment added: "UdevDisableLib.c"
   https://bugs.launchpad.net/ubuntu/+source/cryptsetup/+bug/1589083/+attachment/5044911/+files/UdevDisableLib.c

-- 
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