[Pkg-utopia-maintainers] udev: Please set UDISKS_PRESENTATION_HIDE on encrypted volumes

Christian Kastner debian at kvr.at
Sat May 4 16:37:45 UTC 2013


(CCing udisks, gvfs Maintainers)

On 2013-01-03 07:08, Daniel Franke wrote:
> Package: udev
> Version: 175-7
> Severity: wishlist
> 
> My /etc/crypttab lists two encrypted volumes:
> 
> md0_crypt UUID=6567de98-fb8f-4495-847a-919f89fd6a6a none luks
> sda2_crypt UUID=4280b80c-5c2c-4942-be6f-7aaf6191d3ed none luks
> 
> With default configuration, these volumes appear on my Xfce desktop as
> "unrecognized volume".  To make them go away, I created
> /etc/udev/rules.d/99-hide-partitions.rules with the following contents:
> 
> ENV{ID_FS_UUID}=="6567de98-fb8f-4495-847a-919f89fd6a6a",ENV{UDISKS_PRESENTATION_HIDE}:="1"
> ENV{ID_FS_UUID}=="4280b80c-5c2c-4942-be6f-7aaf6191d3ed",ENV{UDISKS_PRESENTATION_HIDE}:="1"
> 
> It would be nice to have this done automatically.

I have the same problem in Xfce (Thunar and Desktop). All my LUKS-based
volumes are showing up as ejectable devices even though they aren't
removable, including eg: my already mounted home directory. The fix
above works for me, too.

However, I've seen similar reports for Nautilus as well and not only for
LUKS devices but also for LVM volumes, so I'd guess the problem is
somewhere in a lower layer, ie gvfs or udisks, and not with udev.

Have either of the gvfs or udisks Maintainers seen this before? Do you
have an idea what could be going on?


Christian





More information about the Pkg-utopia-maintainers mailing list