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, 8 Nov 2022 14:23:22 +0000 (14:23 +0000)
commit13d7a59c36704899a66741011f38a1958597fd53
tree45407f93217c3423a0706b9f861119dd43644b70
parentc8c6df02d18dc1b092fec6975fbb332b71869ee4
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