Skip to main content
Topic: [Solved] dnsmasq DBus error (Read 933 times) previous topic - next topic
0 Members and 2 Guests are viewing this topic.

[Solved] dnsmasq DBus error

I use s6 init and this message pop up on the console every seconds when I start dnsmasq service

Code: [Select]
dnsmasq: DBus error: Connection ":<connection code>" is not allowed to own the service "uk.org.thekelleys.dnsmasq" due to security policies in the configuration file

but I can start dnsmasq normally by typing sudo dnsmasq -dq

Update: It seems Artix's dnsmasq package is missing a configuration file so I took /etc/dbus-1/system.d/dnsmasq.conf from my Armbian installation and put it in my Artix installation

Code: [Select]
<!DOCTYPE busconfig PUBLIC
 "-//freedesktop//DTD D-BUS Bus Configuration 1.0//EN"
 "http://www.freedesktop.org/standards/dbus/1.0/busconfig.dtd">
<busconfig>
<policy user="root">
<allow own="uk.org.thekelleys.dnsmasq"/>
<allow send_destination="uk.org.thekelleys.dnsmasq"/>
</policy>
        <policy user="dnsmasq">
                <allow own="uk.org.thekelleys.dnsmasq"/>
                <allow send_destination="uk.org.thekelleys.dnsmasq"/>
        </policy>
<policy context="default">
                <deny own="uk.org.thekelleys.dnsmasq"/>
                <deny send_destination="uk.org.thekelleys.dnsmasq"/>
        </policy>
</busconfig>

Re: [Solved] dnsmasq DBus error

Reply #1
I’ll look at the pkg when I can today

Re: [Solved] dnsmasq DBus error

Reply #2
I thought we distributed a config file with this already. I vaguely remember someone reporting something like this before.

Re: [Solved] dnsmasq DBus error

Reply #3
Should be fixed in a new update I just pushed into testing