Only start logind if dbus is installed
authorMartin Pitt <martin.pitt@ubuntu.com>
Mon, 9 Feb 2015 09:53:43 +0000 (10:53 +0100)
committerLuca Boccassi <bluca@debian.org>
Fri, 26 Jan 2024 21:48:36 +0000 (21:48 +0000)
commitc3d5661e9d090fd39521d50a31ef3e33b7324b79
treee3f7c297f70bf4c3505344f48528d7fca7479a90
parent924941f1e7058b2905a3602a587b7e14caaab41d
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