Both elogind and elogind-s6 provide service files for dbus and s6 respectively
Well, there are two packages elogind containing the elogind itself and elogind-s6 for a service file that just contains lines /etc/s6/sv/elogind/run
#!/usr/bin/execlineb -P
exec /usr/lib/elogind/elogind
As expected, no daemonizing option provided, it shall run without forking. But this encounters a conflict with a dbus service /usr/share/dbus-1/system-services/org.freedesktop.login1.service
# This file is part of elogind.
#
# elogind is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
[D-BUS Service]
Name=org.freedesktop.login1
Exec=/usr/lib/elogind/elogind --daemon
User=root
That is, elogind-daemon appears in tasks with parent PID of init with dbus running properly whilst s6 service run script dies due to failed execution of another non-daemonized elogind. Deletion of service file can possibly bring some incompatibilities with software but I have little idea how software can be dependent on this service or service file. We could somehow alter service file so it will use s6-rc or s6-svc to change state of s6 supervised elogind. How to properly get rid of this dbus service without breaking stuff if that's possible?