udisks mount provider does not honor custom udev rules

Hi all,

I’m using Kodi together with udisks1 as a mount provider. It seems like Kodi does not honor custom udev rules – but maybe I need some modifications on my rules. What I’m trying to do is to ignore certain partitions based on their label. I tried two approaches – neither is respected by Kodi, the partitions get mounted anyway, although dmesg tells me the partition is ignored.
I can confirm the rules work as expected on top of plain udev. Note that I’m only posting the different types of rules I tried:

Code:
ENV{ID_FS_LABEL}=="EFI|BOOT|Recovery|RECOVERY|SETTINGS|boot|root0|share0", GOTO="exit"
ENV{ID_FS_LABEL}=="EFI|BOOT|Recovery|RECOVERY|SETTINGS|boot|root0|share0", ENV{UDISKS_PRESENTATION_HIDE}="1"
ENV{ID_FS_LABEL}=="EFI|BOOT|Recovery|RECOVERY|SETTINGS|boot|root0|share0", ATTR{authorized}="0"

Does Kodi’s udisks implementation really ignore those rules? Any hints?

Cheers

Generally related:
http://forum.kodi.tv/showthread.php?tid=297545
http://forum.kodi.tv/showthread.php?tid=245287
http://forum.kodi.tv/showthread.php?tid=218227
http://forum.kodi.tv/showthread.php?tid=283756
http://forum.kodi.tv/showthread.php?tid=228582
http://forum.kodi.tv/showthread.php?tid=274837
http://trac.kodi.tv/ticket/16753