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>
Wed, 20 Sep 2023 12:15:14 +0000 (13:15 +0100)
commit090184a63e9c2347aebf37351b33189a1c350be0
tree2b1a4cf1275af020d933dd84fe3664143c7a392e
parent4b1f5d13003a962e6b010460bf258bca8ea7296a
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