Post

Ubuntu AutoMount eCrypt Fix

In Uncategorized on June 20, 2010 by Alexander Mendez Tagged: , , ,

Today I was upgrading my Ubuntu 10.04 LTS, virtual machine, and it seems like one of the upgraded packages broke the auto mounted encrypted home mounts.  Here are some of the possible upgrades that might have broken things:

[snip]
 2010-06-20 20:36:52 configure libkrb5support0  1.8.1+dfsg-2ubuntu0.1 1.8.1+dfsg-2ubuntu0.1
 2010-06-20 20:36:52 configure libk5crypto3 1.8.1+dfsg-2ubuntu0.1  1.8.1+dfsg-2ubuntu0.1
 2010-06-20 20:36:52 configure libkrb5-3 1.8.1+dfsg-2ubuntu0.1  1.8.1+dfsg-2ubuntu0.1
 2010-06-20 20:36:52 configure libgssapi-krb5-2 1.8.1+dfsg-2ubuntu0.1  1.8.1+dfsg-2ubuntu0.1
 2010-06-20 20:36:54 configure gnome-keyring 2.92.92.is.2.30.1-0ubuntu2  2.92.92.is.2.30.1-0ubuntu2
 2010-06-20 20:36:54 configure libpam-gnome-keyring  2.92.92.is.2.30.1-0ubuntu2 2.92.92.is.2.30.1-0ubuntu2
[snip]

I was able to fix it, by making a link:

cd $HOME
sudo ln -s $HOME/.Private $HOME/Private

With this fix, if I ssh in it seemed to fix the automatic mount, even without other sessions logged into the system.

EDIT:  This does not seem to fix the situation after a reboot.  I think it has to do with permissions of something, but still looking into it.  After sudoing a command, it seems future ssh attempts mount the ecrypted home.

ecryptfs-mount-private

Filled a bug report here: https://bugs.launchpad.net/ubuntu/+source/ecryptfs-utils/+bug/596994

Advertisement

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Follow

Get every new post delivered to your Inbox.