Ok, I think I could fix the issue for me now. The ecryptfs modules
were missing in /etc/pam.d due to a modification of some of these
files I made ages ago. After checking twice that I wouldn't need
those changes anymore, the following command fixed it for me:
---
pam-auth-update --force
---

Most blog posts just assume that ecryptfs is set up correctly in
pam.d and googling for the ICEAuthority error message did not give
any useful results. Just one blog post (which was not mentioning
ICEAuthority) got me on the right track as it explicitly mentioned
the configuration of pam.d. And trying to reinstall ecryptfs-utils
then confirmed the PAM issues with the following error message:
---
pam-auth-update: Local modifications to /etc/pam.d/common-*, not updating.
pam-auth-update: Run pam-auth-update --force to override.
---

Maybe some sanity checks, maybe even a call to
"pam-auth-update --package ecryptfs-utils", could be added to
ecrypts-migrate-home before doing any changes to the home
directory? For some people being locked out of their X session
could be scary even though ecryptfs-migrate-home makes a backup
and this lock-out could have been prevented.


Cheers, Linus

PS: Despite from this pam issue ecryptfs-migrate-home worked
flawlessly, thanks for this great script and ecryptfs in general!



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to