On Tue, 21 Oct 2014 20:49:19 +0300 =?UTF-8?B?VMO2csO2ayBFZHdpbg==?=
<ed...@etorok.net> wrote:
> Package: systemd-shim
> Version: 8-3
> Severity: normal
>
> --- Please enter the report below this line. ---
>
> systemd-shim doesn't provide the Version property from
org.freedesktop.systemd1.Manager.
> According to the documentation[0] applications shouldn't parse this
property, but powerdevil from KDE does
> and hides the Sleep/Hibernate buttons [1].
>
> I've patched[2] systemd-shim to implement the Version property and
Sleep from KDE works now,
> but I don't think its the proper way forward (given that doc says
apps shouldn't use it).
> Nevertheless I opened this bugreport to inform you about this issue.
>
> FWIW the powerdevil code also has a fallback check for Upstart if
systemd version cannot be found,
> is there a dbus interface specific to systemd-shim they could check
for?
Thanks a ton for tracking this down. It explains why some KDE users
have not seen their situation improve from the recent cgmanager fixes.
That said, systemd-shim is really not the place to fix this. Instead,
implement a "have_logind" function to replace the version check for
195. For the v198 check, I do not know what to do, but it should
definitely be done on the KDE side of this.
Best wishes,
--
Cameron Norman