ecrypts file corruption
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
eCryptfs |
Incomplete
|
High
|
Tyler Hicks | ||
ecryptfs-utils (Ubuntu) |
Incomplete
|
High
|
Unassigned |
Bug Description
Binary package hint: ecryptfs-utils
I am trying to build an Angstrom/
During the build I get occasional messages in the kernel log like:
[440102.824861] Valid eCryptfs headers not found in file header region or xattr region
[440102.824867] 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
Consequently the build stops with an IO error. Continuing the build usually fixes this issue ( ie. the files can be correctly read the second time ).
But unfortunately from time to time, the files get corrupted which means that they only contain binary data garbage!
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: ecryptfs-utils 83-0ubuntu3
ProcVersionSign
Uname: Linux 2.6.32-24-generic i686
NonfreeKernelMo
Architecture: i386
Date: Wed Oct 6 11:51:17 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
ProcEnviron:
SHELL=/bin/bash
PATH=(custom, user)
LANG=de_DE.utf8
SourcePackage: ecryptfs-utils
I moved the build environment out of the encrypted home folder to an unencrypted part of the same harddisk and made a complete rebuild of the Angstrom image. This time the build went through without any issues. There were no IO errors and more importantly, there was no file corruption.
I think this pretty much confirms that ecryptfs is the cause for the file corruption