Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] dmcrypt-luks systemd timeout at boottime
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
potuz
Guru
Guru


Joined: 30 Jan 2010
Posts: 378

PostPosted: Thu Dec 18, 2014 1:06 am    Post subject: [SOLVED] dmcrypt-luks systemd timeout at boottime Reply with quote

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
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6737
Location: Blighty

PostPosted: Thu Dec 18, 2014 2:40 am    Post subject: Re: dmcrypt-luks systemd timeout at boottime Reply with quote

potuz wrote:
I am not sure how to even begin diagnosing this so any comment it welcome.


It's systemd.

You're not expected to debug it.

:twisted: :twisted: :twisted:
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
potuz
Guru
Guru


Joined: 30 Jan 2010
Posts: 378

PostPosted: Mon Dec 22, 2014 7:46 am    Post subject: Reply with quote

it was that I had compiled sys-fs/cryptsetup -udev

That udev USE flag did the trick. Marking it as solved.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum