Public bug reported:

Binary package hint: ecryptfs-utils

ecryptfs seems unreliable. In a recent case I performed a git fsck on a
large samba4 repo, like this:

git fsck --full --verbose --strict

it failed with a corrupt dangling commit, and dmesg showed:

[961417.528106] ecryptfs_read_and_validate_header_region: Error reading header 
region; rc = [-4]
[961417.528150] Valid eCryptfs headers not found in file header region or xattr 
region
[961417.528156] Either the lower file is not in a valid eCryptfs format, or the 
key could not be retrieved. Plaintext passthrough mode is not enabled; 
returning -EIO

I repeated the git fsck and it worked without problem, and dmesg showed
nothing.

as git fsck does not repair, we can clude that different data was read
the second time. The chance of a bad git appearing good by accident is
very small. The fact that the dmesg error shows when git fsck fails
suggests that the failure occured the first time and not the second
time.

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: libecryptfs0 83-0ubuntu3
ProcVersionSignature: Ubuntu 2.6.35-23.41-generic-pae 2.6.35.7
Uname: Linux 2.6.35-23-generic-pae i686
NonfreeKernelModules: fglrx wl
Architecture: i386
Date: Thu Feb 10 09:13:38 2011
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 "Lucid Lynx" - Release Candidate i386 
(20100419.1)
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.utf8
 SHELL=/bin/bash
SourcePackage: ecryptfs-utils

** Affects: ecryptfs-utils (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 maverick

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/716332

Title:
  ecryptfs fails sporadically

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to