[Solved] dnsmasq DBus error
I use s6 init and this message pop up on the console every seconds when I start dnsmasq service
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
<!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>