ecryptfs team mailing list archive
-
ecryptfs team
-
Mailing list archive
-
Message #01064
[Bug 358573] Re: ecryptfs private directory randomly unmounts
Seeing the same problem here, I just wrote a little script to analyze
how often the unmounting happens. It checks the Private dir every
minute, and if it appears to be unmounted, it spits out a message and
remounts it. The message is accompanied with a timestamp. If somebody
wants to try the script, just install moreutils, download the attached
monitor_private_dir.sh and run it in a shell.
Output on my machine, after starting the script yesterday at 07:58:
ur@joda:~> bin/monitor_private_dir.sh
Mai 14 07:58:08 ~/Private was unmounted.
Mai 14 08:40:08 ~/Private was unmounted.
Mai 14 09:40:08 ~/Private was unmounted.
Mai 14 10:00:08 ~/Private was unmounted.
Mai 14 12:20:09 ~/Private was unmounted.
Mai 14 13:00:09 ~/Private was unmounted.
Mai 14 13:30:09 ~/Private was unmounted.
Mai 14 14:00:09 ~/Private was unmounted.
Mai 14 15:00:09 ~/Private was unmounted.
Mai 14 18:00:09 ~/Private was unmounted.
Mai 14 20:30:10 ~/Private was unmounted.
Mai 14 21:00:10 ~/Private was unmounted.
Mai 14 22:00:10 ~/Private was unmounted.
Mai 14 23:30:10 ~/Private was unmounted.
Mai 15 00:40:10 ~/Private was unmounted.
Mai 15 01:00:10 ~/Private was unmounted.
Mai 15 01:30:10 ~/Private was unmounted.
Mai 15 03:00:11 ~/Private was unmounted.
So, the unmount seems to take place at nearly random times, except that
it only happens on full tens of minutes. This gives the impression that
it could be cronjob related. I will do some more investigation in this
direction. Maybe in the meantime somebody else who is affected by this
bug wants to run the script to see if he gets equivalent results?
** Attachment added: "monitor_private_dir.sh"
http://launchpadlibrarian.net/26754504/monitor_private_dir.sh
--
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
Follow ups
References