automount and manual mount encryptfs fail - how do I get back my ./Private directory

Asked by ls colby

os - 9.04 all updates applied; 9.04 was a successful and uneventful upgrade from 8.10

User password changed using control-center.

reboot and login successful

./Private locked

mount.ecryptfs_private failed.

ecryptfs-mount-private worked using old login password

reboot and login successful

./Private required manual mount again

ecryptfs-wrap-passphrase ~/.ecryptfs/wrapped-passphrase used to reset ecryptfs password to login password

reboot and login successful

completely unable to access ./Private using any command or password

If I do ecryptfs-unwrap-passphrase ~/.ecryptfs/wrapped-passphrase

and enter the password I expect to use, I see the unwrapped password on stdout which matches the password I enter for my login password

A clean reboot shows the following in syslog:

...
Dec 18 17:07:56 venice gdm[2688]: pam_sm_authenticate: Called
Dec 18 17:07:56 venice gdm[2688]: pam_sm_authenticate: username = [colby]
Dec 18 17:07:56 venice gdm[2688]: Warning: Using default salt value (undefined in ~/.ecryptfsrc)
Dec 18 17:07:58 venice gdm[2688]: Mount of private directory return code [256]

...

and

colby@venice:~/Private$ cd
colby@venice:~$ mount.ecryptfs_private
keyctl_search: Required key not available
Perhaps try the interactive 'ecryptfs-mount-private'

THEN:

colby@venice:~$ ecryptfs-mount-private
Enter your login passphrase:

Warning: Using default salt value (undefined in ~/.ecryptfsrc)
Error: Unwrapping passphrase and inserting into the user session keyring failed [1]
Info: Check the system log for more information from libecryptfs
ERROR: Your passphrase is incorrect
Enter your login passphrase:
colby@venice:~$

The following syslog entries occurred:

Dec 18 17:15:40 venice ecryptfs-insert-wrapped-passphrase-into-keyring: Passphrase key already in keyring; rc = [1]
Dec 18 17:15:40 venice ecryptfs-insert-wrapped-passphrase-into-keyring: ecryptfs_add_passphrase_key_to_keyring: Error adding auth tok with sig [11d948cf5e72b8db] to the keyring; rc = [1]
Dec 18 17:15:40 venice ecryptfs-insert-wrapped-passphrase-into-keyring: Error attempting to add filename encryption key to user session keyring; rc = [1]
Dec 18 17:15:40 venice ecryptfs-insert-wrapped-passphrase-into-keyring: Passphrase key already in keyring; rc = [1]
Dec 18 17:15:40 venice ecryptfs-insert-wrapped-passphrase-into-keyring: ecryptfs_add_passphrase_key_to_keyring: Error adding auth tok with sig [dfb57bc28f8382be] to the keyring; rc = [1]
Dec 18 17:15:40 venice ecryptfs-insert-wrapped-passphrase-into-keyring: Error attempting to add passphrase key to user session keyring; rc = [1]

How do I get back my ./Private directory

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu ecryptfs-utils Edit question
Assignee:
No assignee Edit question
Solved by:
ls colby
Solved:
Last query:
Last reply:
Revision history for this message
Sam_ (and-sam) said :
#1
Revision history for this message
ls colby (ls-colby) said :
#2

Thanks Sam, the url you supplied had the answer and enabled me to mount my Private directory. I must have missed this the first time I googled for an answer.

Revision history for this message
Sam_ (and-sam) said :
#3

Glad it helped and no problem, how was the saying, four eyes see more than two ;-)