[Bug 521523] Re: severe ecryptfs corruption

2011-03-09 Thread Dustin Kirkland
*** This bug is a duplicate of bug 509180 *** https://bugs.launchpad.net/bugs/509180 I'm going to make this bug a duplicate of Bug #509180, which seems to have the better discussion around the actual issue. Thanks. ** This bug has been marked a duplicate of bug 509180 ecryptfs sometimes s

[Bug 521523] Re: severe ecryptfs corruption

2011-03-01 Thread Paolo Bonzini
Agreed, let's close this bug. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/521523 Title: severe ecryptfs corruption -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.c

Re: [Bug 521523] Re: severe ecryptfs corruption

2011-02-24 Thread Serge Hallyn
Quoting Tyler Hicks (tyhi...@linux.vnet.ibm.com): > I'm not sure I like loops to handle -EINTR in kernel code. That's > normally for user space to handle and I don't see why this is any But you don't let it, bc ecryptfs_lookup_and_interpose_lower doesn't expose that it got -EINTR. So either loop,

[Bug 521523] Re: severe ecryptfs corruption

2011-02-23 Thread Tyler Hicks
This bug report is all over the place. I posted a fix for bug #509180 in that bug report and pieces of this bug report do seem related. I'm not sure I like loops to handle -EINTR in kernel code. That's normally for user space to handle and I don't see why this is any different. I may consider one

[Bug 521523] Re: severe ecryptfs corruption

2011-02-23 Thread Dustin Kirkland
Tyler, can you have a look at the attached patch? Another user in Bug #509180 claims that this patch solves his corruption issues... -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/521523 Title: seve

[Bug 521523] Re: severe ecryptfs corruption

2011-02-23 Thread Paolo Bonzini
Yes, it is. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/521523 Title: severe ecryptfs corruption -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinf

[Bug 521523] Re: severe ecryptfs corruption

2011-02-18 Thread Gioele Barabucci
May this be the related to bug #509180? All of the symptoms are the same. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/521523 Title: severe ecryptfs corruption -- ubuntu-bugs mailing list ubuntu-

[Bug 521523] Re: severe ecryptfs corruption

2011-02-15 Thread Brian Murray
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/521523 Title: severe ecryptfs corruption -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailma

[Bug 521523] Re: severe ecryptfs corruption

2011-02-15 Thread Paolo Bonzini
Here is the actual patch I am testing. ** Patch added: "Patch that should fix the bug (still untested)" https://bugs.launchpad.net/ubuntu/+source/ecryptfs-utils/+bug/521523/+attachment/1850991/+files/ecryptfs-fix-eintr.patch -- You received this bug notification because you are a member of U

[Bug 521523] Re: severe ecryptfs corruption

2011-02-15 Thread Paolo Bonzini
I'll apply the patch myself, thanks. But I think hunks are missing for the other two functions. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/521523 Title: severe ecryptfs corruption -- ubuntu-bu

[Bug 521523] Re: severe ecryptfs corruption

2011-02-14 Thread Serge Hallyn
Paolo, which release are you on? I will put a kernel with the proposed fix for your release into a ppa so you can test. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/521523 Title: severe ecryptfs c

Re: [Bug 521523] Re: severe ecryptfs corruption

2011-02-14 Thread Serge Hallyn
Quoting Paolo Bonzini (bonz...@gnu.org): > I'm seeing errors like this in /var/log/messages at the same time as > corruptions: > > Feb 9 14:03:26 yakj kernel: [135241.310137] > ecryptfs_read_and_validate_header_region: Error reading header region; rc = > [-4] > Feb 9 14:03:26 yakj kernel: [135

[Bug 521523] Re: severe ecryptfs corruption

2011-02-14 Thread Paolo Bonzini
I'm seeing errors like this in /var/log/messages at the same time as corruptions: Feb 9 14:03:26 yakj kernel: [135241.310137] ecryptfs_read_and_validate_header_region: Error reading header region; rc = [-4] Feb 9 14:03:26 yakj kernel: [135241.310146] ecryptfs_decrypt_page: Error attempting to

[Bug 521523] Re: severe ecryptfs corruption

2011-02-03 Thread Dustin Kirkland
** Changed in: ecryptfs Assignee: (unassigned) => Tyler Hicks (tyhicks) ** Changed in: ecryptfs Importance: Undecided => Critical ** Changed in: ecryptfs-utils (Ubuntu) Importance: Undecided => Critical -- You received this bug notification because you are a member of Ubuntu Bugs, wh

[Bug 521523] Re: severe ecryptfs corruption

2011-02-02 Thread Paolo Bonzini
2.6.35.10 is the Fedora 14 kernel. I can upgrade to a newer 2.6.37 kernel if you want me to test that, but I don't see anything relevant in the log. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/52152

Re: [Bug 521523] Re: severe ecryptfs corruption

2011-02-02 Thread Dustin Kirkland
Thanks, Paolo. What kernel are you running? Tyler, do you use git-on-ecryptfs very often? Have you seen this behavior? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/521523 Title: severe ecryptfs

[Bug 521523] Re: severe ecryptfs corruption

2011-02-02 Thread Paolo Bonzini
I'm not using Ubuntu, so adding parent ecryptfs product. ** Also affects: ecryptfs Importance: Undecided Status: New ** Changed in: ecryptfs Status: New => Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. ht

[Bug 521523] Re: severe ecryptfs corruption

2011-02-02 Thread Paolo Bonzini
Any git repository I use heavily (mostly kernel, Xen and qemu in my case, but it is not relevant I think) will corrupt at least once a day, as proved from the fact that I just reproduced it. :) Probably interactive rebases and switching branches help. However, I don't know how to make the error o

[Bug 521523] Re: severe ecryptfs corruption

2011-02-01 Thread Dustin Kirkland
I'm un-expiring this bug since Paolo just responded to it. Paolo (or anyone else) -- can you give us precise reproduce instructions? ie, what git repository you're working with, and how to make the error occur? Also, what kernel and what version of ecryptfs-utils are you using? ** Changed in: e

[Bug 521523] Re: severe ecryptfs corruption

2011-02-01 Thread Paolo Bonzini
I have many GB of free space and I get random stuff added at the end of files. git repositories seem to be more susceptible to this. Next time it happens I'll make sure to check how many bytes are added and other suspicious things (e.g. whether the full size becomes close to a 4kb multiple or som

[Bug 521523] Re: severe ecryptfs corruption

2010-11-30 Thread Launchpad Bug Tracker
[Expired for ecryptfs-utils (Ubuntu) because there has been no activity for 60 days.] ** Changed in: ecryptfs-utils (Ubuntu) Status: Incomplete => Expired -- severe ecryptfs corruption https://bugs.launchpad.net/bugs/521523 You received this bug notification because you are a member of Ub

[Bug 521523] Re: severe ecryptfs corruption

2010-03-31 Thread Thomas O.
Anybody? I think this is fairly serious. I've decided to upgrade when 10.04 comes out, but I've already backed up stuff. Currently I'm avoiding this bug by keeping at least 200 MB disk space free. If I run out of disk space, then files get truncated, and then I have to repair the damage. -- sever

[Bug 521523] Re: severe ecryptfs corruption

2010-03-10 Thread Thomas O.
I have one file which is corrupted, my VirtualBox config file. VirtualBox reports an XML error, and from looking at the file, I see it is truncated. This happened when my disk space was low. I am going to be reformatting ASAP (in the weekend, I cannot afford to lose my laptop during the week) but I

[Bug 521523] Re: severe ecryptfs corruption

2010-02-21 Thread Chris Halse Rogers
I seem to have hit this also, although in my case it was causing desktop-couch to fail to startup: └─(16:41:%)── ls ~/.cache/desktop-couch/log -lah ──(Mon,Feb22)─┘ total 84K drwxr-xr-x 2 chris chris 4.0K 2010-02-04 10

[Bug 521523] Re: severe ecryptfs corruption

2010-02-18 Thread Thomas O.
In one case, many files could not be copied across to my memory stick (with 2 out of 4 gigs free, NTFS) and each continually reported "Input/Output error" or "Unknown error" (I think this was one of them.) I am not sure if this is corruption, but the file could not be completely read, the data mig

[Bug 521523] Re: severe ecryptfs corruption

2010-02-17 Thread Dustin Kirkland
But you're claiming corruption... Do you in fact have files that were okay when you wrote them to eCryptfs, but are now garbled somehow? ** Changed in: ecryptfs-utils (Ubuntu) Status: New => Incomplete -- severe ecryptfs corruption https://bugs.launchpad.net/bugs/521523 You received this

[Bug 521523] Re: severe ecryptfs corruption

2010-02-17 Thread Dustin Kirkland
Make that: find $HOME/.Private/ -size 0 -- severe ecryptfs corruption https://bugs.launchpad.net/bugs/521523 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.com https://lists.ubuntu.

[Bug 521523] Re: severe ecryptfs corruption

2010-02-17 Thread Dustin Kirkland
These messages from eCryptfs are usually benign, and result from 0-byte files being written to the underlying filesystem. Look for 0-byte files: find $HOME/.Private -size 0 In most cases, these can be simply deleted and your error messages will stop. -- severe ecryptfs corruption https://bugs

[Bug 521523] Re: severe ecryptfs corruption

2010-02-14 Thread Thomas O.
I'm getting more strange errors like this, but it seems to have improved on my system. I think the bug might be triggered by low disk space since when this bug occurred I had less than 200 MB of space available. [ 104.399013] Valid eCryptfs headers not found in file header region or xattr region

[Bug 521523] Re: severe ecryptfs corruption

2010-02-14 Thread Monkey
I´ve assigned this bug to the ecryptfs-utils package. Thank You for making Ubuntu better. ** Package changed: ubuntu => ecryptfs-utils (Ubuntu) -- severe ecryptfs corruption https://bugs.launchpad.net/bugs/521523 You received this bug notification because you are a member of Ubuntu Bugs, which i

[Bug 521523] Re: severe ecryptfs corruption

2010-02-13 Thread Thomas O.
I have just noticed that my USB drive is showing a write speed of 594MiB/s on Conky. It is disconnected. I am not sure if this is related. -- severe ecryptfs corruption https://bugs.launchpad.net/bugs/521523 You received this bug notification because you are a member of Ubuntu Bugs, which is subs

[Bug 521523] Re: severe ecryptfs corruption

2010-02-13 Thread Thomas O.
Attachment of dmesg log, note event log is much larger than this but only last N entries or so are recorded. ** Attachment added: "dmesg log" http://launchpadlibrarian.net/39154825/dmesg_log.txt -- severe ecryptfs corruption https://bugs.launchpad.net/bugs/521523 You received this bug notific