Bug 304540 - Dolphin fails to mount LUKS encrypted devices (since KDE 4.9)
Summary: Dolphin fails to mount LUKS encrypted devices (since KDE 4.9)
Status: RESOLVED DOWNSTREAM
Alias: None
Product: dolphin
Classification: Applications
Component: panels: places (show other bugs)
Version: 2.1
Platform: Gentoo Packages Linux
: NOR normal
Target Milestone: ---
Assignee: Frank Reininghaus
URL: https://bugs.gentoo.org/show_bug.cgi?...
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-04 10:29 UTC by Sebastian Rose
Modified: 2012-08-07 09:32 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sebastian Rose 2012-08-04 10:29:13 UTC
When trying to mount a LUKS encrypted harddisk with Dolphin on KDE 4.9 the operation fails with the following error message:

The requested operation has failed.: Error unlocking device: timeout (10s) waiting for cleartext device to show up

The cleartext device gets set up though, under /dev/mapper/udisks-luks-uuid-$UUID. When I mount the cleartext device manually with "udisks --mount /dev/mapper/udisks-luks-uuid-$UUID" it works fine.

Reproducible: Always

Steps to Reproduce:
1. Try to mount an encrypted device with Dolphin, KDE 4.9
2.
3.
Actual Results:  
Mount failure

Expected Results:  
Mount success
Comment 1 Frank Reininghaus 2012-08-05 11:19:01 UTC
Thanks for the bug report! I assume that this only happens when trying to mount the device by clicking it in the Places Panel and that clicking it in Plasma's device notifier still works OK, right?

I don't have an encrypted device and can't do any testing myself, but I assume that this is a regression caused by Peter's Places Panel rewrite.
Comment 2 Sebastian Rose 2012-08-05 11:32:32 UTC
Since these are internal hard drives (in my case at least) they don't show up in the device notifier so I can't tell if that still works.
Comment 3 Ralph 2012-08-05 17:21:47 UTC
> I assume that this only happens when trying to mount the device by clicking it
> in the Places Panel and that clicking it in Plasma's device notifier still works OK, right?

I tried it 
- with Device Notifier and
- with the Device Plasmoid 
(probably the same?)

It gives the decrypted device at /dev/mapper -links-to- /dev/dm-0
But it does not mount! 
And it does not change the status of the device notifier!
But a simple root Konsole mount /dev/dm-0 /mnt mount the decrypted device!
Comment 4 Frank Reininghaus 2012-08-06 09:06:44 UTC
(In reply to comment #3)
> I tried it 
> - with Device Notifier and
> - with the Device Plasmoid 
> (probably the same?)
> 
> It gives the decrypted device at /dev/mapper -links-to- /dev/dm-0
> But it does not mount! 

Thanks, that's interesting! Do you know if it worked with the Device Notifier/Plasmoid in KDE 4.8? I'm just trying to find out if this is a regression in Dolphin or somewhere else.
Comment 5 Ralph 2012-08-06 14:54:01 UTC
Sure it works with Kde-4.8. I every second day used it. It is seemingly like a timeout problem ...
Comment 6 Ralph 2012-08-06 17:46:25 UTC
Gentoo has solved this bug for me! I am using udev-187, possible releated Changelog was:
sys-fs/udisks-1.0.4-r3
sys-fs/udisks-1.99.0-r1
"Use udev.pc pkg-config file to determine udevhelperdir and udevrulesdir.
Dummy revision bump for UDisks2 because it has the same logic for
--with-udevdir= in configure.ac."
Comment 7 Ralph 2012-08-06 17:48:49 UTC
This is the downstream bug where it was said to consider bug upstream to Kde:
https://bugs.gentoo.org/show_bug.cgi?id=429618#c1
Comment 8 Sebastian Rose 2012-08-07 08:14:07 UTC
Yes, the fault lies with Gentoo in this case. The updates udisks package fixed it for me, too.
Comment 9 Frank Reininghaus 2012-08-07 09:32:58 UTC
Thanks for the update! It's good to know that it works now :-)