This 'fixes' test-runner DBus auth issues on Fedora and
maybe other system. I say 'fixes' because all its doing
is allowing anonymous access to the bus vs finding a
solution to the real problem. I (and I believe Andrew)
have been carrying similar patches in order to get
test-runner to work on Fedora.
I have tried diagnosing this without any success. Since
this is only for use in test-runner I thought a
solution (at least temporarily) would be to allow
anonymous access to DBus.
OR maybe someone will see this and have some idea as
to what is going on.
James Prestwood (1):
test-runner: allow anonymous Dbus access
tools/test-runner.c | 2 ++
1 file changed, 2 insertions(+)
--
2.21.1
Show replies by date
The dbus config file doesn't play well with Fedora.
---
tools/test-runner.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/tools/test-runner.c b/tools/test-runner.c
index 320dea0b..1be3f640 100644
--- a/tools/test-runner.c
+++ b/tools/test-runner.c
@@ -665,6 +665,8 @@ static void create_dbus_system_conf(void)
fputs("<type>system</type>\n", fp);
fputs("<listen>unix:path=/run/dbus/system_bus_socket</listen>\n",
fp);
fputs("<limit
name=\"reply_timeout\">2147483647</limit>", fp);
+ fputs("<auth>ANONYMOUS</auth>\n", fp);
+ fputs("<allow_anonymous/>\n", fp);
fputs("<policy context=\"default\">\n", fp);
fputs("<allow user=\"*\"/>\n", fp);
fputs("<allow own=\"*\"/>\n", fp);
--
2.21.1