[Bug 1786726] Re: dns-search rendered for ipv4 when no addresses configured

Mathieu Trudel-Lapierre mathieu.tl at gmail.com
Thu Sep 27 21:21:15 UTC 2018


** Also affects: netplan.io (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: netplan.io (Ubuntu)
       Status: New => Fix Released

** Changed in: netplan
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to netplan.io in Ubuntu.
Matching subscriptions: foundations-bugs
https://bugs.launchpad.net/bugs/1786726

Title:
  dns-search rendered for ipv4 when no addresses configured

Status in netplan:
  Fix Released
Status in netplan.io package in Ubuntu:
  Fix Released

Bug description:
  In an IPv6 static setup with NetworkManager, such as the following:

      ens8:
        accept-ra: false
        addresses: ['23:b0:87:58:65:f7:fb:8b/45', '63:94:73:e1:46:15:79:58/50']
        nameservers:
          addresses: ['f2:9d:bc:04:7b:87:ec:28']
          search: [lab, home]
        renderer: NetworkManager

  we see the following error in syslog:

  NetworkManager[19666]: <warn>  [1532665946.1502] keyfile: error loading connection from file /run/NetworkManager/system-connections/net
  plan-ens8: invalid connection: ipv4.dns-search: this property is not allowed for 'method=link-local'

  netplan renders an ipv4 dns search property, even though there is no
  configured ipv4 address. NetworkManager doesn't like this and it
  prevents the connection from being configured.

To manage notifications about this bug go to:
https://bugs.launchpad.net/netplan/+bug/1786726/+subscriptions



More information about the foundations-bugs mailing list