Comment 20 for bug 957843

Revision history for this message
Tyler Hicks (tyhicks) wrote :

This has been tracked in various other bugs and is fixed in recent kernels. Sorry for the confusion of this bug not being marked as a dupe of one of the others. There were a few specific bugs that culminated into the broader problem reported in this bug.

The way eCryptfs handled full disk situations and opening lower files that didn't contain the proper eCryptfs metadata has changed over the course of time but here are the relevant patches that have went upstream to address the issues mentioned in this bug report:

821f749 eCryptfs: Revert to a writethrough cache model
e3ccaa9 eCryptfs: Initialize empty lower files when opening them
8bc2d3c eCryptfs: Unlink lower inode when ecryptfs_create() fails

For Ubuntu users, these fixes have all been picked up in the 12.04 LTS kernels.