LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   cryptsetup hangs during shutdown at "Locking LUKS crypt volume ...:" (https://www.linuxquestions.org/questions/slackware-14/cryptsetup-hangs-during-shutdown-at-locking-luks-crypt-volume-4175492020/)

danielldaniell 01-21-2014 09:12 AM

cryptsetup hangs during shutdown at "Locking LUKS crypt volume ...:"
 
Hi!

Using Slackware-current,

# cat /etc/crypttab:
daniellhome /dev/sda10

$ mount |fgrep home
/dev/sda9 on /home
/dev/mapper/daniellhome on /home/daniell

Every time I reboot or shutdown the machine, after umounting every fs the shutdown process hangs at "Locking LUKS crypt volume 'daniellhome':".
/etc/rc.d/rc.{0,6} would execute `/sbin/cryptsetup luksClose daniellhome`, but it just stays there infinitely.
On the other hand, when I execute the same steps as in that part of the shutdown scripts, I can luksClose that particular luks device.
This is the only luks device on the machine.

Any ideas?

af7567 01-19-2015 08:45 AM

Sorry to post in such an old thread but I am having exactly the same problem on Slackware current. Did you ever fix this? The only way I can shut down is to force power off when it's showing the Locking LUKS crypt volume message.

danielldaniell 01-19-2015 09:09 AM

Never had the chance to work around this. But by now, I got rid of that system, and a new one with e.g LVM + luks for the full disk encrypted, this surprisingly works. Don't know what's up with that....


--
Daniel


All times are GMT -5. The time now is 06:01 PM.