mirror of
https://github.com/systemd/systemd.git
synced 2024-12-23 21:35:11 +03:00
machine: make sure unpriviliged "machinectl status" can show the machine's OS version
This commit is contained in:
parent
e98bbfd207
commit
e70bc43cdf
@ -40,10 +40,6 @@
|
|||||||
send_interface="org.freedesktop.machine1.Manager"
|
send_interface="org.freedesktop.machine1.Manager"
|
||||||
send_member="ListMachines"/>
|
send_member="ListMachines"/>
|
||||||
|
|
||||||
<allow send_destination="org.freedesktop.machine1"
|
|
||||||
send_interface="org.freedesktop.machine1.Manager"
|
|
||||||
send_member="GetMachineAddresses"/>
|
|
||||||
|
|
||||||
<allow send_destination="org.freedesktop.machine1"
|
<allow send_destination="org.freedesktop.machine1"
|
||||||
send_interface="org.freedesktop.machine1.Manager"
|
send_interface="org.freedesktop.machine1.Manager"
|
||||||
send_member="GetMachine"/>
|
send_member="GetMachine"/>
|
||||||
@ -52,13 +48,21 @@
|
|||||||
send_interface="org.freedesktop.machine1.Manager"
|
send_interface="org.freedesktop.machine1.Manager"
|
||||||
send_member="GetMachineByPID"/>
|
send_member="GetMachineByPID"/>
|
||||||
|
|
||||||
|
<allow send_destination="org.freedesktop.machine1"
|
||||||
|
send_interface="org.freedesktop.machine1.Manager"
|
||||||
|
send_member="GetMachineAddresses"/>
|
||||||
|
|
||||||
|
<allow send_destination="org.freedesktop.machine1"
|
||||||
|
send_interface="org.freedesktop.machine1.Manager"
|
||||||
|
send_member="GetMachineOSRelease"/>
|
||||||
|
|
||||||
<allow send_destination="org.freedesktop.machine1"
|
<allow send_destination="org.freedesktop.machine1"
|
||||||
send_interface="org.freedesktop.machine1.Machine"
|
send_interface="org.freedesktop.machine1.Machine"
|
||||||
send_member="GetAddresses"/>
|
send_member="GetAddresses"/>
|
||||||
|
|
||||||
<allow send_destination="org.freedesktop.machine1"
|
<allow send_destination="org.freedesktop.machine1"
|
||||||
send_interface="org.freedesktop.machine1.Machine"
|
send_interface="org.freedesktop.machine1.Machine"
|
||||||
send_member="GetMachineOSRelease"/>
|
send_member="GetOSRelease"/>
|
||||||
|
|
||||||
<allow receive_sender="org.freedesktop.machine1"/>
|
<allow receive_sender="org.freedesktop.machine1"/>
|
||||||
</policy>
|
</policy>
|
||||||
|
Loading…
Reference in New Issue
Block a user