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>
Tue, 28 Feb 2023 11:15:45 +0000 (11:15 +0000)
commit64fbf30aadcab590d7e478a3b8ac62696f85c413
treeedbbaccc79b15f70e499f81ce2fa962f6fc9ac45
parenta9e30f210622dda59c805304940e368c1fff6733
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