Bug 744404 - Ecrypt blocks graphical login
Summary: Ecrypt blocks graphical login
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: ecryptfs-utils
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Michal Hlavinka
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-10-08 11:45 UTC by Michael Monreal
Modified: 2012-08-07 17:21 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-07 17:21:45 UTC
Type: ---


Attachments (Terms of Use)

Description Michael Monreal 2011-10-08 11:45:25 UTC
Some time ago (about 2-3 month actually) my system suddenly stopped booting into GDM. Instead, a black screen and a spinning mouse cursor shows. I did not change any system configuration at that time, but I had installed a number of package updates the day before. Sorry for not having the time to file this earlier.

Anyway, going to the text console and logging in there showed this:

login[1156]: ecryptfs: fill_keyring: Unable to get ecryptfs pam data : No module specific data is present

I removed the ecryptfs-utils package and the system booted fine again. 

Yesterday I tried this again... installed ecryptfs-utils, mounted my ~/Private which worked fine. But after reboot I got the same problem again. Any idea what could cause this?

Comment 1 Michal Hlavinka 2011-10-10 07:16:08 UTC
are there any other lines in the logs (/var/log/messages or /var/log/secure )?

The line, you've attached is somehow debug message, it does not mean any problem, if you do not use pam automount.

what is output of 
grep -r ecryptfs /etc/pam.d
on your machine?

And what is content of your /etc/pam.d/postlogin file?
Thanks

Comment 2 Michael Monreal 2011-10-12 13:44:07 UTC
$ grep -r ecryptfs /etc/pam.d
/etc/pam.d/postlogin:auth        optional      pam_ecryptfs.so unwrap
/etc/pam.d/postlogin:password    optional      pam_ecryptfs.so unwrap
/etc/pam.d/postlogin:session     optional      pam_ecryptfs.so unwrap
/etc/pam.d/postlogin-ac:auth        optional      pam_ecryptfs.so unwrap
/etc/pam.d/postlogin-ac:password    optional      pam_ecryptfs.so unwrap
/etc/pam.d/postlogin-ac:session     optional      pam_ecryptfs.so unwrap

$ cat /etc/pam.d/postlogin
#%PAM-1.0
# This file is auto-generated.
# User changes will be destroyed the next time authconfig is run.
auth        optional      pam_ecryptfs.so unwrap

password    optional      pam_ecryptfs.so unwrap

session     optional      pam_ecryptfs.so unwrap

Comment 3 Michael Monreal 2011-10-13 20:24:11 UTC
btw I don't think there is anything of interest in dmesg. this is what I see when logging in root on the console:

[  126.254489] login[1163]: ecryptfs: pam_sm_authenticate: pam auth stack calls pam_ecryptfs module
[  126.254499] login[1163]: ecryptfs: pam_sm_authenticate: pam_ecryptfs: username = [root]
[  126.274294] login[1163]: pam_unix(login:session): session opened for user root by LOGIN(uid=0)
[  126.274305] login[1163]: ecryptfs: fill_keyring: Unable to get ecryptfs pam data : No module specific data is present
[  126.352986] login[1163]: ROOT LOGIN ON tty2

Comment 4 Michal Hlavinka 2011-10-18 09:28:20 UTC
I've just tried to reproduce it on Fedora 15 and it works fine.
Also, it's really odd that gdm does not work, because ecryptfs itself does nothing. It's called when something verifies your password and that's where gdm has already started. So nothing that should affect gdm start.

Do you have your system fully updated? What version of ecryptfs-utils do you use? Do you see any selinux denial messages?

Comment 5 Michael Monreal 2011-10-18 13:13:04 UTC
Yes,everything is up to date. SELinux is completely disabled.

Comment 6 Michal Hlavinka 2011-12-12 16:54:43 UTC
I still don't know what causes this, because I can't reproduce it and there is no obvious error here.

- do you use some special configuration for gdm?
- do you use automatic login?
- did you changed pam configuration?
- do you have fingerprint reader?

please try to reproduce this again. After you reproduce this problem, run following command (it's just a one-line command, bugzilla will split it probably):

tar cvzf /tmp/logs.tgz /var/log/audit/audit.log /var/log/boot.log /var/log/messages /var/log/secure /var/log/gdm/

It will create file /tmp/logs.tgz, please attach it here. 
Thanks

Comment 7 Michael Monreal 2012-04-06 08:11:54 UTC
- do you use some special configuration for gdm?
no - dont even know where I could do this

- do you use automatic login?
on one system I do, one one I don't. both were affected

- did you changed pam configuration?
no (but the ecryptfs package did?)

- do you have fingerprint reader?
on one system, but I think it is disabled

I will try to reproduce this later if I get a chance

Comment 8 Fedora End Of Life 2012-08-07 17:21:47 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


Note You need to log in before you can comment on or make changes to this bug.