[Bug 1631241] Re: Name resolution stops working after resume from suspend
Michael Gratton
mike at vee.net
Fri Oct 7 12:05:01 UTC 2016
On Fri, Oct 7, 2016 at 10:44 PM, Martin Pitt <martin.pitt at ubuntu.com>
wrote:
>> To fix the problem
>
> Please tell us what actually *is* the problem.
My apologies, I should have said "To work around the problem" in the
last comment.
>> I need to manually edit /etc/resolv.conf and replace dnsmasq's
> 127.0.0.1 with resolve's 127.0.0.53
>
> So are you trying to not use NM's dnsmasq instance because that stops
> working after suspend/resume?
It looks like it, yes. As I (obliquely) mentioned in comment 3, dnsmasq
seems to stop responding to UDP requests on 127.0.0.1 after resume.
--
⊨ Michael Gratton, Percept Wrangler.
⚙ <http://mjog.vee.net/>
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1631241
Title:
Name resolution stops working after resume from suspend
Status in systemd package in Ubuntu:
Incomplete
Bug description:
After upgrading to Yakkety, when my Ubuntu GNOME laptop resumes from
suspend DNS resolution stops working.
After resuming, systemd-resolved is running and libnss-resolve is
installed, but /etc/resolv.conf contains 127.0.1.1 as the the only
name server. The dnsmasq-base package is installed since it is pulled
in by both network-manager and lxc1, and both NM and libvirt have
spawned instances of dnsmasq:
> 1155 pts/2 S+ 0:00 grep dnsmasq
> 2724 ? S 0:00 dnsmasq -u lxc-dnsmasq --strict-order --bind-interfaces --pid-file=/run/lxc/dnsmasq.pid --listen-address 10.0.3.1 --dhcp-range 10.0.3.2,10.0.3.254 --dhcp-lease-max=253 --dhcp-no-override --except-interface=lo --interface=lxcbr0 --dhcp-leasefile=/var/lib/misc/dnsmasq.lxcbr0.leases --dhcp-authoritative
> 2992 ? S 0:00 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/lib/libvirt/libvirt_leaseshelper
> 2993 ? S 0:00 /usr/sbin/dnsmasq --conf-file=/var/lib/libvirt/dnsmasq/default.conf --leasefile-ro --dhcp-script=/usr/lib/libvirt/libvirt_leaseshelper
> 22879 ? S 0:00 /usr/sbin/dnsmasq --no-resolv --keep-in-foreground --no-hosts --bind-interfaces --pid-file=/var/run/NetworkManager/dnsmasq.pid --listen-address=127.0.1.1 --cache-size=0 --conf-file=/dev/null --proxy-dnssec --enable-dbus=org.freedesktop.NetworkManager.dnsmasq --conf-dir=/etc/NetworkManager/dnsmasq.d
Let me know if you need any extra info.
ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: libnss-resolve 231-9git1
ProcVersionSignature: Ubuntu 4.8.0-17.19-generic 4.8.0-rc7
Uname: Linux 4.8.0-17-generic x86_64
ApportVersion: 2.20.3-0ubuntu7
Architecture: amd64
CurrentDesktop: GNOME
Date: Fri Oct 7 13:52:40 2016
InstallationDate: Installed on 2015-07-22 (443 days ago)
InstallationMedia: Ubuntu-GNOME 15.04 "Vivid Vervet" - Release amd64 (20150422)
SourcePackage: systemd
UpgradeStatus: Upgraded to yakkety on 2016-10-05 (1 days ago)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1631241/+subscriptions
More information about the foundations-bugs
mailing list