|
|
Subscribe / Log in / New account

Dependency on systemd: why/where?

Dependency on systemd: why/where?

Posted Nov 6, 2013 13:58 UTC (Wed) by zuki (subscriber, #41808)
In reply to: Dependency on systemd: why/where? by jfasch
Parent article: Which init system for Debian?

It uses systemd-logind's dbus interfaces to control suspend, hibernate, and session switching.


to post comments

Dependency on systemd: why/where?

Posted Nov 6, 2013 18:00 UTC (Wed) by debacle (subscriber, #7114) [Link] (4 responses)

Speaking out of absolute ignorance, here, but how hard is it to define a DBus interface for such tasks, that can be implemented by any init system? So that Gnome would depend on a well-defined interface, not on a specific program? Both systemd and upstart are using DBus anyway and for others a simple bridge could be build. What am I missing?

Btw: I'm using upstart on a huge number of Debian Squeeze(!) systems and it works well for my task. I would not oppose to systemd, however - as long as we get rid of sysvinit, RSN.

Dependency on systemd: why/where?

Posted Nov 6, 2013 18:13 UTC (Wed) by ovitters (guest, #27950) [Link]

Actually, GNOME depends on the d-bus interface. What we don't want is several different APIs. E.g. different d-bus interfaces and so on.

Dependency on systemd: why/where?

Posted Nov 6, 2013 19:08 UTC (Wed) by alexl (subscriber, #19068) [Link]

Here is that dbus interface:
http://www.freedesktop.org/wiki/Software/systemd/logind/

Its on a page with "systemd" in the name, but the API is generic.

Dependency on systemd: why/where?

Posted Nov 8, 2013 18:54 UTC (Fri) by drag (guest, #31333) [Link] (1 responses)

> Speaking out of absolute ignorance, here, but how hard is it to define a DBus interface for such tasks, that can be implemented by any init system?

The problem isn't the interface.. it's dbus already.

The problem is that no other init system is going to provide the features needed.

Ubuntu forked logind, but they are going to have a VERY hard time keeping up with systemd.

Dependency on systemd: why/where?

Posted Nov 9, 2013 7:51 UTC (Sat) by tzafrir (subscriber, #11501) [Link]

"Forked" also implies that their patches were not accepted.

Up until systemd 204, their patch was pretty simple: just keep logind separate. In systemd 205, systemd is now the sole cgroups controller. This means that a separate session logind no longer implements that functionality.

At the moment their direction seems to be to adapt Google's lmctfy (LM contain TFY - https://github.com/google/lmctfy/ - originally intended for containers) as the cgroups controller.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds