You are not logged in.

#1 2015-01-11 09:57:25

jmanes
Member
From: Kansas City
Registered: 2015-01-10
Posts: 21
Website

[SOLVED] Cannot log in after reboot post ecryptfs

Hello everyone.

I followed the wiki guide here https://wiki.archlinux.org/index.php/EC … _directory.

I encrypted using ecryptfs-migrate-home -u james as root (james was logged out and no processes were running as him, etc) and it seemed to work like a charm. After the migration I logged out of root and logged into james. Gnome 3 loaded and everything seemed to be fine.

However, after rebooting the system the account was rendered unusable. After logging in to james via GDM I would be logged directly back out without any warnings or messages being displayed. Logging into root and su james worked just fine (although I had to run ecryptfs-mount-private to see my files).

Any input on this? Something I missed maybe?

Thanks

Last edited by jmanes (2015-01-11 10:51:39)


Software Engineer. BS in Computer Science.

Offline

#2 2015-01-11 10:03:08

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: [SOLVED] Cannot log in after reboot post ecryptfs

Just guessing having never used ecrptfs before, but it seems like the /home/james is inaccessible when you try to log into it.  Perhaps a misconfig. with how decryption is triggered.

Offline

#3 2015-01-11 10:08:19

jmanes
Member
From: Kansas City
Registered: 2015-01-10
Posts: 21
Website

Re: [SOLVED] Cannot log in after reboot post ecryptfs

Indeed that is what it sounds like. I find it odd that it works perfectly fine up until the very first reboot though. I'm not sure what that is all about. Hopefully someone has a pointer on this.


Software Engineer. BS in Computer Science.

Offline

#4 2015-01-11 10:11:33

Spider.007
Member
Registered: 2004-06-20
Posts: 1,176

Re: [SOLVED] Cannot log in after reboot post ecryptfs

Did you setup automount as described in the wiki or did you decide to go with the described manual method?

Offline

#5 2015-01-11 10:13:19

jmanes
Member
From: Kansas City
Registered: 2015-01-10
Posts: 21
Website

Re: [SOLVED] Cannot log in after reboot post ecryptfs

Spider.007 wrote:

Did you setup automount as described in the wiki or did you decide to go with the described manual method?

I did try to set up auto-mounting but that was after some previous tinkering.. I may give it another shot and I'll report back here if it is still failing.


Software Engineer. BS in Computer Science.

Offline

#6 2015-01-11 10:33:31

jmanes
Member
From: Kansas City
Registered: 2015-01-10
Posts: 21
Website

Re: [SOLVED] Cannot log in after reboot post ecryptfs

I'm back. After re-following the wiki and doing exactly as it specified in order the problem was solved. This was a lack of performance on my part.

If anyone has this issue in the future, just read the wiki and do as it says for auto-mounting!

Thanks everyone.


Software Engineer. BS in Computer Science.

Offline

#7 2015-01-11 10:34:44

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,734
Website

Re: [SOLVED] Cannot log in after reboot post ecryptfs

Mark your thread as [solved] if it is indeed solved.

Offline

Board footer

Powered by FluxBB