@morphis, yes, I use that interface and app-armor snippet is from that interface. As I mentioned - mounting by using DBus works just fine, but getting mount point list fails with the error.
Also, I can confirm that it’s connected udisks2:service screenly-client:udisks2,udisks2:client.
No. That’s a module path and it’s not related to the udev labeling.
Notice that the rule below works just fine.
# Allow access to the Udisks2 API
dbus (receive, send)
bus=system
path=/org/freedesktop/UDisks2/**
interface=org.freedesktop.UDisks2.*
peer=(label="snap.screenly-client.netconfig"),
I guess - something wrong is with another rule
dbus (send)
bus=system
path=/org/freedesktop/UDisks2/**
interface=org.freedesktop.DBus.Properties
member=PropertiesChanged # <==== Maybe here? I don't know what does it mean, unforutnately
peer=(label="snap.screenly-client.netconfig"),
@renat2017 Which snapd version are you using? The generated rule has changed with https://github.com/snapcore/snapd/pull/3195 which is part of 2.25. Can you please check that you’re using the right snapd version?
So, if I install the client snap in devmode, the issue doesn’t disappear and I am still getting errors related to the “Properties” interface. If I install udisks2 in devmode - errors related to the Properties interface disappear and only errors related to the “Introspectable” interface persist. If I install both client and udisks2 in devmode - all dbus errors disappear.