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, 29 May 2025 17:04:02 +0000 (18:04 +0100)
commit6708084fb4ece29a9520451fca6f8a55b619994f
tree3eea2f27e40a87888487e50b4d21299bee12c174
parent325a6b098fb262eae87ccea837e1d122940fb151
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