Skip to content

Add elogind-openrc to UIs that depend on elogind, enable service

Administrator requested to merge elogind-service into master

We currently have a lot of UIs that depend on elogind. However, only kodi enables the elogind service. Most of them don't even have the openrc subpackage listed as dependency, as every other daemon we care about does. That means, that all the other UIs depend on either:

  • The display manager to request elogind to be started. That's the case with tinydm, but might not be the case with all others.
  • elogind to be started through DBus-activation. Since elogind is a system service, its environment will be basically empty, and I have found some better logging to the syslog when started through openrc.

I don't think depending on any of those instead of being verbose is the right approach. So instead, add the openrc subpackage dependency explicitly (this makes sure that the dependency is there when enabling the service), and enable the service in all the UIs that need it. Additionally, this makes the packaging consistent with other daemons necessary in the UIs, for which we are already doing that!

Merge request reports

Loading