[Bug 1314697] Re: Upon upgrade, DNS resolution no longer works; dnsmasq uses 100% CPU
** Summary changed: - Upon upgrade, DNS resolution no longer works + Upon upgrade, DNS resolution no longer works; dnsmasq uses 100% CPU -- 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/1314697 Title: Upon upgrade, DNS resolution no longer works; dnsmasq uses 100% CPU To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+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 1314697] Re: Upon upgrade, DNS resolution no longer works; dnsmasq uses 100% CPU
Attached is a full strace from dnsmasq startup showing the problem. ** Attachment added: dnsmasq-strace.log https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+attachment/4107998/+files/dnsmasq-strace.log ** Summary changed: - Upon upgrade, DNS resolution no longer works; dnsmasq uses 100% CPU + DNS resolution no longer works; dnsmasq uses 100% CPU -- 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/1314697 Title: DNS resolution no longer works; dnsmasq uses 100% CPU To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+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 1314697] Re: Upon upgrade, DNS resolution no longer works; dnsmasq uses 100% CPU
** Summary changed: - Upon upgrade, DNS resolution no longer works + Upon upgrade, DNS resolution no longer works; dnsmasq uses 100% CPU -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314697 Title: Upon upgrade, DNS resolution no longer works; dnsmasq uses 100% CPU To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1314697] Re: Upon upgrade, DNS resolution no longer works; dnsmasq uses 100% CPU
Attached is a full strace from dnsmasq startup showing the problem. ** Attachment added: dnsmasq-strace.log https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+attachment/4107998/+files/dnsmasq-strace.log ** Summary changed: - Upon upgrade, DNS resolution no longer works; dnsmasq uses 100% CPU + DNS resolution no longer works; dnsmasq uses 100% CPU -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314697 Title: DNS resolution no longer works; dnsmasq uses 100% CPU To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1314697] Re: Upon upgrade, DNS resolution no longer works
Observations: This is not dependent on multiple instances of dnsmasq running - I've disabled the libvirt and lxc-net instances, and the network-manager dnsmasq still spins at 100% CPU and fails to resolve DNS queries. Attached is the strace output from boot of the dnsmasq instance spawned by network-manager ** Attachment added: strace output of network-manager dnsmasq instance https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+attachment/4107633/+files/dnsmasq.log.xz -- 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/1314697 Title: Upon upgrade, DNS resolution no longer works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+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 1314697] Re: Upon upgrade, DNS resolution no longer works
And, for good measure, the lsof output. ** Attachment added: lsof | grep dnsmasq output https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+attachment/4107634/+files/lsof -- 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/1314697 Title: Upon upgrade, DNS resolution no longer works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+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 1314697] Re: Upon upgrade, DNS resolution no longer works
And, for good measure, the lsof output. ** Attachment added: lsof | grep dnsmasq output https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+attachment/4107634/+files/lsof -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314697 Title: Upon upgrade, DNS resolution no longer works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1314697] Re: Upon upgrade, DNS resolution no longer works
Observations: This is not dependent on multiple instances of dnsmasq running - I've disabled the libvirt and lxc-net instances, and the network-manager dnsmasq still spins at 100% CPU and fails to resolve DNS queries. Attached is the strace output from boot of the dnsmasq instance spawned by network-manager ** Attachment added: strace output of network-manager dnsmasq instance https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+attachment/4107633/+files/dnsmasq.log.xz -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314697 Title: Upon upgrade, DNS resolution no longer works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1314697] Re: Upon upgrade, DNS resolution no longer works
On 02/05/14 12:00, Adam Smith wrote: LSOF output below. I tried to put a strace in init.d but failed miserably lsof | grep dnsmasq dnsmasq 1430 dnsmasq cwd unknown /proc/1430/cwd (readlink: Permission denied) dnsmasq 1430 dnsmasq rtd unknown /proc/1430/root (readlink: Permission denied) dnsmasq 1430 dnsmasq txt unknown /proc/1430/exe (readlink: Permission denied) dnsmasq 1430 dnsmasq NOFD /proc/1430/fd (opendir: Permission denied) dnsmasq 2066 nobody cwd unknown /proc/2066/cwd (readlink: Permission denied) dnsmasq 2066 nobody rtd unknown /proc/2066/root (readlink: Permission denied) dnsmasq 2066 nobody txt unknown /proc/2066/exe (readlink: Permission denied) dnsmasq 2066 nobody NOFD /proc/2066/fd (opendir: Permission denied) dnsmasq 3176 libvirt-dnsmasq cwd unknown /proc/3176/cwd (readlink: Permission denied) dnsmasq 3176 libvirt-dnsmasq rtd unknown /proc/3176/root (readlink: Permission denied) dnsmasq 3176 libvirt-dnsmasq txt unknown /proc/3176/exe (readlink: Permission denied) dnsmasq 3176 libvirt-dnsmasq NOFD /proc/3176/fd (opendir: Permission denied) It looks like that was done as an ordinary user. Please could you repeat as root sudo lsof | grep dnsmasq. I note that there's two instances of dnsmasq here, one started by libvirt (?) and one, I guess, started by network-manager. I wonder if some interaction between the two is what's causing the problem. Which one is the which is spinning? Can you disable the libvirt stuff and see if that makes a difference? Cheers, Simon. -- 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/1314697 Title: Upon upgrade, DNS resolution no longer works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+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
Re: [Bug 1314697] Re: Upon upgrade, DNS resolution no longer works
On 02/05/14 12:00, Adam Smith wrote: LSOF output below. I tried to put a strace in init.d but failed miserably lsof | grep dnsmasq dnsmasq 1430 dnsmasq cwd unknown /proc/1430/cwd (readlink: Permission denied) dnsmasq 1430 dnsmasq rtd unknown /proc/1430/root (readlink: Permission denied) dnsmasq 1430 dnsmasq txt unknown /proc/1430/exe (readlink: Permission denied) dnsmasq 1430 dnsmasq NOFD /proc/1430/fd (opendir: Permission denied) dnsmasq 2066 nobody cwd unknown /proc/2066/cwd (readlink: Permission denied) dnsmasq 2066 nobody rtd unknown /proc/2066/root (readlink: Permission denied) dnsmasq 2066 nobody txt unknown /proc/2066/exe (readlink: Permission denied) dnsmasq 2066 nobody NOFD /proc/2066/fd (opendir: Permission denied) dnsmasq 3176 libvirt-dnsmasq cwd unknown /proc/3176/cwd (readlink: Permission denied) dnsmasq 3176 libvirt-dnsmasq rtd unknown /proc/3176/root (readlink: Permission denied) dnsmasq 3176 libvirt-dnsmasq txt unknown /proc/3176/exe (readlink: Permission denied) dnsmasq 3176 libvirt-dnsmasq NOFD /proc/3176/fd (opendir: Permission denied) It looks like that was done as an ordinary user. Please could you repeat as root sudo lsof | grep dnsmasq. I note that there's two instances of dnsmasq here, one started by libvirt (?) and one, I guess, started by network-manager. I wonder if some interaction between the two is what's causing the problem. Which one is the which is spinning? Can you disable the libvirt stuff and see if that makes a difference? Cheers, Simon. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314697 Title: Upon upgrade, DNS resolution no longer works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1314697] Re: Upon upgrade, DNS resolution no longer works
LSOF output below. I tried to put a strace in init.d but failed miserably lsof | grep dnsmasq dnsmasq 1430 dnsmasq cwd unknown /proc/1430/cwd (readlink: Permission denied) dnsmasq 1430 dnsmasq rtd unknown /proc/1430/root (readlink: Permission denied) dnsmasq 1430 dnsmasq txt unknown /proc/1430/exe (readlink: Permission denied) dnsmasq 1430 dnsmasq NOFD /proc/1430/fd (opendir: Permission denied) dnsmasq 2066 nobody cwd unknown /proc/2066/cwd (readlink: Permission denied) dnsmasq 2066 nobody rtd unknown /proc/2066/root (readlink: Permission denied) dnsmasq 2066 nobody txt unknown /proc/2066/exe (readlink: Permission denied) dnsmasq 2066 nobody NOFD /proc/2066/fd (opendir: Permission denied) dnsmasq 3176 libvirt-dnsmasq cwd unknown /proc/3176/cwd (readlink: Permission denied) dnsmasq 3176 libvirt-dnsmasq rtd unknown /proc/3176/root (readlink: Permission denied) dnsmasq 3176 libvirt-dnsmasq txt unknown /proc/3176/exe (readlink: Permission denied) dnsmasq 3176 libvirt-dnsmasq NOFD /proc/3176/fd (opendir: Permission denied) -- 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/1314697 Title: Upon upgrade, DNS resolution no longer works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+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 1314697] Re: Upon upgrade, DNS resolution no longer works
LSOF output below. I tried to put a strace in init.d but failed miserably lsof | grep dnsmasq dnsmasq 1430 dnsmasq cwd unknown /proc/1430/cwd (readlink: Permission denied) dnsmasq 1430 dnsmasq rtd unknown /proc/1430/root (readlink: Permission denied) dnsmasq 1430 dnsmasq txt unknown /proc/1430/exe (readlink: Permission denied) dnsmasq 1430 dnsmasq NOFD /proc/1430/fd (opendir: Permission denied) dnsmasq 2066 nobody cwd unknown /proc/2066/cwd (readlink: Permission denied) dnsmasq 2066 nobody rtd unknown /proc/2066/root (readlink: Permission denied) dnsmasq 2066 nobody txt unknown /proc/2066/exe (readlink: Permission denied) dnsmasq 2066 nobody NOFD /proc/2066/fd (opendir: Permission denied) dnsmasq 3176 libvirt-dnsmasq cwd unknown /proc/3176/cwd (readlink: Permission denied) dnsmasq 3176 libvirt-dnsmasq rtd unknown /proc/3176/root (readlink: Permission denied) dnsmasq 3176 libvirt-dnsmasq txt unknown /proc/3176/exe (readlink: Permission denied) dnsmasq 3176 libvirt-dnsmasq NOFD /proc/3176/fd (opendir: Permission denied) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314697 Title: Upon upgrade, DNS resolution no longer works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1314697] Re: Upon upgrade, DNS resolution no longer works
I'm seeing this too, strace show it spinning on: select(8, [0 3 6 7], [], [6], NULL) = 1 (in [0]) recvmsg(0, 0x7fffdb2aa6d0, 0) = -1 ENOTSOCK (Socket operation on non-socket) accept(0, 0, NULL) = -1 ENOTSOCK (Socket operation on non-socket) select(8, [0 3 6 7], [], [6], NULL) = 1 (in [0]) recvmsg(0, 0x7fffdb2aa6d0, 0) = -1 ENOTSOCK (Socket operation on non-socket) accept(0, 0, NULL) = -1 ENOTSOCK (Socket operation on non-socket) So we're getting ENOTSOCK on fd 0, which is /dev/null : -- 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/1314697 Title: Upon upgrade, DNS resolution no longer works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+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
Re: [Bug 1314697] Re: Upon upgrade, DNS resolution no longer works
On 01/05/14 07:45, Colin King wrote: I'm seeing this too, strace show it spinning on: select(8, [0 3 6 7], [], [6], NULL) = 1 (in [0]) recvmsg(0, 0x7fffdb2aa6d0, 0) = -1 ENOTSOCK (Socket operation on non-socket) accept(0, 0, NULL) = -1 ENOTSOCK (Socket operation on non-socket) select(8, [0 3 6 7], [], [6], NULL) = 1 (in [0]) recvmsg(0, 0x7fffdb2aa6d0, 0) = -1 ENOTSOCK (Socket operation on non-socket) accept(0, 0, NULL) = -1 ENOTSOCK (Socket operation on non-socket) So we're getting ENOTSOCK on fd 0, which is /dev/null : It would be really useful to get an strace of dnsmasq from startup to when it's in this state, since I've no yet been able to reproduce this. Also the output of lsof | grep dnsmasq The bug looks superficially like an earlier one which was triggered by starting dnsmasq without stdout/stdin/stderr (ie fd 0,1,2). Sockets would be opened which used these fds, and subsequently the connect std* to /dev/null code would trash them. However that doesn't explain why both the UDP and TCP listening sockets seem to be zero here. Cheers, Simon. -- 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/1314697 Title: Upon upgrade, DNS resolution no longer works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+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 1314697] Re: Upon upgrade, DNS resolution no longer works
I'm seeing this too, strace show it spinning on: select(8, [0 3 6 7], [], [6], NULL) = 1 (in [0]) recvmsg(0, 0x7fffdb2aa6d0, 0) = -1 ENOTSOCK (Socket operation on non-socket) accept(0, 0, NULL) = -1 ENOTSOCK (Socket operation on non-socket) select(8, [0 3 6 7], [], [6], NULL) = 1 (in [0]) recvmsg(0, 0x7fffdb2aa6d0, 0) = -1 ENOTSOCK (Socket operation on non-socket) accept(0, 0, NULL) = -1 ENOTSOCK (Socket operation on non-socket) So we're getting ENOTSOCK on fd 0, which is /dev/null : -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314697 Title: Upon upgrade, DNS resolution no longer works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1314697] Re: Upon upgrade, DNS resolution no longer works
On 01/05/14 07:45, Colin King wrote: I'm seeing this too, strace show it spinning on: select(8, [0 3 6 7], [], [6], NULL) = 1 (in [0]) recvmsg(0, 0x7fffdb2aa6d0, 0) = -1 ENOTSOCK (Socket operation on non-socket) accept(0, 0, NULL) = -1 ENOTSOCK (Socket operation on non-socket) select(8, [0 3 6 7], [], [6], NULL) = 1 (in [0]) recvmsg(0, 0x7fffdb2aa6d0, 0) = -1 ENOTSOCK (Socket operation on non-socket) accept(0, 0, NULL) = -1 ENOTSOCK (Socket operation on non-socket) So we're getting ENOTSOCK on fd 0, which is /dev/null : It would be really useful to get an strace of dnsmasq from startup to when it's in this state, since I've no yet been able to reproduce this. Also the output of lsof | grep dnsmasq The bug looks superficially like an earlier one which was triggered by starting dnsmasq without stdout/stdin/stderr (ie fd 0,1,2). Sockets would be opened which used these fds, and subsequently the connect std* to /dev/null code would trash them. However that doesn't explain why both the UDP and TCP listening sockets seem to be zero here. Cheers, Simon. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314697 Title: Upon upgrade, DNS resolution no longer works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1314697] Re: Upon upgrade, DNS resolution no longer works
** Attachment added: dnsmasqlog https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+attachment/4101512/+files/dnsmasqlog -- 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/1314697 Title: Upon upgrade, DNS resolution no longer works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+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 1314697] Re: Upon upgrade, DNS resolution no longer works
Also note that dnsmasq is running under user=nobody and running at 99-100% CPU. -- 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/1314697 Title: Upon upgrade, DNS resolution no longer works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+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 1314697] Re: Upon upgrade, DNS resolution no longer works
Assuming you are using NetworkManager, a better way to work around the problem than editing resolv.conf by hand is to edit /etc/NetworkManager/NetworkManager.conf and comment out the line `dns=dnsmasq`, save, and then `restart network-manager`. This will cause NetworkManager not to use a slave instance of dnsmasq as a local forwarding nameserver. -- 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/1314697 Title: Upon upgrade, DNS resolution no longer works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+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 1314697] Re: Upon upgrade, DNS resolution no longer works
Thanks for the workaround Thomas. I've checked a few more things, firstly I found this in syslog at startup, missing from my earlier attachment: Apr 30 18:57:06 donkey NetworkManager[1162]: info DNS: starting dnsmasq... Apr 30 18:57:06 donkey NetworkManager[1162]: warn dnsmasq not available on the bus, can't update servers. Apr 30 18:57:06 donkey NetworkManager[1162]: error [1398880626.164382] [nm-dns-dnsmasq.c:396] update(): dnsmasq owner not found on bus: Could not get owner of name 'org.freedesktop.NetworkManager.dnsmasq': no such name Apr 30 18:57:06 donkey NetworkManager[1162]: warn DNS: plugin dnsmasq update failed I've also noticed a that there is no -u arg passed to the service on startup, and that the --conf-file arg points to /var/lib/libvirt/dnsmasq/default.conf - which is an empty file. -- 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/1314697 Title: Upon upgrade, DNS resolution no longer works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+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 1314697] Re: Upon upgrade, DNS resolution no longer works
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: dnsmasq (Ubuntu) Status: New = Confirmed -- 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/1314697 Title: Upon upgrade, DNS resolution no longer works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+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 1314697] Re: Upon upgrade, DNS resolution no longer works
** Attachment added: dnsmasqlog https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+attachment/4101512/+files/dnsmasqlog -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314697 Title: Upon upgrade, DNS resolution no longer works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1314697] Re: Upon upgrade, DNS resolution no longer works
Also note that dnsmasq is running under user=nobody and running at 99-100% CPU. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314697 Title: Upon upgrade, DNS resolution no longer works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1314697] Re: Upon upgrade, DNS resolution no longer works
Assuming you are using NetworkManager, a better way to work around the problem than editing resolv.conf by hand is to edit /etc/NetworkManager/NetworkManager.conf and comment out the line `dns=dnsmasq`, save, and then `restart network-manager`. This will cause NetworkManager not to use a slave instance of dnsmasq as a local forwarding nameserver. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314697 Title: Upon upgrade, DNS resolution no longer works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1314697] Re: Upon upgrade, DNS resolution no longer works
Thanks for the workaround Thomas. I've checked a few more things, firstly I found this in syslog at startup, missing from my earlier attachment: Apr 30 18:57:06 donkey NetworkManager[1162]: info DNS: starting dnsmasq... Apr 30 18:57:06 donkey NetworkManager[1162]: warn dnsmasq not available on the bus, can't update servers. Apr 30 18:57:06 donkey NetworkManager[1162]: error [1398880626.164382] [nm-dns-dnsmasq.c:396] update(): dnsmasq owner not found on bus: Could not get owner of name 'org.freedesktop.NetworkManager.dnsmasq': no such name Apr 30 18:57:06 donkey NetworkManager[1162]: warn DNS: plugin dnsmasq update failed I've also noticed a that there is no -u arg passed to the service on startup, and that the --conf-file arg points to /var/lib/libvirt/dnsmasq/default.conf - which is an empty file. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314697 Title: Upon upgrade, DNS resolution no longer works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1314697] Re: Upon upgrade, DNS resolution no longer works
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: dnsmasq (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1314697 Title: Upon upgrade, DNS resolution no longer works To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/dnsmasq/+bug/1314697/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs