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

Permission denied on pidfile #1

Open
escoand opened this issue May 29, 2017 · 1 comment
Open

Permission denied on pidfile #1

escoand opened this issue May 29, 2017 · 1 comment

Comments

@escoand
Copy link

escoand commented May 29, 2017

Just installed the snap and touched the dnsmasq.conf file.
Now I get constantly this error:

May 29 15:30:49 nextcloud systemd[1]: Started Service for snap application dnsmasqd.dnsmasqd.
May 29 15:30:49 nextcloud snap[6778]: dnsmasq: failed to open pidfile /var/run/dnsmasq.pid: Permission denied
May 29 15:30:49 nextcloud systemd[1]: snap.dnsmasqd.dnsmasqd.service: Main process exited, code=exited, status=3/NOTIMPLEMENTED
May 29 15:30:49 nextcloud systemd[1]: snap.dnsmasqd.dnsmasqd.service: Unit entered failed state.
May 29 15:30:49 nextcloud systemd[1]: snap.dnsmasqd.dnsmasqd.service: Failed with result 'exit-code'.
May 29 15:30:49 nextcloud systemd[1]: snap.dnsmasqd.dnsmasqd.service: Service hold-off time over, scheduling restart.
May 29 15:30:49 nextcloud systemd[1]: Stopped Service for snap application dnsmasqd.dnsmasqd.
May 29 15:30:49 nextcloud systemd[1]: Started Service for snap application dnsmasqd.dnsmasqd.
May 29 15:30:49 nextcloud snap[6793]: dnsmasq: failed to open pidfile /var/run/dnsmasq.pid: Permission denied
May 29 15:30:49 nextcloud systemd[1]: snap.dnsmasqd.dnsmasqd.service: Main process exited, code=exited, status=3/NOTIMPLEMENTED
May 29 15:30:49 nextcloud systemd[1]: snap.dnsmasqd.dnsmasqd.service: Unit entered failed state.
May 29 15:30:49 nextcloud systemd[1]: snap.dnsmasqd.dnsmasqd.service: Failed with result 'exit-code'.
May 29 15:30:50 nextcloud systemd[1]: snap.dnsmasqd.dnsmasqd.service: Service hold-off time over, scheduling restart.
May 29 15:30:50 nextcloud systemd[1]: Stopped Service for snap application dnsmasqd.dnsmasqd.
May 29 15:30:50 nextcloud systemd[1]: snap.dnsmasqd.dnsmasqd.service: Start request repeated too quickly.
May 29 15:30:50 nextcloud systemd[1]: Failed to start Service for snap application dnsmasqd.dnsmasqd.
@escoand
Copy link
Author

escoand commented May 29, 2017

Workaround is snap install dnsmasqd --devmode
But a real solution is here documented: https://askubuntu.com/a/916932

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

1 participant