Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 01-21-2014, 09:12 AM   #1
Registered: Apr 2009
Location: Hungary
Distribution: Slackware, OpenBSD
Posts: 50

Rep: Reputation: 16
cryptsetup hangs during shutdown at "Locking LUKS crypt volume ...:"


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?
Old 01-19-2015, 08:45 AM   #2
Registered: Nov 2012
Posts: 204

Rep: Reputation: 68
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.
Old 01-19-2015, 09:09 AM   #3
Registered: Apr 2009
Location: Hungary
Distribution: Slackware, OpenBSD
Posts: 50

Original Poster
Rep: Reputation: 16
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....

1 members found this post helpful.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Kernel 3.10.7 breaks dm-crypt/Luks root volume tux_dude Slackware 10 11-14-2013 11:21 PM
cryptsetup - canīt open luks parittion - "no key available with this passphrase" ts0 Linux - Software 1 06-08-2013 11:46 AM
Different between Device Mapper and DM-Crypt and Cryptsetup , LUKS saeedsssss Linux - Software 1 10-01-2012 02:57 AM
Fedora 16 hangs during startup during "Started NFS file locking service" CGBS Linux - Newbie 1 02-29-2012 07:03 PM
Fedora 14 Shutdown hangs at "iptables unloading modules" farmerdave Fedora 5 02-05-2011 08:06 PM > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:38 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration