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, 25 Jan 2023 08:17:24 +0000 (08:17 +0000)
commit7e755d1a0313f7d41f1c4d9c88562cd2209dbaab
tree8bf1d2ad20774e68ad3a10cd76decd5aa6bc3275
parent0ad4045a9310ce76b4b2af8c4e355f66e3c7540f
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