chiark / gitweb /
bus: don't switch to kdbus if not requested
authorDavid Herrmann <dh.herrmann@gmail.com>
Wed, 6 May 2015 16:18:43 +0000 (18:18 +0200)
committerSven Eden <yamakuzure@gmx.net>
Tue, 14 Mar 2017 07:22:33 +0000 (08:22 +0100)
commitef01fb10f7a4159a2d2800d2c7c60b247e575ba7
treecf4b89122cb0b924c9d7e6e140125aa07efb7f05
parentc3de53fc0458742fd0bda777dbb33e3d9c581c37
bus: don't switch to kdbus if not requested

Whenever systemd is re-executed, it tries to create a system bus via
kdbus. If the system did not have kdbus loaded during bootup, but the
module is loaded later on manually, this will cause two system buses
running (kdbus and dbus-daemon in parallel).

This patch makes sure we never try to create kdbus buses if it wasn't
explicitly requested on the command-line.
src/libelogind/sd-bus/bus-util.c
src/libelogind/sd-bus/bus-util.h