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>
Tue, 1 Nov 2022 12:06:18 +0000 (12:06 +0000)
commit9e9eda0a56f8c946d1d5695ed55c4b256fe0122e
tree7cae147c45e12c08334d6d8f15e9b501f1426c2b
parent2879177bc7147d166ceca14629cfd1cfbecb41fd
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