summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2014-08-04 18:57:37 +0200
committerLennart Poettering <lennart@poettering.net>2014-08-04 18:58:23 +0200
commite70bc43cdf75b36e7ad3d29e9a6f8ee1461e7d5e (patch)
treefc66f098b5b65f73ca711d97f239420917650d9c
parente98bbfd2074e2b1079b7059341eac25741baf319 (diff)
machine: make sure unpriviliged "machinectl status" can show the machine's OS version
-rw-r--r--src/machine/org.freedesktop.machine1.conf12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/machine/org.freedesktop.machine1.conf b/src/machine/org.freedesktop.machine1.conf
index 3a77c70bf1..ac1aee855d 100644
--- a/src/machine/org.freedesktop.machine1.conf
+++ b/src/machine/org.freedesktop.machine1.conf
@@ -42,15 +42,19 @@
<allow send_destination="org.freedesktop.machine1"
send_interface="org.freedesktop.machine1.Manager"
- send_member="GetMachineAddresses"/>
+ send_member="GetMachine"/>
<allow send_destination="org.freedesktop.machine1"
send_interface="org.freedesktop.machine1.Manager"
- send_member="GetMachine"/>
+ send_member="GetMachineByPID"/>
<allow send_destination="org.freedesktop.machine1"
send_interface="org.freedesktop.machine1.Manager"
- send_member="GetMachineByPID"/>
+ send_member="GetMachineAddresses"/>
+
+ <allow send_destination="org.freedesktop.machine1"
+ send_interface="org.freedesktop.machine1.Manager"
+ send_member="GetMachineOSRelease"/>
<allow send_destination="org.freedesktop.machine1"
send_interface="org.freedesktop.machine1.Machine"
@@ -58,7 +62,7 @@
<allow send_destination="org.freedesktop.machine1"
send_interface="org.freedesktop.machine1.Machine"
- send_member="GetMachineOSRelease"/>
+ send_member="GetOSRelease"/>
<allow receive_sender="org.freedesktop.machine1"/>
</policy>