Artix Linux Forum

Artix Linux => System => Topic started by: cincinmasukmangkok on 06 May 2020, 09:39:51

Title: [Solved] dnsmasq DBus error
Post by: cincinmasukmangkok on 06 May 2020, 09:39:51
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>
Title: Re: [Solved] dnsmasq DBus error
Post by: ndowens on 06 May 2020, 10:45:15
I’ll look at the pkg when I can today
Title: Re: [Solved] dnsmasq DBus error
Post by: Dudemanguy on 06 May 2020, 15:33:54
I thought we distributed a config file with this already. I vaguely remember someone reporting something like this before.
Title: Re: [Solved] dnsmasq DBus error
Post by: ndowens on 06 May 2020, 20:30:40
Should be fixed in a new update I just pushed into testing