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, 1 Dec 2024 13:28:27 +0000 (13:28 +0000)
commitddf27268572be7e1be520aee85bb8f15d0a075bd
tree6de7548430ae717e74e5a07a78d3221e388ef549
parent2fde665a1705b0e6d30f7a028a55980f20c24d9b
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