[Bug 1314697] Re: Upon upgrade, DNS resolution no longer works; dnsmasq uses 100% CPU

2014-05-08 Thread James Hunt
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; dnsma

[Bug 1314697] Re: Upon upgrade, DNS resolution no longer works; dnsmasq uses 100% CPU

2014-05-08 Thread Thomas Hood
** 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:

[Bug 1314697] Re: Upon upgrade, DNS resolution no longer works

2014-05-07 Thread Chris Halse Rogers
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 netw

[Bug 1314697] Re: Upon upgrade, DNS resolution no longer works

2014-05-07 Thread Chris Halse Rogers
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 Ubunt

Re: [Bug 1314697] Re: Upon upgrade, DNS resolution no longer works

2014-05-04 Thread Simon Kelley
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

[Bug 1314697] Re: Upon upgrade, DNS resolution no longer works

2014-05-02 Thread Adam Smith
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

Re: [Bug 1314697] Re: Upon upgrade, DNS resolution no longer works

2014-05-01 Thread Simon Kelley
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

[Bug 1314697] Re: Upon upgrade, DNS resolution no longer works

2014-04-30 Thread Colin King
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(

[Bug 1314697] Re: Upon upgrade, DNS resolution no longer works

2014-04-30 Thread Launchpad Bug Tracker
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: Up

[Bug 1314697] Re: Upon upgrade, DNS resolution no longer works

2014-04-30 Thread Adam Smith
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]: DNS: starting dnsmasq... Apr 30 18:57:06 donkey NetworkManager[1162]: dnsmasq not available on the bus,

[Bug 1314697] Re: Upon upgrade, DNS resolution no longer works

2014-04-30 Thread Thomas Hood
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 inst

[Bug 1314697] Re: Upon upgrade, DNS resolution no longer works

2014-04-30 Thread Adam Smith
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 n

[Bug 1314697] Re: Upon upgrade, DNS resolution no longer works

2014-04-30 Thread Adam Smith
** 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: