← Back to team overview

ecryptfs team mailing list archive

[Bug 358573] Re: ecryptfs private directory randomly unmounts

 

I've been having the same problems as well.  I have my Firefox profile
located under the ~/Private folder and I've had Firefox mysterious
crashes multiple times per day over the last week.  I finally figured
out what was happening, and sure enough, after each crash I realized
that ~/Private was no longer mounted.

I've seen this happen in a little as 15 minutes after running ecryptfs-
mount-private.  Other times the mount says up for a long time; even
across suspend/resume cycles (which I thought could have been the
problem, but that does not appear to be the case.)

Side note:   I used encfs in earlier releases of Ubuntu (prior to when
encrypted "Private" folders were offered as an out-of-the-box feature).
I stored my Firefox profile on there with no unmounting issues like this
(normally you had the exact opposite issue, where it was difficult to
get encfs to unmount after a certain timeout period.)  In any case, with
Firefox running, it seems pretty likely that it would being holding
files open.

I've looked around but haven't found any log messages indicates
what/when/why this is happening.  (ecryptfs doesn't seem to do much
logging; but I haven't looked into the options)

-- 
ecryptfs private directory randomly unmounts
https://bugs.launchpad.net/bugs/358573
You received this bug notification because you are a member of eCryptfs,
which is subscribed to ecryptfs-utils in ubuntu.

Status in eCryptfs - Enterprise Cryptographic Filesystem: Confirmed
Status in “ecryptfs-utils” source package in Ubuntu: Confirmed

Bug description:
Binary package hint: ecryptfs-utils

This seems to be bug #259293, but I am filing a new one as I haven't seen this in some time. Twice in the last week my ~/Private directory unmounted. Both times /tmp/ecryptfs-<user>-Private was '0'. Both times, the symlink in the unmounted ~/Private was not present.  I have a cron job that runs every 10 minutes that I can see in syslog:

Apr  9 11:15:04 hostname CRON[22771]: Mount of private directory return code [0]

It could be that bug #259293 is simply 'mostly' fixed and I coincidentally hit this twice in the last week, or it could be a new bug (I don't know).

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
Package: ecryptfs-utils 73-0ubuntu2
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ecryptfs-utils
Uname: Linux 2.6.28-11-generic x86_64



References