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>
Thu, 22 Dec 2022 11:26:41 +0000 (11:26 +0000)
commit4be4568cfca55c0d8ea562a4713bd7ef71c997e8
tree87c7077b79de70555084bd361bf0a0e43a004e44
parentb55cfd783e589d53e35c4a373c2923056bda3037
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