I am afraid your assumption is incorrect, even with open files pam unmounts home directory.
Looks like only ssh sessions keep home mounted.
Once session is suspended and all ssh connections closed, home folder is gone.

Any suggestions how to solve the problem?


On Tue, Oct 30, 2012 at 11:55 PM, Arnold Krille <arnold@arnoldarts.de> wrote:
Hi,

On Mon, 29 Oct 2012 08:39:26 +0200 Eugene San <eugenesan@gmail.com>
wrote:
> I would like to report a major problem affecting people using home
> folder encryption (ecryptfs) and miscellaneous FUSE mounts.
> When session suspended, user's folders got unmounted.
> As result applications and services left in undefined state and that
> might lead to severe results.
> In addition to banal crashes, dropbox and friends might decide that
> data was deleted locally and sync that to cloud!
>
> I guess above related to the fact all pam sessions are closed during
> suspend. Any ideas how to fix that?

I don't know how your system is configured, but here pam only unmounts
the encrypted homedir when no more apps are accessing the directory.
(I once had to track down gnome-keyring preventing the unmount.)

Have fun,

Arnold

_______________________________________________
X2Go-Dev mailing list
X2Go-Dev@lists.berlios.de
https://lists.berlios.de/mailman/listinfo/x2go-dev