/etc/resolv.conf does not include the local domain name

Bug #1832967 reported by Bill
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
resolvconf (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

When I rebooted my system after an update, `/etc/resolv.conf` was symlinked to `/run/resolvconf/resolv.conf`. That file did not have my local domain name in the search even though it is supplied by the dhcp server. The systemd resolv.conf file (in `/run/systemd/resolve/resolv.conf`) had the correct search information.

Please ensure that the search is correctly added.

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: resolvconf 1.79ubuntu10.18.04.3
ProcVersionSignature: Ubuntu 4.15.0-51.55-generic 4.15.18
Uname: Linux 4.15.0-51-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.6
Architecture: amd64
Date: Sat Jun 15 22:18:05 2019
PackageArchitecture: all
ProcEnviron:
 TERM=xterm
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: resolvconf
UpgradeStatus: Upgraded to bionic on 2018-08-21 (299 days ago)

Revision history for this message
Bill (bill-launchpad) wrote :
Revision history for this message
Steve Langasek (vorlon) wrote :

> When I rebooted my system after an update, `/etc/resolv.conf` was
> symlinked to `/run/resolvconf/resolv.conf`

That is as expected, if you have the resolvconf package installed.

> That file did not have my local domain name in the search even though
> it is supplied by the dhcp server. The systemd resolv.conf file (in
> `/run/systemd/resolve/resolv.conf`) had the correct search information.

What are the contents of /run/resolvconf/interface/ on this system?

Changed in resolvconf (Ubuntu):
status: New → Incomplete
Revision history for this message
Steve Langasek (vorlon) wrote :

In particular, note that /lib/systemd/system/resolvconf-pull-resolved.{service,path} are meant to populate /run/resolvconf/interface/systemd-resolved using the contents of /run/systemd/resolve/stub-resolv.conf.

Revision history for this message
Steve Langasek (vorlon) wrote :

> This is also described here: https://askubuntu.com/a/1041631/326601

That describes an unrelated issue.

description: updated
Revision history for this message
Bill (bill-launchpad) wrote :

Thanks for the quick response.

Yesterday to fix the issue, I uninstalled the resolvconf package. I reinstalled it today, and now it is working with the correct "search" domain.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for resolvconf (Ubuntu) because there has been no activity for 60 days.]

Changed in resolvconf (Ubuntu):
status: Incomplete → Expired
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.