Bug 285927 - [Regression] Solid shows LUKS partitions as removable disks
Summary: [Regression] Solid shows LUKS partitions as removable disks
Status: RESOLVED FIXED
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: libsolid-udisks (show other bugs)
Version: unspecified
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-06 20:07 UTC by Thilo-Alexander Ginkel
Modified: 2012-03-04 14:53 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot (166.26 KB, image/png)
2011-11-06 20:07 UTC, Thilo-Alexander Ginkel
Details
Screenshot (23.88 KB, image/jpeg)
2011-11-08 05:51 UTC, Fred Wells
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thilo-Alexander Ginkel 2011-11-06 20:07:24 UTC
Created attachment 65314 [details]
Screenshot

Version:           unspecified (using KDE 4.7.3) 
OS:                Linux

Since upgrading from KDE 4.7.2 to 4.7.3 the Device Notifier widget detects some of my fixed hard disk partitions (located below /dev/mapper/ as they are LUKS devices) as removable disks (although they show up with hard disk icons) and will automount them and show them in the device list.

Which commits happened since 4.7.2 that may cause this behavior?

Reproducible: Always

Steps to Reproduce:
Just log in with at least one LUKS device.


Expected Results:  
Partitions residing on fixed disks do not show up in device notifier.
Comment 1 Fred Wells 2011-11-08 05:51:15 UTC
Created attachment 65376 [details]
Screenshot
Comment 2 Fred Wells 2011-11-08 05:52:06 UTC
I have same problem.  Although not only LUKS devices are showing up.  See screenshot.
Comment 3 Thilo-Alexander Ginkel 2011-11-08 07:15:39 UTC
There we have the culprit:

https://projects.kde.org/projects/kde/kdelibs/repository/diff/solid?rev=e1b3ce8115795e85f13b16011634cad3f8ee1e28&rev_to=d79b9c1d87f27ded12b1c7a46b77032a03c1070b

Show LUKS crypted partitions on local hard drive in Dolphin
REVIEW: 102529
BUG: 181847
Comment 4 Thilo-Alexander Ginkel 2011-11-08 20:30:43 UTC
Let me explain a little bit more in detail why the approach taken with 4.7.3 is problematic for me:

I use full disk encryption (two encrypted LVM volumes). All of a sudden, all of my mount points (even /) show up in the device notifier. None of them can be unmounted, though as they are in use. I have one extra volume that hosts some crypto keys, which I do not want to automount (for security reasons). With KDE 4.7.3, this partition is automounted and there seems to be no way to disable this behavior.

My proposal would be:
a) Hide automount mountpoints (as these are mounted during system boot)
b) Provide a means to hide other volumes as well
c) Make automounting for these volumes configurable
Comment 5 Thilo-Alexander Ginkel 2012-03-04 14:53:14 UTC
It seems that this issue has been fixed with KDE 4.8.0.