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>
Tue, 6 Dec 2022 19:30:29 +0000 (19:30 +0000)
commit8bc0fa0216c74ab055b1d9d676551cee81955812
tree13627aa68f84e81f047c971a10e6363c071be95b
parent90f02adb1728f424e35ef0eae8f95a6d2b54532e
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