Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ansible Install Failure on DO with adblock - dnsmasq fails #927

Closed
jpetermans opened this issue May 7, 2018 · 1 comment
Closed

Ansible Install Failure on DO with adblock - dnsmasq fails #927

jpetermans opened this issue May 7, 2018 · 1 comment

Comments

@jpetermans
Copy link

jpetermans commented May 7, 2018

OS / Environment (where do you run Algo on)

Debian Stretch

Cloud Provider (where do you deploy Algo to)

DigitalOcean

Summary of the problem

Installation fails when deploying via ansible and using "dns" tag:

RUNNING HANDLER [dns_adblocking : restart dnsmasq] 
*********************************************
fatal: [138.68.49.66]: FAILED! => {"changed": false, "msg": "Unable to start service dnsmasq: 
Warning: dnsmasq.service changed on disk. Run 'systemctl daemon-reload' to reload units.
Job for dnsmasq.service failed because the control process exited with error code. 
See \"systemctl status dnsmasq.service\" and \"journalctl -xe\" for details.\n"}

Steps to reproduce the behavior

  1. Installed with:
ansible-playbook deploy.yml -t digitalocean,vpn,cloud,ssh_tunneling,dns -e "do_access_token=<token> do_server_name=<name> do_region=<region>"

Install completes with no errors when installing via Ansible without "dns" tag completes with no errors using the ./algo script with DNS resolver selected.

On the Droplet the systemclt output gives

dnsmasq: failed to create listening socket for port 53: Address already in use

netstat:

dnscrypt-proxy tcp 172.16.0.1:53 LISTEN
dnscrypt-proxy tcp 127.0.2.1:53 LISTEN

Thanks!

@jackivanov
Copy link
Collaborator

Covered in #933
You can use a workaround for now - -e local_dns=true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants