← Back to team overview

ecryptfs team mailing list archive

[Bug 259293] Re: Ecryptfs Private Directory Randomly Unmounts

 

My user has a cronjob setup to run 4 times a day, and every time the
cronjob finishes, my ~/Private dir is unmounted. I ran a small script to
print the exact time in which the directory was unmounted and then I
matched that against /var/log/auth.log -- that's how I realized it was
unmounted after my cronjob finishes.  This is what I have in
/var/log/auth.log

Oct  9 18:05:01 feioso CRON[32102]: pam_unix(cron:session): session opened for user salgado by (uid=0)
...
Oct  9 18:07:00 feioso CRON[32102]: pam_unix(cron:session): session closed for user salgado

At that point my user's ~/Private was unmounted.

-- 
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: Invalid

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.