eiwd

no dbus iwd with iwctl functionality
git clone https://git.daat.foo/repos/eiwd.git
Log | Files | Refs | Submodules | README | LICENSE

commit 862707f9435abfa25ce28968712f56cac2bccdae
parent 5d1e24568fac2ef166e9816cd52c351422579bcc
Author: Andrew Zaborowski <andrew.zaborowski@intel.com>
Date:   Fri, 30 Nov 2018 15:12:02 +0100

test-runner: Add dbus verbose output options

-v dbus may help debug find client authentication problems but if
everything is ok it will not print any messages.  -v dbus-monitor starts
the dbus-monitor.

Diffstat:
Mtools/test-runner.c | 17++++++++++++++---
1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/tools/test-runner.c b/tools/test-runner.c @@ -529,20 +529,31 @@ static void create_dbus_system_conf(void) static bool start_dbus_daemon(void) { - char *argv[3]; + char *argv[4]; pid_t pid; argv[0] = "dbus-daemon"; argv[1] = "--system"; - argv[2] = NULL; + argv[2] = "--nosyslog"; + argv[3] = NULL; - pid = execute_program(argv, false, false); + if (check_verbosity("dbus")) + setenv("DBUS_VERBOSE", "1", true); + + pid = execute_program(argv, false, check_verbosity("dbus")); if (pid < 0) return false; if (!wait_for_socket("/run/dbus/system_bus_socket", 25 * 10000)) return false; + if (check_verbosity("dbus-monitor")) { + argv[0] = "dbus-monitor"; + argv[1] = "--system"; + argv[2] = NULL; + execute_program(argv, false, true); + } + l_debug("D-Bus is running"); return true;