Home directory won't be decrypted if user password isn't asked
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eCryptfs |
New
|
Undecided
|
Unassigned | ||
ecryptfs-utils (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
gdm (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: gdm
This is not a duplicate of Bug #353446 even if it's similar.
Description of defect:
If the user enables password-less login through users-admin with encrypted home directory, the next reboot won't decrypt the home directory.
Step to reproduce:
- open users-admin
- click the change button next to password
- tick Don't ask for password on login
- reboot
What's expected to happen:
- the login will suceed and the home directory will be decrypted
What happened:
- the home directory won't be decrypted
- the user will be logged in but with a lot of errors caused from missing files/directories
System:
Ubuntu 10.04 LTS i386 with all updates applied
The similar bug #353446 solved this issue hiding the users with encrypted home from automatic login.
Seeing this in Maverick too. The attached screenshot shows that you simply need
1- to have an encrypted home directory (done at install time)
2- to check the "Don't ask for password on login" option in the user settings
Symptoms are as described above; ICE Authority errors, Nautilus not having permissions to launch, etc.
Strangely enough, if you switch to a virtual terminal (ctrl+alt+F1) and do a "sudo service gdm restart" and then click your username, it logins properly and decrypts the home directory, allowing GNOME to read your prefs etc. So it seems this happens only on the first login attempt, subsequent logins work.