* [RFC 0/1] Fix DBus auth issues on Fedora
@ 2020-03-24 20:29 James Prestwood
2020-03-24 20:29 ` [RFC 1/1] test-runner: allow anonymous Dbus access James Prestwood
0 siblings, 1 reply; 2+ messages in thread
From: James Prestwood @ 2020-03-24 20:29 UTC (permalink / raw)
To: iwd
[-- Attachment #1: Type: text/plain, Size: 720 bytes --]
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* [RFC 1/1] test-runner: allow anonymous Dbus access
2020-03-24 20:29 [RFC 0/1] Fix DBus auth issues on Fedora James Prestwood
@ 2020-03-24 20:29 ` James Prestwood
0 siblings, 0 replies; 2+ messages in thread
From: James Prestwood @ 2020-03-24 20:29 UTC (permalink / raw)
To: iwd
[-- Attachment #1: Type: text/plain, Size: 726 bytes --]
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-03-24 20:29 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-03-24 20:29 [RFC 0/1] Fix DBus auth issues on Fedora James Prestwood
2020-03-24 20:29 ` [RFC 1/1] test-runner: allow anonymous Dbus access James Prestwood
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox