[Nix-dev] dnsmasq fails to start

Mark Gardner mkg at vt.edu
Wed Mar 22 01:55:36 CET 2017


[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?

Mark
-- 
Mark Gardner
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.science.uu.nl/pipermail/nix-dev/attachments/20170321/ba6343ef/attachment.html>


More information about the nix-dev mailing list