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>
Wed, 13 Jul 2022 21:05:40 +0000 (22:05 +0100)
commitdc61a567dc6395bd3f82d59d27248c4ee1d24aa9
tree15b4266cdbdd37c3b61c6af57df88297d734ba76
parent544632e415b04c890d3728450281701a5ec6b1a1
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