summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2019-04-03 16:50:49 +0200
committerLennart Poettering <lennart@poettering.net>2019-04-03 17:24:12 +0200
commitb66c8eba224306d8e9a4c52bc8806a620961271a (patch)
tree5350f8a270ecc5378e5f7b36a88d01bc5fad2ed6 /src
parentb3e8032bb45b96957619e16b53b86f01d1a45458 (diff)
downloadsystemd-b66c8eba224306d8e9a4c52bc8806a620961271a.tar.gz
portabled: fix dbus policy
Let's whitelist the method calls actually defined, not some outdated old names.
Diffstat (limited to 'src')
-rw-r--r--src/portable/org.freedesktop.portable1.conf6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/portable/org.freedesktop.portable1.conf b/src/portable/org.freedesktop.portable1.conf
index 4c20a886e6..31d41af12a 100644
--- a/src/portable/org.freedesktop.portable1.conf
+++ b/src/portable/org.freedesktop.portable1.conf
@@ -47,7 +47,7 @@
<allow send_destination="org.freedesktop.portable1"
send_interface="org.freedesktop.portable1.Manager"
- send_member="GetImageUnitFiles"/>
+ send_member="GetImageMetadata"/>
<allow send_destination="org.freedesktop.portable1"
send_interface="org.freedesktop.portable1.Manager"
@@ -85,11 +85,11 @@
<allow send_destination="org.freedesktop.portable1"
send_interface="org.freedesktop.portable1.Image"
- send_member="GetUnitFiles"/>
+ send_member="GetMetadata"/>
<allow send_destination="org.freedesktop.portable1"
send_interface="org.freedesktop.portable1.Image"
- send_member="GetImageState"/>
+ send_member="GetState"/>
<allow send_destination="org.freedesktop.portable1"
send_interface="org.freedesktop.portable1.Image"