← Back to team overview

desktop-packages team mailing list archive

[Bug 509180] [NEW] ecryptfs sometimes seems to add trailing garbage to encrypted files

 

You have been subscribed to a public bug:

Quite frequently (about once per month), a file in my ecryptfs-encrypted
home directory gets a few KiBs of extra trailing garbage bytes (it's
usually padded up to about 12 KiB). I have only noticed the error in git
repositories so far, probably because git creates a huge number of
files, and because it doesn't tend to ignore trailing garbage anywhere.

The trailing garbage usually consists mostly of zero bytes; sometimes I
have also seen it contain a copy of parts of the original file.

If I re-mount the ecryptfs volume (by logging out and logging in again),
the trailing garbage always disappears; this is why I think it's caused
by an ecryptfs bug. I cannot rule out a faulty RAM, either (I have only
reproduced it on my laptop, which doesn't have ECC RAM).

I'm using x86-64 Ubuntu 9.10, my ecryptfs volume resides on an ext4
partition.

I understand that it's impossible for you to reproduce the problem given
this report, but I'm willing to put some effort in tracking down the
cause of this. Do you have any ideas on how I can extract useful
debugging information the next time the problem occurs?

** Affects: ecryptfs
     Importance: High
     Assignee: Tyler Hicks (tyhicks)
         Status: Fix Released

** Affects: nautilus (Ubuntu)
     Importance: Medium
         Status: Won't Fix

** Affects: nautilus (Ubuntu Lucid)
     Importance: Undecided
     Assignee: John Johansen (jjohansen)
         Status: Fix Released

** Affects: nautilus (Ubuntu Maverick)
     Importance: Undecided
     Assignee: Tim Gardner (timg-tpi)
         Status: Incomplete

** Affects: nautilus (Ubuntu Natty)
     Importance: Undecided
     Assignee: Tim Gardner (timg-tpi)
         Status: Fix Released

** Affects: nautilus (Ubuntu Oneiric)
     Importance: Medium
         Status: Fix Released


** Tags: acpi-method-return apport-collected b73a1py79 kernel-key kj-triage verification-reverted-lucid verification-reverted-maverick verification-reverted-natty
-- 
ecryptfs sometimes seems to add trailing garbage to encrypted files
https://bugs.launchpad.net/bugs/509180
You received this bug notification because you are a member of Desktop Packages, which is subscribed to nautilus in Ubuntu.