New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pam_fscrypt auth module crashes login process #42
Comments
@fancytenseletters can you run It also appears that the pam module is not being loaded. Did Also, for the PAM configuration, I'm not sure what the correct setup will be for arch. Try removing any entries in |
I'm going to try out fscrypt on a fresh arch installation. After that, I'll update the docs with some arch specific stuff. Right now the docs are really only useful for Ubuntu and Ubuntu-based distributions. |
There are no any other messages in syslog. I'm reproducing it by switching to new VT and it crashes instantly after providing password. I tried to disable every pam auth module except I can add session Here's my recipe for build, you can try it on Archlinux by executing Archlinux AUR package is here (it's for older fscrypt version but you can see comments with updated version which is what I'm using above): https://aur.archlinux.org/packages/fscrypt-git/ BTW: don't hesitate from closing https://github.com/google/fscrypt/pull/43/files and fixing this readme typo yourself if those goglebot concerns are serious. |
@ebiggers (package maintainer) Any thoughts on this? Does Arch's pam system do anything funky compared to Ubuntu's? |
I tried to log in with sddm display manager and it provides more verbose output: Especially those lines:
|
I've found that adding 995 is UID for sddm user, 1001 is UID for login user. Notable errors:
|
Ya, it looks like two issues.
These are currently being fixed in the 'keyrings' branch. |
Just one more log when trying to log in as root:
It seems to me as fscrypt always links user keyring to root in that case it tries to link root keyring to itself. |
After adding pam_fscrypt module to pam auth config it crashes login process after providing password:
my pam sytem-login:
my pam system-auth:
I didn't setup any passwords or protectors yet. Only run
fscrypt setup
System: Archlinux
Kernel: 4.12.8
The text was updated successfully, but these errors were encountered: