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, 6 Jul 2022 19:23:38 +0000 (20:23 +0100)
commitb47dbc1bb1777b3ab7de054d7aa3f1f60195e1a1
tree8f97b207e2ef1e01b5cf81a980cd9897e28b26bb
parent2fef2a3b17661cc49b4fd562d014dd9b8fa4e81d
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