On 22 March 2017 at 01:55, Mark Gardner <m...@vt.edu> wrote: > [Sorry for the earlier empty message...] > > I am trying to use dnsmasq per the manual: > > services = { > dnsmasq = { > enable = true; > servers = [ "208.67.222.123" "208.67.220.123" ]; > }; > }; > > The daemon fails to start: > > Mar 21 20:41:25 foobar systemd[1]: Starting Dnsmasq Daemon... > Mar 21 20:41:25 foobar dnsmasq-pre-start[30845]: dnsmasq: syntax check OK. > Mar 21 20:41:25 foobar dnsmasq[30856]: dnsmasq: DBus error: Connection > ":1.34" is not allowed to own the service "uk.org.thekelleys.dnsmasq" due to > security policies in the configuration file > Mar 21 20:41:25 foobar systemd[1]: dnsmasq.service: Main process exited, > code=exited, status=5/NOTINSTALLED > Mar 21 20:41:25 foobar systemd[1]: Failed to start Dnsmasq Daemon. > Mar 21 20:41:25 foobar systemd[1]: dnsmasq.service: Unit entered failed > state. > Mar 21 20:41:25 foobar systemd[1]: dnsmasq.service: Failed with result > 'exit-code'. > > I have been unsuccessful in figuring out what I am doing wrong. It appears > to be something to do with Dbus policy. Anyone running dnsmasq that can give > me pointers?
Have you tried restarting the machine after adding that config? I think e.g. avahi misbehaves on the first "nixos-rebuild switch" due to some dbus issue (fixed by rebooting), perhaps this is like that? - Bjørn _______________________________________________ nix-dev mailing list nix-dev@lists.science.uu.nl http://lists.science.uu.nl/mailman/listinfo/nix-dev