Page 1 of 1

Systemd/logind support

Posted: May 20th, 2014, 5:49 pm
by HTJ
I posted in the General Help forum that SABnzbd (regardless of version) cannot suspend or shut down a system running OpenElec 4.X. The log shows this error:

INFO::[__init__:1600] Queue has finished, launching: <function system_standby at 0x117c320> (None)
2014-05-11 05:06:03,753::INFO::[__init__:1600] Performing system standby
2014-05-11 05:06:03,763::INFO::[__init__:1600] DBus not reachable (org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files)
2014-05-11 05:06:03,763::INFO::[__init__:1600] DBus not reachable (org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.DeviceKit.Power was not provided by any .service files)
2014-05-11 05:06:03,764::INFO::[__init__:1600] DBus does not support Suspend (standby)

An OpenElec dev has told me that this service has been removed and that OE now relies upon systemd/logind for suspending, etc, so these functions in SABnzbd are broken for OE users.

Could support for systemd/logind be added to a future release? Thanks.

Re: Systemd/logind support

Posted: May 21st, 2014, 2:27 am
by jcfp
Does installing consolekit + python-dbus make any difference?

Re: Systemd/logind support

Posted: May 21st, 2014, 12:36 pm
by HTJ
I can't test that unfortunately - OE is locked down to prevent end users breaking it.