On Thu, 12 May 2016 11:48:32 +0300 Dmitry Nezhevenko <d...@dion.org.ua> wrote: > Package: cryptsetup > Version: 2:1.7.0-2 > Severity: normal > > Hi, > > For some reason systemd timeouts while trying to reboot/shutdown machine. > It stuck for around ~2min. > > I think it's caused by cryptsetup encrypted partition. I've encrypted LVM > with root partition plus another encrypted LVM with /mnt/storage > partition. > > It looks like #720340 is similar. But I don't care about 'fail to stop > root crypto disk' issue. Just want to fix huge timeout. > > For me it's pretty difficult to debug it since I don't know systemd > internals. I've followed systemd upstream 'Debugging' page: > > https://freedesktop.org/wiki/Software/systemd/Debugging/ > > As far as I see, systemd firstly umounts /mnt/storage and then tries to > stop cryptography without shutting down lvm vg.
> Kernel: Linux 4.5.3+ (SMP w/8 CPU cores) > Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) > Shell: /bin/sh linked to /bin/dash > Init: sysvinit (via /sbin/init) You are actually using sysvinit, not systemd. My guess is that if you install systemd-sysv (i.e. switch to systemd as PID 1), your problems are gone. Regards, Michael -- -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature