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>
Tue, 15 Mar 2022 11:03:08 +0000 (11:03 +0000)
commite8a18e72e381561d3e4a4b93678820181b7df296
treebb17280f8cab8c0eab738c876736d317e7dfe910
parentfc87458ad93eac57be236203c63b3699786ee3c7
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