ecryptfs fails to mount (Unable to link the KEY_SPEC_USER_KEYRING into the KEY_SPEC_SESSION_KEYRING)

Bug #1234412 reported by iblue
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ecryptfs-utils (Ubuntu)
Invalid
Undecided
Unassigned
linux (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

ecryptfs seems to be currently broken on Trusty.
System: Trusty
Linux: 3.13.0-8-generic #28-Ubuntu
ecryptfs: 103-0ubuntu2 or 104-0ubuntu1

Any attempt to mount fails with:
Unable to link the KEY_SPEC_USER_KEYRING into the KEY_SPEC_SESSION_KEYRING; there is something wrong with your kernel keyring. Did you build key retention support into your kernel?

Original reporter mentioned earlier kernel also:
------------------------------------------------

I am using the fedora 19 default kernel, which should have ecryptfs support. I don't think something is wrong with my kernel. Nevertheless I get this strange error message. Googling it lead to nothing, so I suspect this is a bug in ecryptfs?

 iblue@silence  ~/ecrypt-test  lsmod | grep ecrypt
ecryptfs 85466 0
encrypted_keys 18502 1 ecryptfs
 iblue@silence  ~/ecrypt-test  mkdir -m 700 private
 iblue@silence  ~/ecrypt-test  sudo mount -t ecryptfs private private
Unable to link the KEY_SPEC_USER_KEYRING into the KEY_SPEC_SESSION_KEYRING; there is something wrong with your kernel keyring. Did you build key retention support into your kernel?
 ✘ iblue@silence  ~/ecrypt-test  uname -a
Linux silence 3.10.11-200.fc19.x86_64 #1 SMP Mon Sep 9 13:03:01 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
---------------------------------------------------

Eugene San (eugenesan)
summary: - ecryptfs exits with error message
+ ecryptfs fails to mount (Unable to link the KEY_SPEC_USER_KEYRING into
+ the KEY_SPEC_SESSION_KEYRING)
description: updated
Changed in ecryptfs:
status: New → Confirmed
Eugene San (eugenesan)
affects: ecryptfs → linux (Ubuntu)
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
importance: Undecided → Medium
Revision history for this message
Eugene San (eugenesan) wrote :

After upgrade to Linux 3.13.0-11.31, the problem is gone.

I guess if no one will report the opposite, bug can be set as fixed.

Tim Gardner (timg-tpi)
Changed in ecryptfs-utils (Ubuntu):
status: New → Invalid
Changed in linux (Ubuntu):
status: Incomplete → Fix Released
Revision history for this message
Eugene San (eugenesan) wrote :

Refer to #1377924 if you still encounter the problem.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.