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>
Sat, 27 Aug 2022 21:39:04 +0000 (22:39 +0100)
commiteede34c9304f9395106e26a8f56730f32294397a
treef8ea355e705de49b39021387a5260476793296d1
parent668d0f61c3f01449a49c1e2c934ae255f74bfe78
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