Skip to content

Commit

Permalink
interfaces/udisks2: allow Pinging the UDisks2 service
Browse files Browse the repository at this point in the history
Otherwise:
```
apparmor="DENIED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/UDisks2" interface="org.freedesktop.DBus.Peer" member="Ping" mask="send" name="org.freedesktop.UDisks2" pid=4321 label="snap.<foo>.<bar>" peer_pid=1234 peer_label="unconfined"
```

Signed-off-by: Michał Sawicz <[email protected]>
  • Loading branch information
Saviq authored and Meulengracht committed Nov 21, 2024
1 parent 1bb03fa commit 34933e3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions interfaces/builtin/udisks2.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,12 @@ const udisks2ConnectedPlugAppArmor = `
#include <abstractions/dbus-strict>
dbus (send)
bus=system
path=/org/freedesktop/UDisks2
interface=org.freedesktop.DBus.Peer
member=Ping
peer=(label=###SLOT_SECURITY_TAGS###),
dbus (receive, send)
bus=system
path=/org/freedesktop/UDisks2/**
Expand Down

0 comments on commit 34933e3

Please sign in to comment.