[gusty gibbon] Ecryptfs Hangs during file save

Bug #122852 reported by Kevin Fries
This bug report is a duplicate of:  Bug #124208: ecryptfs hangs on kernel 2.6.22-7.14. Edit Remove
4
Affects Status Importance Assigned to Milestone
ecryptfs-utils (Ubuntu)
In Progress
Critical
Unassigned

Bug Description

Binary package hint: libecryptfs0

Ubuntu Version: Gusty Tribe 2
ISO Version: Alternative
Test Environment: VirtualBox 1.4.0
Drives: 1GB Main drive + 1GB Second Drive + 256MB Swap
RAM: 128MB, 8MB Video

Downloaded and installed Tribe2 into the environment described above.
Basic Install +EcryptFS-Utils +Samba

If I do not enable the ecryptfs, everything runs fine, no problems.

I mount the encryption with the following command

# mount -t encryptfs /my/mount /my/mount

it asks me for passcode; enctyption type (I select 3, AES-256), no to
passtrough text files.

I can touch a file, and the file creates. If I unmount the ecryptfs and
look at the raw disk, it shows a 12k file, which is filled with
gibberish... perfect!

remounting the ecryptfs and answering the questions the same again,
allows me to see my file, but now it reflects properly at 0 bytes. I
now try to add content to the file. I have tried it with Echo, Vim, and
across the SMB mount in Gedit. Every time, it locks up the Linux box.

Gusty still responds to a power shutdown (ACPI) request, so it is not
the kernel locking, but the shell never returns and does not respond to
ctrl-c, ctrl-z, or any other keystrokes as far as I can tell.

I did not see anything interesting in syslog.

Can anyone recreate this?

Changed in ecryptfs-utils:
status: New → Confirmed
Revision history for this message
deadwill (deadwill-deactivatedaccount) wrote :

The problem is the Linux kernel version used in Gutsy Gibbon Tribe-2 (2.6.22-rc7). It works fine with 2.6.21.X versions.

Revision history for this message
Reinhard Tartler (siretart) wrote :

raising priority. Getting a fixed package of ecryptfs in gutsy is critical for the release.

Changed in ecryptfs-utils:
importance: Undecided → Critical
Changed in ecryptfs-utils:
assignee: nobody → xxxxx1
status: Confirmed → In Progress
Revision history for this message
deadwill (deadwill-deactivatedaccount) wrote :

Thanks for your report Kevin!

This is not a bug in ecryptfs-utils, but in the kernel. so, moving to: https://bugs.launchpad.net/ubuntu/+source/linux-source-2.6.22/+bug/124208

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.