[pkg-cryptsetup-devel] Bug#875642: Bug#875642: /sbin/cryptsetup: blocked in semop on shutdown waiting for already terminated systemd-udevd

Guilhem Moulin guilhem at debian.org
Tue Sep 12 23:57:23 UTC 2017

Hi Ivan,

On Wed, 13 Sep 2017 at 00:28:44 +0300, Ivan Krylov wrote:
> Since my setup is going to need keyscripts, I have installed
> sysvinit-core shotrly after upgrading to Stretch.

Note that you could also add the ‘initramfs’ option to the cryptab(5)
entry of these devices so they can be unlocked at initramfs stage using
cryptsetup initramfs boot scripts, before switching to the normal kernal
and init process.
> Since then, "Stopping crypto disks..." hangs indefinitely on shutdown while cryptsetup
> is blocked in semop() syscall. Once I managed to call shutdown from single-user mode
> and pressed Alt-SysRq-E once it hung, which caused recovery shell prompt to appear;
> thus I got the attached backtrace.

Smells like #791944. Does my patch from https://bugs.debian.org/791944#181
fix the problem?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20170913/b727f0d4/attachment.sig>

More information about the pkg-cryptsetup-devel mailing list