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>
Fri, 26 Aug 2022 22:16:23 +0000 (23:16 +0100)
commit62626442bed81d1ae6f385ee9cbfb3a0251ace0d
tree2deffa066091fb82dadf1e3b406804cff9328ede
parent360ef5ba04c7e66ecd4bf148db12e24199c8b37b
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