Only start logind if dbus is installed
authorMartin Pitt <martin.pitt@ubuntu.com>
Mon, 9 Feb 2015 09:53:43 +0000 (10:53 +0100)
committerRaspbian forward porter <root@raspbian.org>
Tue, 9 Aug 2022 18:16:48 +0000 (19:16 +0100)
commit0758a19e9a58cc42a985bc26c31a44a2d9c62551
tree671b30e8798787e1cf89d5474fbb935be192076a
parent80989b2083a04858fbda137e4339159f700aa526
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