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>
Mon, 30 Jan 2023 01:03:48 +0000 (01:03 +0000)
commit11b44f8478f3d64f8b6c4d7d2526b4150be0b784
tree7a23d8588a521f299ae5635be540469bdcddb172
parente566587c1f772cd6d86d9c238d97b1e45f1293df
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