GNOME Bugzilla – Bug 624067
Do not show an icon for mounting unlocked and already mounted luks volumes.
Last modified: 2018-04-14 17:41:42 UTC
Created attachment 165646 [details] nautilus showing bug nautilus shows extra useless icons for unlocked luks encrypted volumes. gvfs 1.6.2 nautilus 2.30.1 udisks 1.0.1 gnome-disk-utility 2.30.1 In the attached screenshot, "40 GB Hard Disk: 36 GB Filesystem" is the root disk and nautilus allows me to access it from 'File System' icon. But an extra "40 GB Hard Disk: 36 GB Filesystem" shows. if I double click on it, it tells me /dev/dm-0 is already mounted which is true. This wasn't an issue when gnome used hal.
Forgot to add udev verion is 159 but it happened with older udev versions as well.
Could this be a gdu or udisks or udev problem? Any advice?
Created attachment 167523 [details] gvfs output
Created attachment 167524 [details] /etc/mtab
Created attachment 167525 [details] /etc/fstab
Created attachment 167531 [details] udisks --dump and other data
I think I have identified what the problem is. gdu doesn't understand when luks encrypted volumes are unlocked/mounted at boot before gnome starts. If I unmount/lock my home partition and log in as root into gnome then use gnome to unlock my home partition and mount it, the problem disappears. But this isn't very useful because I need my disk unlocked/mounted at boot normally so I can log into a normal user. Again, I don't know much about this and my English can be confusing. Can gdu be able to tell that a luks device was already unlocked/mounted earlier before gnome-session started?
Gdu volume monitor has been superseded by udisks2 volume monitor long time ago. I am closing this bug because many have been changed since this was reported. If this is still an issue with the recent gvfs releases, please reopen and change component to udisks2 volume monitor.
This was indeed a very old bug report. It works as expected in current gvfs releases. Thank you.