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>
Fri, 25 Aug 2023 10:04:10 +0000 (11:04 +0100)
commit7b0274d9fabf5375f6646a7396005083a91b0841
tree31b2fe4f1b74f0d066e33544ceceb0171ed57f81
parent8cd5cc8412f2004df1d1be378209eca969b9d715
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