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>
Mon, 10 Jul 2023 21:44:35 +0000 (22:44 +0100)
commit986f9821a7d1f9fc0fb0576bb325e381156a3985
tree6912412d0fa8aeea135a6f90a8e4276dffbfba3b
parentf9f97610ab1a44f1e68c2f5b3d54d4f4a96a4436
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