[systemd-devel] Polkit and systemd D-Bus API

Stef Walter stef at thewalter.net
Tue Jul 15 06:48:28 PDT 2014


On 15.07.2014 15:46, Jan Safranek wrote:
> On 07/15/2014 03:38 PM, Stef Walter wrote:
>> Not sure about:
>>
>>  * Halt(), PowerOff(), Reboot()
> 
> OpenLMI is interested in these. They are already covered by logind,
> which is integrated with polkit just fine. Look for actions like
> org.freedesktop.login1.reboot, reboot-multiple-sessions etc. in
> org.freedesktop.login1.policy.

Right. That's why I wasn't sure about them in the systemd D-Bus API.
Those seem like the low level implementations that we wouldn't call
directly, and we would use the stuff in logind instead.

Stef

-- 

stef at thewalter.net
http://stef.thewalter.net


More information about the systemd-devel mailing list