[Bug 1635256] Re: [xenial] search domains in networkd do not get propagated to resolvconf
Andy Whitcroft
apw at canonical.com
Thu Oct 20 15:14:16 UTC 2016
Hello Martin, or anyone else affected,
Accepted nplan into xenial-proposed. The package will build now and be
available at https://launchpad.net/ubuntu/+source/nplan/0.13~16.04 in a
few hours, and then in the -proposed repository.
Please help us by testing this new package. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Your feedback will aid us getting this update
out to other Ubuntu users.
If this package fixes the bug for you, please add a comment to this bug,
mentioning the version of the package you tested, and change the tag
from verification-needed to verification-done. If it does not fix the
bug for you, please add a comment stating that, and change the tag to
verification-failed. In either case, details of your testing will help
us make a better decision.
Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in
advance!
** Tags added: verification-needed
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to systemd in Ubuntu.
https://bugs.launchpad.net/bugs/1635256
Title:
[xenial] search domains in networkd do not get propagated to
resolvconf
Status in systemd package in Ubuntu:
Invalid
Status in systemd source package in Xenial:
In Progress
Bug description:
Search domains specified in networkd do not get propagated to
/etc/resolv.conf via resolved in xenial, as systemd-networkd-
resolvconf-update.service only tells resolvconf about DNS servers.
This is not an issue any more in yakkety and zesty as that uses
resolved and that unit is gone.
This was uncovered while working on adding nameserver support to
netplan, in bug 1626617. To fully support netplan/networkd in xenial
we should fix this.
SRU TEST CASE:
* Start a xenial VM or container, and create a networkd interface with a DNS server and search domain:
$ cat /etc/systemd/network/foo.netdev
[NetDev]
Name=foo
Kind=dummy
$ cat /etc/systemd/network/foo.network
[Match]
Name=foo
[Network]
DNS=1.2.3.4
Domains=kitchen cellar
* sudo systemctl restart systemd-networkd
* cat /etc/resolv.conf
resolv.conf should have "nameserver 1.2.3.4" (unless there already are
three nameservers), but with the current xenial version it lacks
"search kitchen cellar". With the -proposed version, both entries
should be there.
REGRESSION POTENTIAL: This makes the shell hack of systemd-networkd-
resolvconf-update.service even worse, so errors in it could break the
existing "nameserver" integration of networkd with resolved. On xenial
this is only really relevant with netplan and snappy (see bug
1626617), so the number of installations that actually use this in the
field should be low. But this is simple enough to test in isolation,
systemd's autopkgtest already cover the "nameserver" resolvconf
integration, and netplan's autopkgtest now cover both "nameserver" and
"search". So overall the regression potential is very limited.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1635256/+subscriptions
More information about the foundations-bugs
mailing list