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>
Fri, 14 Oct 2022 14:34:00 +0000 (15:34 +0100)
commitaaf9ac7eec4fbaa13194319b68c74e7fb8a0b5f5
treee567cae08f96e0f25b74fbd90c34576a55475653
parentb9e22f1ef803d00bb1e09e4c0c3dd03e88659001
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