← Back to team overview

desktop-packages team mailing list archive

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

 

** Package changed: nautilus (Ubuntu) => linux (Ubuntu)

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to nautilus in Ubuntu.
https://bugs.launchpad.net/bugs/509180

Title:
  ecryptfs sometimes seems to add trailing garbage to encrypted files

Status in eCryptfs - Enterprise Cryptographic Filesystem:
  Fix Released
Status in “linux” package in Ubuntu:
  Won't Fix
Status in “linux” source package in Lucid:
  Fix Released
Status in “linux” source package in Maverick:
  Incomplete
Status in “linux” source package in Natty:
  Fix Released
Status in “linux” source package in Oneiric:
  Fix Released

Bug description:
  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?

To manage notifications about this bug go to:
https://bugs.launchpad.net/ecryptfs/+bug/509180/+subscriptions