Comment 64 for bug 870326

Revision history for this message
Chris Moore (dooglus) wrote : Re: [Bug 870326] Re: ecryptfs_writepage: Error

I have a zero-byte file in my encrypted home which produces an error in the
log every time I try to read it:

chris@chris:~/bad$ tail -n 0 -f /var/log/kern.log &
[2] 13767
chris@chris:~/bad$ ls -l 1
-r--r--r-- 1 chris chris 0 2011-09-19 22:23 1
chris@chris:~/bad$ cat 1
cat: 1: Input/output errorOct 21 10:52:55 chris kernel: [90246.950759]
Valid eCryptfs headers not found in file header region or xattr region
Oct 21 10:52:55 chris kernel: [90246.950764] 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

chris@chris:~/bad$ md5sum 1
md5sum: 1: Input/output error
chris@chris:~/bad$ Oct 21 10:53:08 chris kernel: [90260.668451] Valid
eCryptfs headers not found in file header region or xattr region
Oct 21 10:53:08 chris kernel: [90260.668459] 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

If there's anything I can run on this file to help, I can do.

Chris.