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>
Sat, 30 Sep 2023 10:34:39 +0000 (11:34 +0100)
commit1ceb78d8938d5d3f7b9bba1ac6ec87b93fcba4d1
tree8c9b9031d412a5ac2c153dc03153805ec92ebfa2
parent5b888a86ff8e3c80bfbf8b4f99e03fa5cddb29b1
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