Only start logind if dbus is installed
authorMartin Pitt <martin.pitt@ubuntu.com>
Mon, 9 Feb 2015 09:53:43 +0000 (10:53 +0100)
committerMichael Biebl <biebl@debian.org>
Mon, 10 Oct 2022 22:51:55 +0000 (23:51 +0100)
commit7285780c3a4003b42ed13071149b0c25acf13231
treef0c3fe0f864e223e244874ef709a0d3d84fea5cd
parent08ab6f6e1b9df403aebd124c81d10f7d9064392d
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