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.ro...@gmail.com

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to