If at all possible, I would suggest that auto-mount/unmount keep a
counter file in the ~/.ecryptfs directory, ++counter when the user logs
in, --counter when logs out, unmount only if counter == 0.

I guess there could be side effects when a session crashes, leaving the
counter in a bad state. That could be circumvented with a cleanup
procedure invoked at stratup, maybe?

** Changed in: ecryptfs-utils (Ubuntu)
       Status: New => Confirmed

-- 
Ecryptfs Private Directory Randomly Unmounts
https://bugs.launchpad.net/bugs/259293
You received this bug notification because you are a member of eCryptfs,
which is subscribed to ecryptfs-utils in ubuntu.

Status in “ecryptfs-utils” source package in Ubuntu: Confirmed

Bug description:
Binary package hint: libecryptfs0

On my Asus EEE901, I have set up an encrypted private directory as per 
instructions on one of the developers blogs. It works perfectly, except that it 
seems to randomly unmount - it seems to be triggered by shutting the lid, but 
not always.

This is Ubuntu Intrepid, all updates current, KDE desktop. All there is within 
my Private folder is .ssh/, .gnupg/, .opera/, and Documents/ all symlinked to 
the same name in my home folder.

It's possible that this is by design that it unmounts when you leave your 
laptop, but if so this is redundant as it can be remounted immediately by using 
the mount.ecryptfs_private command without password prompting.

_______________________________________________
Mailing list: https://launchpad.net/~ecryptfs
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~ecryptfs
More help   : https://help.launchpad.net/ListHelp

Reply via email to