[Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-10-14 Thread Martin Pitt
linux 2.6.24-21 copied to hardy-updates. ** Changed in: linux (Ubuntu Hardy) Status: Fix Committed => Fix Released -- Hardy ecryptfs can cause data loss https://bugs.launchpad.net/bugs/242448 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed t

Re: [Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-08-29 Thread Dustin Kirkland
On Fri, Aug 29, 2008 at 3:06 AM, Steve Langasek <[EMAIL PROTECTED]> wrote: > marking as fix released for intrepid. As it should be. This bug was definitely fixed upstream in 2.6.25, and should not exist in any kernel beyond. Tim backported to 2.6.24 for Hardy. :-Dustin -- Hardy ecryptfs can c

[Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-08-28 Thread Steve Langasek
marking as fix released for intrepid. ** Changed in: linux (Ubuntu) Status: Confirmed => Fix Released -- Hardy ecryptfs can cause data loss https://bugs.launchpad.net/bugs/242448 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. --

Re: [Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-08-28 Thread Serge Hallyn
Steve, I'm sorry, I don't know how to find the intrepid/development version of this bug to mark it as invalid. (a search for "ecryptfs" didn't find it) LIke I say I haven't gotten intrepid to install, but Dustin noted in the very first comment on this bug that intrepid has the 2.6.26 fix for this

[Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-08-28 Thread Steve Beattie
I have reproduced the original problem using the 2.6.24-19.41 generic kernel image from the hardy-updates repository, and can confirm that the 2.6.24-21.42 generic kernel image from hardy-proposed does eliminate the file corrupting behavior, at least when using ecryptfs with the passphrase option.

Re: [Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-08-28 Thread Serge Hallyn
I am not running intrepid, I'm running hardy. Attempts to create an intrepid kvm image failed (funky mouse behavior). I wonder whether this comment was sent to the wrong bug? This bug was pertaining to the 2.6.24 kernel on hardy only, since the bug had been fixed separately upstream in 2.6.26.

[Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-08-28 Thread Leann Ogasawara
The Ubuntu Kernel Team is planning to move to the 2.6.27 kernel for the upcoming Intrepid Ibex 8.10 release. As a result, the kernel team would appreciate it if you could please test this newer 2.6.27 Ubuntu kernel. There are one of two ways you should be able to test: 1) If you are comfortable

[Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-08-25 Thread Steve Langasek
Accepted into -proposed, please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance! ** Tags added: verification-needed -- Hardy ecryptfs can cause data loss https://bugs.launchpad.net/bugs

Re: [Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-08-22 Thread Serge Hallyn
Excellent, thanks! I'm still a little sqeemish, but will try using it for my main datastore again next week. -serge On Fri, Aug 22, 2008 at 9:53 AM, Tim Gardner <[EMAIL PROTECTED]> wrote: > Serge - that is the right kernel version from my PPA. Looks like the > corruption bug is fixed. > > -- > H

[Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-08-22 Thread Tim Gardner
Serge - that is the right kernel version from my PPA. Looks like the corruption bug is fixed. -- Hardy ecryptfs can cause data loss https://bugs.launchpad.net/bugs/242448 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs ma

Re: [Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-08-22 Thread Serge Hallyn
Well uname says I'm running 2.6.24-22-generic, but the ecryptfs bug isn't showing up right now. On Mon, Aug 18, 2008 at 12:15 PM, Dustin Kirkland <[EMAIL PROTECTED]> wrote: > On Mon, Aug 18, 2008 at 5:33 PM, Serge Hallyn <[EMAIL PROTECTED]> wrote: >> Please let me know when this is in your test ke

Re: [Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-08-18 Thread Dustin Kirkland
On Mon, Aug 18, 2008 at 5:33 PM, Serge Hallyn <[EMAIL PROTECTED]> wrote: > Please let me know when this is in your test kernel repo > (deb http://ppa.launchpad.net/timg-tpi/ubuntu hardy main) and I will give it > a > shot. Serge- You should be able to test Tim's test kernel at: * https://launc

Re: [Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-08-18 Thread Dustin Kirkland
On Mon, Aug 18, 2008 at 5:01 PM, Tim Gardner <[EMAIL PROTECTED]> wrote: > I was able to verify that the test case no longer shows the bug. Thanks Tim and Adam! :-Dustin -- Hardy ecryptfs can cause data loss https://bugs.launchpad.net/bugs/242448 You received this bug notification because you ar

Re: [Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-08-18 Thread Serge Hallyn
Please let me know when this is in your test kernel repo (deb http://ppa.launchpad.net/timg-tpi/ubuntu hardy main) and I will give it a shot. thanks, -serge On Mon, Aug 18, 2008 at 11:01 AM, Tim Gardner <[EMAIL PROTECTED]> wrote: > I was able to verify that the test case no longer shows the bug.

[Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-08-18 Thread Tim Gardner
I was able to verify that the test case no longer shows the bug. -- Hardy ecryptfs can cause data loss https://bugs.launchpad.net/bugs/242448 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.

[Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-08-18 Thread Tim Gardner
SRU Justification Impact: Encrypted files can get corrupted. Patch Description: eCryptfs: make ecryptfs_prepare_write decrypt the page. When the page is not up to date, cryptfs_prepare_write() should be acting much like ecryptfs_readpage(). This includes the painfully obvious step of actually dec

[Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-08-15 Thread Adam Wood
The problem is in fs/ecryptfs/mmap.c http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-hardy.git;a=commit;h=e4465fdaeb3f7b5ef47f389d3eac76db79ff20d8 http://kernel.ubuntu.com/git?p=ubuntu/ubuntu-hardy.git;a=commit;h=eebd2aa355692afaf9906f62118620f1a1c19dbb The first patch is the important one but becau

[Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-08-14 Thread Adam Wood
I'm afraid the patch didn't work. On a brighter note my laptop is now working on tracking down this bug and I will post again later when I have more info and time. -- Hardy ecryptfs can cause data loss https://bugs.launchpad.net/bugs/242448 You received this bug notification because you are a me

Re: [Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-08-13 Thread Dustin Kirkland
On Wed, Aug 13, 2008 at 10:15 AM, Adam Wood <[EMAIL PROTECTED]> wrote: > Dustin - I'm building one at the moment, if it works you're welcome to a > copy. Excellent, Adam. Thanks. > If it doesn't work I think I'll try a git bisect of the intrepid tree > and help the devs track this one down. Sou

[Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-08-13 Thread Adam Wood
Dustin - I'm building one at the moment, if it works you're welcome to a copy. It's -generic and i386. If we get a couple of reports that it works then maybe one of the devs will be kind enough to create a PPA. If it doesn't work I think I'll try a git bisect of the intrepid tree and help the devs

Re: [Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-08-13 Thread Dustin Kirkland
On Wed, Aug 13, 2008 at 8:40 AM, Tim Gardner <[EMAIL PROTECTED]> wrote: > Even though the discussion thread says it only happens when compiled for > SLUB debug, perhaps this patch will have an effect. Is there a kernel package that I can test? :-Dustin -- Hardy ecryptfs can cause data loss http

[Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-08-13 Thread Tim Gardner
http://kernel.ubuntu.com/git?p=ubuntu/ubuntu- hardy.git;a=commit;h=4bddf325870b6076e2395914a51aff665d39c9d0 Even though the discussion thread says it only happens when compiled for SLUB debug, perhaps this patch will have an effect. ** Changed in: linux (Ubuntu Hardy) Importance: Undecided =>

[Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-08-12 Thread Adam Wood
Serge: It does appear to only happen after an append and when the file is "large", maybe the blocksize is the magic number where it starts to go wrong but I couldn't confirm that. It also only presents when you append before you read from the file. I missed that bit of implied information in the bu

Re: [Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-08-12 Thread Serge Hallyn
On Tue, Aug 12, 2008 at 8:42 AM, Adam Wood <[EMAIL PROTECTED]> wrote: > I've just gone back to test it again and have discovered there may be a > time element involved. > > After my earlier test I accidentally forgot to unmount /tmp/dir2 > I've just unmounted and re-mounted it and there was file co

[Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-08-12 Thread Adam Wood
I've just gone back to test it again and have discovered there may be a time element involved. After my earlier test I accidentally forgot to unmount /tmp/dir2 I've just unmounted and re-mounted it and there was file corruption. I've just repeated the test using 2 new directories, /tmp/dir3 and

Re: [Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-08-12 Thread Serge Hallyn
I'm running 2.6.24-21-generic and still have the bug. Could this be because a fix backported to 2.6.24-19-generic would not have been applied to kernels in Tim's test kernel repo (deb http://ppa.launchpad.net/timg-tpi/ubuntu hardy main )? thanks, -serge On Tue, Aug 12, 2008 at 2:41 AM, Adam Wood

[Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-08-12 Thread Adam Wood
I have tried to reproduce this bug using the 2.6.24-19-generic kernel from the Main repo (version 2.6.24-19.36). I could NOT reproduce the bug. Have I missed a step or a precondition that causes the bug? If not, do we need more people to confirm this before we can mark the report Fix Released? -

[Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-07-14 Thread Dustin Kirkland
** Changed in: linux (Ubuntu) Status: Fix Committed => Confirmed -- Hardy ecryptfs can cause data loss https://bugs.launchpad.net/bugs/242448 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs

Re: [Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-06-26 Thread Dustin Kirkland
Tim- I just tested the kernels in your PPA (linux - 2.6.24-20.35ubuntu5), and the problem is still present. FWIW, I did test the Intrepid 2.6.26 kernels and these do not suffer from the same problem. :-Dustin -- Hardy ecryptfs can cause data loss https://bugs.launchpad.net/bugs/242448 You rece

[Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-06-24 Thread Tim Gardner
Please try the test kernel at http://ppa.launchpad.net/timg-tpi/ubuntu when it is done building, linux-2.6.24-20.35ubuntu2 or higher. You'll likely also need the other -20 ABI packages (LUM,LBM,LRM) . -- Hardy ecryptfs can cause data loss https://bugs.launchpad.net/bugs/242448 You received this b

[Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-06-23 Thread Serge Hallyn
This happens for me too with the Hardy kernel ** Changed in: linux (Ubuntu Hardy) Status: New => Confirmed -- Hardy ecryptfs can cause data loss https://bugs.launchpad.net/bugs/242448 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu

[Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-06-23 Thread Tim Gardner
Updated URL: http://kernel.ubuntu.com/git?p=ubuntu/ubuntu- hardy.git;a=commit;h=6f137e40d6d2456fd23b0f2f342eabd44c50656a -- Hardy ecryptfs can cause data loss https://bugs.launchpad.net/bugs/242448 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to

[Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-06-23 Thread Tim Gardner
http://kernel.ubuntu.com/git?p=ubuntu/ubuntu- hardy.git;a=commit;h=b85452a23dcdeddc4a4ae1816501e80a16bb14a8 ** Changed in: linux (Ubuntu) Assignee: (unassigned) => Tim Gardner (timg-tpi) Status: New => Fix Committed -- Hardy ecryptfs can cause data loss https://bugs.launchpad.net/bug

[Bug 242448] Re: Hardy ecryptfs can cause data loss

2008-06-23 Thread Tim Gardner
SRU Justification: Impact: ecryptfs can cause loss of data in certain scenarios Patch Description: cherry-picked 2.6.25.y d3e49afbb66109613c3474f2273f5830ac2dcb09. The page decrypt calls in ecryptfs_write() are both pointless and buggy. Pointless because ecryptfs_get_locked_page() has already bro