easy-fix Mounting luks-filesystems only works once pr. login

Bug #69375 reported by Håvard H. Garnes
2
Affects Status Importance Assigned to Milestone
gnome-volume-manager (Ubuntu)
In Progress
Medium
Martin Pitt

Bug Description

Binary package hint: gnome-volume-manager

When I plug in a disk with a luks-encrypted partition, I get asked for the password the first time. Like I should be. But if I unmount the volume, or type the pasword wrong or anything that would require me to type it again, the password-dialogue never shows up again, and I have to log out and back in to see the password-prompt.

the ps x shows

10012 pts/0 Ss+ 0:00 /usr/bin/pmount-hal /dev/sdc2
10014 pts/0 S+ 0:00 pmount --exec /dev/sdc2 usbdisk-2

and if i kill pmount-hal, I get a dialogue-box saying "could not mount file-system" because "type in password"

It really looks like an easy fix.

Revision history for this message
Martin Pitt (pitti) wrote :

I prepared feisty for using gnome-mount, then this will be fixed for free.

Changed in gnome-volume-manager:
assignee: nobody → pitti
importance: Undecided → Medium
status: Unconfirmed → In Progress
Revision history for this message
Håvard H. Garnes (hhgarnes) wrote :

Does that mean that it will not be fixed for half a year?

Revision history for this message
Martin Pitt (pitti) wrote : Re: [Bug 69375] Re: easy-fix Mounting luks-filesystems only works once pr. login

Hi Håvard,

Håvard H. Garnes [2006-11-01 17:30 -0000]:
> Does that mean that it will not be fixed for half a year?

The fix is already prepared for feisty, I'll upload new
hal/gnome-mount/etc. stuff in a few days when feisty opens. But right,
we will not fix it in stable releases.

Revision history for this message
Håvard H. Garnes (hhgarnes) wrote : Re: [Bug 69375] Re: easy-fix Mounting luks-filesystems only works once pr. login

Ok. I am not very into this stuff, but is there something I can do as a
workaround until april? Like trick some subsystem into sending the right
signal to gnome again or something? I noticed I get the password-dialog
again if I rip the plug without unmounting and replug it, but I don't
want to do that after every suspend-cycle.. If I unmount and replug, the
dialog does not appear. If such a trick exists, I would be very happy to
hear of it, otherwise I'll just have to wait.

Thanks.

Håvard.

Revision history for this message
Håvard H. Garnes (hhgarnes) wrote :

I upgraded to feisty two days ago, and now the cycle goes like this:

First mount is ok.
Second mount asks for password, but only maps and does not mount. Manual luksClose does NOT solve the problem. After unmounting, the disk can not be mounted again until after log out/log in. It does ask for password every time, though, but it does complain that the disk is already mapped if that is the case.

Seems like there is a last step to go here.

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.