[Bug 1716833] [NEW] NM manages /etc/resolv.conf directly in artful after removal of resolvconf

Launchpad Bug Tracker 1716833 at bugs.launchpad.net
Sun Sep 17 15:21:46 UTC 2017


You have been subscribed to a public bug:

The nplan autopkgtests are now failing in artful following the removal
of resolvconf from the base system, with the following error:

======================================================================
FAIL: test_manual_addresses (__main__.TestNetworkManager)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/tmp/autopkgtest.4I4oae/build.Xcu/nplan-0.26/tests/integration.py", line 1110, in test_manual_addresses
    self.assertRegex(resolv_conf, 'search.*fakesuffix')
AssertionError: Regex didn't match: 'search.*fakesuffix' not found in '# Generated by NetworkManager\nnameserver 127.0.1.1\n'


It is possible that there is *also* a bug with nplan's integration with systemd-resolved; however, what this error message exposes is that NM is overwriting /etc/resolv.conf when this should now be managed by systemd-resolved instead.

NM needs to inject its DNS server information into resolved instead of
editing /etc/resolv.conf directly.

** Affects: nplan (Ubuntu)
     Importance: Critical
     Assignee: Dimitri John Ledkov (xnox)
         Status: Triaged

** Affects: nplan (Ubuntu Artful)
     Importance: Critical
     Assignee: Dimitri John Ledkov (xnox)
         Status: Triaged

-- 
NM manages /etc/resolv.conf directly in artful after removal of resolvconf
https://bugs.launchpad.net/bugs/1716833
You received this bug notification because you are a member of Ubuntu Foundations Bugs, which is subscribed to nplan in Ubuntu.



More information about the foundations-bugs mailing list