/run/resolvconf/resolv.conf contains invalid 'search' entries

Bug #1731130 reported by Paul Natsuo Kishimoto
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
resolvconf (Ubuntu)
Incomplete
Undecided
Unassigned

Bug Description

STEPS TO REPRODUCE:

I connect to certain MIT networks via both wired and wireless connections.

Afterwards, I connect to a home network.

EXPECTED:

Domains like http://web.mit.edu resolve.

OBSERVED:

They don't.

The file /run/resolvconf/resolv.conf contains only these lines:

nameserver 127.0.0.53
search mit.edu hsd1.ma.comcast.net

It would seem hsd1.ma.comcast.net is correct, since that describes my ISP. But the mit.edu is erroneous and prevents applications from correctly resolving mit.edu domains.

If I manually edit this file and remove "mit.edu" from the search line, the domains then resolve correctly. Shouldn't this be removed automatically?

~$ lsb_release -rd && apt-cache policy resolvconf
Description: Ubuntu 17.10
Release: 17.10
resolvconf:
  Installed: 1.79ubuntu8
  Candidate: 1.79ubuntu8
  Version table:
 *** 1.79ubuntu8 500
        500 http://us.archive.ubuntu.com/ubuntu artful/universe amd64 Packages
        500 http://us.archive.ubuntu.com/ubuntu artful/universe i386 Packages
        100 /var/lib/dpkg/status

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: resolvconf 1.79ubuntu8
ProcVersionSignature: Ubuntu 4.13.0-16.19-generic 4.13.4
Uname: Linux 4.13.0-16-generic x86_64
ApportVersion: 2.20.7-0ubuntu3.1
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Thu Nov 9 00:34:20 2017
EcryptfsInUse: Yes
InstallationDate: Installed on 2017-10-11 (28 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
PackageArchitecture: all
SourcePackage: resolvconf
UpgradeStatus: Upgraded to artful on 2017-10-19 (20 days ago)

Revision history for this message
Paul Natsuo Kishimoto (khaeru) wrote :
Revision history for this message
Laurent Bigonville (bigon) wrote :

Hi,

I think this is a duplicate of bug 1713457 where resolvconf is not removing the old search domains from the list when disconnecting.

Changed in resolvconf (Ubuntu):
status: New → Incomplete
Revision history for this message
Paul Natsuo Kishimoto (khaeru) wrote :

Hi—yes, it seems so. Sorry that I didn't search hard enough before reporting a duplicate!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.