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>
Sun, 16 Jun 2024 09:44:31 +0000 (10:44 +0100)
commitae9b6e29af7a0837b234077e6bd43cb90b3a63a3
tree03e08e5da57ebd2e849211332bc8c2d81ca4159a
parent4fee2f106063978467f03a44fc4d8be5afd05686
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