[Bug 358573] Re: ecryptfs private directory randomly unmounts

2013-08-07 Thread Luchostein
@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

[Bug 358573] Re: ecryptfs private directory randomly unmounts

2009-08-20 Thread Jamie Strandboge
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 member

[Bug 358573] Re: ecryptfs private directory randomly unmounts

2009-08-17 Thread DarrenShare
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

[Bug 358573] Re: ecryptfs private directory randomly unmounts

2009-08-17 Thread Max Bowsher
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

Re: [Bug 358573] Re: ecryptfs private directory randomly unmounts

2009-08-17 Thread Dustin Kirkland
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

[Bug 358573] Re: ecryptfs private directory randomly unmounts

2009-08-17 Thread DarrenShare
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

Re: [Bug 358573] Re: ecryptfs private directory randomly unmounts

2009-08-17 Thread Dustin Kirkland
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

[Bug 358573] Re: ecryptfs private directory randomly unmounts

2009-07-18 Thread Dustin Kirkland
** 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

[Bug 358573] Re: ecryptfs private directory randomly unmounts

2009-07-17 Thread Jamie Strandboge
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-private

[Bug 358573] Re: ecryptfs private directory randomly unmounts

2009-07-17 Thread Max Bowsher
/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

[Bug 358573] Re: ecryptfs private directory randomly unmounts

2009-07-17 Thread Dustin Kirkland
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

[Bug 358573] Re: ecryptfs private directory randomly unmounts

2009-07-17 Thread Dustin Kirkland
** 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

[Bug 358573] Re: ecryptfs private directory randomly unmounts

2009-07-17 Thread Launchpad Bug Tracker
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,

[Bug 358573] Re: ecryptfs private directory randomly unmounts

2009-05-19 Thread Ulf Rompe
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

[Bug 358573] Re: ecryptfs private directory randomly unmounts

2009-05-19 Thread Ulf Rompe
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

[Bug 358573] Re: ecryptfs private directory randomly unmounts

2009-05-15 Thread Ulf Rompe
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

Re: [Bug 358573] Re: ecryptfs private directory randomly unmounts

2009-05-15 Thread Dustin Kirkland
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

[Bug 358573] Re: ecryptfs private directory randomly unmounts

2009-05-15 Thread Ulf Rompe
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

[Bug 358573] Re: ecryptfs private directory randomly unmounts

2009-05-15 Thread Jamie Strandboge
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

[Bug 358573] Re: ecryptfs private directory randomly unmounts

2009-05-07 Thread Lowell Alleman
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

[Bug 358573] Re: ecryptfs private directory randomly unmounts

2009-05-02 Thread Dustin Kirkland
** 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

[Bug 358573] Re: ecryptfs private directory randomly unmounts

2009-04-29 Thread Jamie Strandboge
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 =

[Bug 358573] Re: ecryptfs private directory randomly unmounts

2009-04-27 Thread Dustin Kirkland
** 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

[Bug 358573] Re: ecryptfs private directory randomly unmounts

2009-04-24 Thread Dustin Kirkland
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

[Bug 358573] Re: ecryptfs private directory randomly unmounts

2009-04-09 Thread Jamie Strandboge
** 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. --