After resume from suspend with encrypted USB drive connected, cannot reattach device

Bug #521394 reported by Peter Rhone
30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
gvfs (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

Binary package hint: cryptsetup

I connect my USB Drive with encrypted content (using cryptsetup). After suspending and resuming, a window appears asking for the password, which I reenter. Following correct entry of the password, a message box appears with the following message: "Unable to mount 250 GB Encrypted Error unlocking device: cryptsetup exited with exit code 239: Command failed: Device already exists"
Sure enough, nautilus has two entries: one from before the suspend action which is no longer labeled as encrypted, and, oddly, is now mounted as read-only. The file are accessible through this entry. The other quasi duplicate entry is labeled as encrypted but cannot be mounted (see error msg above).

ProblemType: Bug
Architecture: amd64
Date: Sat Feb 13 15:58:26 2010
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia
Package: cryptsetup 2:1.0.6+20090405.svn49-1ubuntu7.2
ProcEnviron:
 PATH=(custom, user)
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-20.57-generic
SourcePackage: cryptsetup
Uname: Linux 2.6.31-20-generic x86_64

Revision history for this message
Peter Rhone (prhone-gmail) wrote :
Revision history for this message
Steve Langasek (vorlon) wrote :

cryptsetup doesn't spawn any windows prompting for passwords. What software is creating this window and calling cryptsetup? I don't think anything in the default GNOME desktop does this.

Changed in cryptsetup (Ubuntu):
status: New → Incomplete
Revision history for this message
Peter Rhone (prhone-gmail) wrote :

Ah right - if cryptsetup isn't installed, the "enter password" dialog still appears, but entering the password doesn't actually do anything. The problem here is probably with gvfs adding two entries for a single device, though it is claiming that "cryptsetup exited with exit code 239"

This is a default Ubuntu/Gnome desktop. I haven't added anything other than a few codecs and programming tools.

Steve Langasek (vorlon)
affects: cryptsetup (Ubuntu) → gvfs (Ubuntu)
Changed in gvfs (Ubuntu):
status: Incomplete → New
Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. A new version of GVFS is available on Maverick and we are wondering if this bug is still an issue for you with that version? Could you please test and comment back? Thanks in advance.

Changed in gvfs (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for gvfs (Ubuntu) because there has been no activity for 60 days.]

Changed in gvfs (Ubuntu):
status: Incomplete → Expired
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.