View previous topic :: View next topic |
Author |
Message |
potuz Guru
Joined: 30 Jan 2010 Posts: 378
|
Posted: Thu Dec 18, 2014 1:06 am Post subject: [SOLVED] dmcrypt-luks systemd timeout at boottime |
|
|
I just went through the process of encrypting /home with dmcrypt+lucks. I am having trouble mounting the encrypted disk at boot time. Systemd prompts for a password
Code: |
(1 of 2) a start job is running for Cryptography Setup for home
|
and just after I type the right password it goes to
Code: |
(2 of 2) a start job is running for dev-mapper-home.device
|
which times out after 90 seconds. Then since it can't mount /home it goes into an emergency mode. What bugs me is that as soon as I type root's password, at the console prompt I can mount /home without trouble, so the encrypted device is being opened by cryptsetup.
My /etc/crypttab consists simply of the line "home /dev/sda3" (I also had this with the right UUID with no change) and my /etc/fstab contains the line
"/dev/mapper/home /home auto 0 0"
I am not sure how to even begin diagnosing this so any comment it welcome.
Last edited by potuz on Mon Dec 22, 2014 7:46 am; edited 1 time in total |
|
Back to top |
|
|
UberLord Retired Dev
Joined: 18 Sep 2003 Posts: 6835 Location: Blighty
|
|
Back to top |
|
|
potuz Guru
Joined: 30 Jan 2010 Posts: 378
|
Posted: Mon Dec 22, 2014 7:46 am Post subject: |
|
|
it was that I had compiled sys-fs/cryptsetup -udev
That udev USE flag did the trick. Marking it as solved. |
|
Back to top |
|
|
|