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>
Thu, 26 Jun 2025 14:58:40 +0000 (15:58 +0100)
commite417eb58da713411296aa93a61b2f4ac2343b227
treef3f83611a9f8ec7847054a938682928178c1455c
parentdd42ad26f717e70427dca307d8158c3284677472
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