Some places in the code assumed that either DBus was compiled in
or running:
1: systemd cgroup code failed to start a VM on hosts without DBus installed or running
2: nwfilter driver failed to initialize on hosts without DBus running
This series fixes those issues as we have fallbacks in case DBus isn't available
that we can use.
Peter Krempa (3):
virdbus: Add virDBusHasSystemBus()
virsystemd: Don't fail to start VM if DBus isn't available or compiled
in
nwfilter: Don't fail to start if DBus isn't available
src/libvirt_private.syms | 1 +
src/nwfilter/nwfilter_driver.c | 8 ++++++--
src/util/virdbus.c | 34 +++++++++++++++++++++++++++++++---
src/util/virdbus.h | 1 +
src/util/virsystemd.c | 4 ++--
5 files changed, 41 insertions(+), 7 deletions(-)
--
1.8.3.2