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, 18 Jan 2022 17:52:45 +0000 (17:52 +0000)
commitdf021fc8083be3fd5404bd95594183c9546b16fc
tree6799aa41f6da2a9b8be25f89b3a66089a39aa57f
parentcd7c0bbaff1e4e9610fbe32f932d53b908d07fc5
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