Only start logind if dbus is installed
authorMartin Pitt <martin.pitt@ubuntu.com>
Mon, 9 Feb 2015 09:53:43 +0000 (10:53 +0100)
committerLuca Boccassi <bluca@debian.org>
Mon, 28 Nov 2022 22:35:56 +0000 (22:35 +0000)
commit904042c85eb03ff71fba59b4a1ba319d2dd7c87a
treefa1ce24015ad528172e5d7eacb2ce457ff246afc
parentc9c915581a045f139bf1e36f8491d8d32728e532
Only start logind if dbus is installed

logind fails to start in environments without dbus, such as LXC containers or
servers. Add a startup condition to avoid the very noisy startup failure.

Consider both dbus-daemon (the reference implementation) and
dbus-broker.

Part of #772700

Gbp-Pq: Topic debian
Gbp-Pq: Name Only-start-logind-if-dbus-is-installed.patch
units/systemd-logind.service.in