Can’t ecryptfs-mount-private after ecryptfs-umount-private
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ecryptfs-utils (Ubuntu) |
Fix Released
|
High
|
Dustin Kirkland | ||
Lucid |
Fix Released
|
High
|
Dustin Kirkland | ||
Maverick |
Invalid
|
High
|
Dustin Kirkland | ||
Natty |
Fix Released
|
High
|
Dustin Kirkland | ||
Oneiric |
Fix Released
|
High
|
Dustin Kirkland |
Bug Description
Binary package hint: ecryptfs-utils
My Private directory does not get mounted after I log in, log out, and log in. Using the ecryptfs-utils commands manually gives me the same result:
anders@
[some private files]
anders@
anders@
Enter your login passphrase:
Inserted auth tok with sig [c2e0b8f13ee13855] into the user session keyring
keyctl_search: Required key not available
Perhaps try the interactive 'ecryptfs-
anders@
THIS DIRECTORY HAS BEEN UNMOUNTED TO PROTECT YOUR DATA -- Run mount.ecryptfs_
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: ecryptfs-utils 86-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.38-5-generic x86_64
NonfreeKernelMo
Architecture: amd64
Date: Sat Feb 26 22:06:27 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Alpha amd64 (20101202)
ProcEnviron:
LANGUAGE=en_US:en
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: ecryptfs-utils
=======
SRU
- Impact: Users who have an encrypted private folder, without filename
encryption, may experience encrypted private mount failures on subsequent
logins. The initial user login will result in a successful mount but once the
user logs out, subsequent logins will fail to automount the encrypted private
folder due to a bug in the automatic key loading.
- How addressed: The encrypted mount helper logic was failing because of an
invalid error condition. This invalid error condition caused a premature
function return before the required file encryption key was inserted into the
kernel keyring. This fix ignores the invalid error condition and allows for the
file encryption key to be properly inserted into the kernel keyring.
TEST CASE: Create a test user, "foo". Login under the "foo" user and run
"ecryptfs-
filename encryption support. Logout and then log back in with the "foo" user
and the encrypted private directory should be properly mounted. Logout and then
log back in with the "foo" user, once again, and the encrypted private
directory will not be mounted.
- Regression potential: Regression potential is small since the logic modified
in the patch is pretty clean.
- Minimal patch: The minimal patch is upstream ecryptfs commit r561:
http://
=======
Related branches
Changed in ecryptfs-utils (Ubuntu): | |
status: | Triaged → Fix Committed |
Changed in ecryptfs-utils (Ubuntu Natty): | |
status: | New → In Progress |
importance: | Undecided → High |
assignee: | nobody → Dustin Kirkland (kirkland) |
Changed in ecryptfs-utils (Ubuntu Oneiric): | |
status: | In Progress → Fix Committed |
Changed in ecryptfs-utils (Ubuntu Lucid): | |
status: | New → In Progress |
Changed in ecryptfs-utils (Ubuntu Maverick): | |
status: | New → In Progress |
Changed in ecryptfs-utils (Ubuntu Lucid): | |
importance: | Undecided → High |
Changed in ecryptfs-utils (Ubuntu Maverick): | |
importance: | Undecided → High |
Changed in ecryptfs-utils (Ubuntu Lucid): | |
assignee: | nobody → Dustin Kirkland (kirkland) |
Changed in ecryptfs-utils (Ubuntu Maverick): | |
assignee: | nobody → Dustin Kirkland (kirkland) |
Changed in ecryptfs-utils (Ubuntu Oneiric): | |
milestone: | none → ubuntu-11.10-beta-2 |
Changed in ecryptfs-utils (Ubuntu Natty): | |
milestone: | none → natty-updates |
Changed in ecryptfs-utils (Ubuntu Maverick): | |
milestone: | none → maverick-updates |
Changed in ecryptfs-utils (Ubuntu Lucid): | |
milestone: | none → lucid-updates |
Changed in ecryptfs-utils (Ubuntu Lucid): | |
status: | In Progress → Fix Committed |
Changed in ecryptfs-utils (Ubuntu Maverick): | |
status: | In Progress → Fix Committed |
Changed in ecryptfs-utils (Ubuntu Natty): | |
status: | In Progress → Fix Committed |
description: | updated |
tags: | added: verification-done-natty |
Hmm, well, this obviously concerns me greatly.
However, I'm not able to reproduce this here.
Can you post a file listing of your ~/.ecryptfs?
ls -alF ~/.ecryptfs
THanks.