Only start logind if dbus is installed
authorMartin Pitt <martin.pitt@ubuntu.com>
Mon, 9 Feb 2015 09:53:43 +0000 (10:53 +0100)
committerMichael Biebl <biebl@debian.org>
Tue, 28 Jun 2022 12:33:37 +0000 (13:33 +0100)
commitf526451a113128f1229bc4a9dfe5ef2229a64938
treea46896d540c04200d9f8010e396de80c5ff758fe
parenta6677b430c7f30ddef22aa81bcfe507a1fee9d0e
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