Public bug reported:

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: network-manager (Ubuntu)
     Importance: Critical
     Assignee: Dimitri John Ledkov (xnox)
         Status: Triaged

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

** Changed in: network-manager (Ubuntu)
   Importance: Undecided => Critical

** Changed in: network-manager (Ubuntu)
       Status: New => Triaged

** Changed in: network-manager (Ubuntu)
     Assignee: (unassigned) => Dimitri John Ledkov (xnox)

** Also affects: network-manager (Ubuntu Artful)
   Importance: Critical
     Assignee: Dimitri John Ledkov (xnox)
       Status: Triaged

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/1716833

Title:
  NM manages /etc/resolv.conf directly in artful after removal of
  resolvconf

Status in network-manager package in Ubuntu:
  Triaged
Status in network-manager source package in Artful:
  Triaged

Bug description:
  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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1716833/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to