[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  
 /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] [NEW] Upon upgrade, DNS resolution no longer works

2014-04-30 Thread Adam Smith
Public bug reported:

Upgraded from Trusty latest to Utopic latest, and rebooted.

DNS resolution no longer worked.  I.e. ping google.com failed, ping
8.8.8.8 suceeded.

dnsmasq is running, and port 53 is open.  Turned on log queries and log
dhcp then attempted to ping google.  Extract from syslog is attached.

I have now worked around this by adding nameserver 8.8.8.8 to
/etc/resolv.conf.  I am aware this is not a sustainable workaround as
this file is automatically generated.

ProblemType: Bug
DistroRelease: Ubuntu 14.10
Package: dnsmasq 2.70-1 [modified: etc/dnsmasq.conf]
ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
Uname: Linux 3.13.0-24-generic x86_64
ApportVersion: 2.14.1-0ubuntu3
Architecture: amd64
Date: Wed Apr 30 16:52:25 2014
InstallationDate: Installed on 2011-12-04 (878 days ago)
InstallationMedia: Ubuntu 11.10 Oneiric Ocelot - Release amd64 (20111011)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_GB:en
 TERM=xterm
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 SHELL=/bin/zsh
SourcePackage: dnsmasq
SystemImageInfo: Error: [Errno 2] No such file or directory: 'system-image-cli'
UpgradeStatus: Upgraded to utopic on 2014-01-31 (88 days ago)
mtime.conffile..etc.dnsmasq.conf: 2014-04-30T16:46:18.803393

** Affects: dnsmasq (Ubuntu)
 Importance: Undecided
 Status: New


** Tags: amd64 apport-bug utopic

-- 
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

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
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

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
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

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]: 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