Comment 3 for bug 507150

Revision history for this message
Dustin Kirkland  (kirkland) wrote :

There is a counter in /dev/shm/ecryptfs-$USER-Private. You can cat that file.

Your home directory won't be unmounted until that counter hits 0.

On a normal a) login, b) do stuff, c) logout, that counter will go from a) 0, b) 1, c) 0. And it will be unmounted properly.

A login can consist of any of a graphical login, an ssh login, and a tty console login.

The counter exists such that if you're logged in graphically, and then you ssh in, you now have a counter of 2. You will need to exit both of those sessions to get the session back down to 0, and to have PAM unmount it.

My guess is that you have logged in multiple times, and one of those sessions is still open. I do this sometimes, with SSH + screen.

Cron can also cause issues.

Do any of these situations explain your issue?

:-Dustin