[pkg-cryptsetup-devel] Bug#792552: Bug#792552: still doesn't continue shutdown process

Pali Rohár pali.rohar at gmail.com
Sun May 28 21:41:56 UTC 2017


On Sunday 28 May 2017 21:26:53 Guilhem Moulin wrote:
> Hi Pali,
> 
> On Thu, 25 May 2017 at 18:23:00 +0200, Pali Rohár wrote:
> > Same problem there. I have up-to-date Debian Stretch with
> > LUKS-encrypted rootfs and system hangup on every shutdown or
> > reboot.
> > 
> > I debugged this problem and found out that after this log message
> > 
> > [....] Stopping remaining crypto disks...
> > 
> > is called cryptsetup luksClose <disk> And cryptsetup itself freeze.
> 
> Which init system are you using?  Your diagnostic looks pretty much
> like
> 
>     https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=791944#27

Exactly.

> which as I explained in message #86 is due to /etc/init.d/sendsigs
> killing systemd-udevd at shutdown/reboot time, thereby causing
> dmsetup to hang.

And removing remaining socket file /run/udev/control before invoking 
cryptsetup fixes hanging.

> The udev/systemd maintainers have fixed #791944,
> but their fix probably didn't land into Stretch yet.

Seems it is not in Stretch yet: http://metadata.ftp-master.debian.org/changelogs/main/s/systemd/systemd_232-23_changelog

Should I create release bug report for Stretch? This seems to be a big 
problem if shutdown/reboot procedure hangs when using encrypted disk.

-- 
Pali Rohár
pali.rohar at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-cryptsetup-devel/attachments/20170528/476dfa2d/attachment.sig>


More information about the pkg-cryptsetup-devel mailing list