diff --git a/README b/README index f7ccac8b0b..a5ce54bec7 100644 --- a/README +++ b/README @@ -142,7 +142,9 @@ REQUIREMENTS: dependencies: util-linux >= v2.27.1 required - dbus >= 1.9.18 (strictly speaking optional, but recommended) + dbus >= 1.4.0 (strictly speaking optional, but recommended) + NOTE: If using dbus < 1.9.18, you should override the default + policy directory (--with-dbuspolicydir=/etc/dbus-1/system.d). dracut (optional) PolicyKit (optional) diff --git a/configure.ac b/configure.ac index a071bfa69e..11bd46cbab 100644 --- a/configure.ac +++ b/configure.ac @@ -364,7 +364,7 @@ m4_pattern_forbid([^_?PKG_[A-Z_]+$],[*** pkg.m4 missing, please install pkg-conf have_dbus=no AC_ARG_ENABLE(dbus, AS_HELP_STRING([--disable-dbus], [disable usage of dbus-1 in tests])) AS_IF([test "x$enable_dbus" != "xno"], [ - PKG_CHECK_MODULES(DBUS, [dbus-1 >= 1.9.18], + PKG_CHECK_MODULES(DBUS, [dbus-1 >= 1.3.2], [AC_DEFINE(HAVE_DBUS, 1, [Define if dbus-1 library is available]) have_dbus=yes], [have_dbus=no]) AS_IF([test "x$have_dbus" = "xno" -a "x$enable_dbus" = "xyes"],