@kirkland: It is happening again, but on Kubuntu Precise 12.04.2 LTS. I
had to remove ~/.ecryptfs/auto-umount to workaround the problem, but the
race condition under simultaneous cronjobs still happens.
$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 1
While annoying, IMHO I don't feel it meets the SRU criteria of being a
"high impact bug". See https://wiki.ubuntu.com/StableReleaseUpdates for
details.
--
ecryptfs private directory randomly unmounts
https://bugs.launchpad.net/bugs/358573
You received this bug notification because you are a membe
I'll ask jdstrand for a second opinion... You suffered from this
Jamie. What do you think? SRU-worthy?
:-Dustin
--
ecryptfs private directory randomly unmounts
https://bugs.launchpad.net/bugs/358573
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribe
Fair enough. Thank you both for the comments.
--
ecryptfs private directory randomly unmounts
https://bugs.launchpad.net/bugs/358573
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.co
Max is right -- that should help work around the issue.
I'd rather not do the backport, unless it's really, really, really
necessary. We're getting pretty close to Karmic's release, and I'm
much happier with that ecryptfs-utils than Jaunty's ;-)
:-Dustin
--
ecryptfs private directory randomly
I can't speak for plans on backporting, but staggering the cronjobs so
cron never starts two jobs at the same time should mostly work around
the issue.
--
ecryptfs private directory randomly unmounts
https://bugs.launchpad.net/bugs/358573
You received this bug notification because you are a membe
Hi,
I've just started encountering this bug in the last couple of days - I
have a fully encrypted /home directory. Even before finding this bug
report I narrowed the cause down to one of three things, one of which
was that I'd recently added three new hourly cron jobs.
It's nice to know you've fi
** Changed in: ecryptfs
Status: Fix Committed => Fix Released
--
ecryptfs private directory randomly unmounts
https://bugs.launchpad.net/bugs/358573
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubun
This bug was fixed in the package ecryptfs-utils - 76-0ubuntu1
---
ecryptfs-utils (76-0ubuntu1) karmic; urgency=low
[ Dustin Kirkland ]
* src/utils/ecryptfs-setup-swap: switch from vol_id to blkid,
LP: #376486
* debian/ecryptfs-utils.postinst, src/utils/ecryptfs-setup-privat
** Changed in: ecryptfs
Status: Confirmed => Fix Committed
** Changed in: ecryptfs-utils (Ubuntu)
Status: Confirmed => Fix Committed
--
ecryptfs private directory randomly unmounts
https://bugs.launchpad.net/bugs/358573
You received this bug notification because you are a member of
Reproducer script confirmed. This did demonstrate the problem for me.
Max, good call.
I'm working on improving the locking now...
:-Dustin
--
ecryptfs private directory randomly unmounts
https://bugs.launchpad.net/bugs/358573
You received this bug notification because you are a member of Ubun
/me has a flash of inspiration
cron starts all the jobs approximately simultaneously, calling through
pam to start sessions for each. for each job, pam_ecryptfs.so
increments the refcount file in /tmp/ - and the various invocations of
pam_ecryptfs.so race with each other, in a textbook c
This is still a problem on Karmic. Here is an updated reproducer for
Karmic. Create monitor_private_dir.sh:
#!/bin/sh
set -e
private="$HOME/.Private"
while true; do
if ! mount | grep -q "$private"; then
echo "$private was unmounted." | ts
ecryptfs-mount-priv
That worked out well. I have added these jobs to my crontab:
*/1 * * * * /bin/ls >/dev/null
*/2 * * * * /bin/ls >/dev/null
Therefore every two minutes both jobs are run, while every other minute only
one of them gets started.
Output from monitor_private_dir.sh since then:
Mai 19 11:44:27 ~/Priv
I can now confirm that the unmounting only happens at times when two
cronjobs are run as my user. None of the jobs is supposed to do anything
in ~/Private. The bug doesn't happen every time, so this seems like a
race condition.
Jamie, I don't know if it matters, but the Private dir is also getting
It isn't surprising that ~/Private unmounts but encrypted $HOME does
not-- there are all kinds of applications that are accessing files in
$HOME that would prevent an umount of an encrypted $HOME directory.
--
ecryptfs private directory randomly unmounts
https://bugs.launchpad.net/bugs/358573
You
I'm encrypting ~/Private only. There are tons of cronjobs running on
this machine, several of them as my user. The unmount takes place every
now and then, but not with every run of a job. Maybe I have to run more
than one job at once for this to happen? But then again, I think Cron
serializes jobs
Hi Ulf-
This problem is absolutely cronjob related.
Do you have any cronjobs running? If so, could you elaborate on what
these cronjobs are doing?
Also, approximately how many ssh and desktop sessions do you have open
as this user when the directory unmounts?
Are you encrypting all of $HOME or
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
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
** Changed in: ecryptfs
Importance: Undecided => High
** Changed in: ecryptfs
Status: New => Confirmed
--
ecryptfs private directory randomly unmounts
https://bugs.launchpad.net/bugs/358573
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed
I am going to mark this as Confirmed, since it happened to me again
today on an up to date Jaunty. I do not have a reproducer yet, but I can
say that I tend to see this when I am not at the keyboard and cron jobs
run through the night.
** Changed in: ecryptfs-utils (Ubuntu)
Status: New => C
** Also affects: ecryptfs
Importance: Undecided
Status: New
--
ecryptfs private directory randomly unmounts
https://bugs.launchpad.net/bugs/358573
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubu
Hi Jamie-
Thanks (again) for the report. I really thought we had this sorted out
with the vastly improved mount counters ...
I'm marking "high" priority, but leaving "new", as I haven't been able
to confirm it.
Please try to keep me updated on this issue. I'm not really sure how
else to debug
** Attachment added: "Dependencies.txt"
http://launchpadlibrarian.net/25129006/Dependencies.txt
--
ecryptfs private directory randomly unmounts
https://bugs.launchpad.net/bugs/358573
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
25 matches
Mail list logo