[Bug 1042275] Re: dnsmasq should not register 127.0.0.1 with resolvconf if it's not listening on lo
I would say either way is fine, reading a configuration file or directly communicating with resolvconf. Directly communicating with resolvconf is the best solution. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dnsmasq in Ubuntu. https://bugs.launchpad.net/bugs/1042275 Title: dnsmasq should not register 127.0.0.1 with resolvconf if it's not listening on lo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1042275/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1042275] Re: dnsmasq should not register 127.0.0.1 with resolvconf if it's not listening on lo
** Description changed: - The system dnsmasq is preventing nameservice from working with - NetworkManager. By setting /etc/deafault/dnsmasq ENABLED=1 to ENABLED=0, - nameservice started working again. + The standalone Dnsmasq (from the dnsmasq package) is preventing the + NetworkManager-controlled dnsmasq from starting. By setting ENABLED=0 in + /etc/default/dnsmasq instead of ENABLED=1, name service started working + again. ProblemType: Bug DistroRelease: Ubuntu 12.10 Package: dnsmasq (not installed) ProcVersionSignature: Ubuntu 3.5.0-12.12-generic 3.5.2 Uname: Linux 3.5.0-12-generic x86_64 ApportVersion: 2.5.1-0ubuntu2 Architecture: amd64 Date: Mon Aug 27 10:48:06 2012 EcryptfsInUse: Yes InstallationMedia: Ubuntu 12.04 LTS Precise Pangolin - Release amd64 (20120425) ProcEnviron: - TERM=xterm - PATH=(custom, user) - LANG=en_US.UTF-8 - SHELL=/bin/bash + TERM=xterm + PATH=(custom, user) + LANG=en_US.UTF-8 + SHELL=/bin/bash SourcePackage: dnsmasq UpgradeStatus: No upgrade log present (probably fresh install) mtime.conffile..etc.default.dnsmasq: 2012-08-27T10:43:43.717591 mtime.conffile..etc.dnsmasq.conf: 2012-05-26T23:51:39.391123 -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dnsmasq in Ubuntu. https://bugs.launchpad.net/bugs/1042275 Title: dnsmasq should not register 127.0.0.1 with resolvconf if it's not listening on lo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1042275/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1042275] Re: dnsmasq should not register 127.0.0.1 with resolvconf if it's not listening on lo
Currently it's the initscript that talks to resolvconf. If we want the initscript to implement the behavior requested here (i.e., register 127.0.0.1 with resolvconf if and only if dnsmasq is listening on lo) then the initscript will have to understand dnsmasq's configuration files. That's asking too much from an initscript. Dnsmasq should be enhanced so that the dnsmasq process talks to resolvconf. The process knows whether or not it's listening on the loopback address. Furthermore, the process knows exactly which addresses it's binding; so if it's listening on 127.0.0.2 it can register 127.0.0.2 with resolvconf. Nice. Furthermore, the process knows when it has been terminated, even if it's not the initscript that's sent the signal, so it can de-register its listen address with resolvconf. Nice. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dnsmasq in Ubuntu. https://bugs.launchpad.net/bugs/1042275 Title: dnsmasq should not register 127.0.0.1 with resolvconf if it's not listening on lo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1042275/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1042275] Re: dnsmasq should not register 127.0.0.1 with resolvconf if it's not listening on lo
This remains a bug, but fixing bug 1044388 is going to make this a much more rare occurence. Unassigning for now, the bug needs to be filed upstream and fixed by the upstream maintainer. ** Changed in: dnsmasq (Ubuntu) Assignee: Mathieu Trudel-Lapierre (mathieu-tl) = (unassigned) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dnsmasq in Ubuntu. https://bugs.launchpad.net/bugs/1042275 Title: dnsmasq should not register 127.0.0.1 with resolvconf if it's not listening on lo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1042275/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1042275] Re: dnsmasq should not register 127.0.0.1 with resolvconf if it's not listening on lo
I wrote in comment #5: If so, then that's a second bug for which another report can be opened. I opened bug #1044388 about this. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dnsmasq in Ubuntu. https://bugs.launchpad.net/bugs/1042275 Title: dnsmasq should not register 127.0.0.1 with resolvconf if it's not listening on lo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1042275/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 1042275] Re: dnsmasq should not register 127.0.0.1 with resolvconf if it's not listening on lo
** Summary changed: - network-manager dnsmasq configuration snippet causes standalone dnsmasq not to listen on 127.0.0.1, breaking name service when dnsmasq is installed + dnsmasq should not register 127.0.0.1 with resolvconf if it's not listening on lo -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to dnsmasq in Ubuntu. https://bugs.launchpad.net/bugs/1042275 Title: dnsmasq should not register 127.0.0.1 with resolvconf if it's not listening on lo To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1042275/+subscriptions -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs