root=<url> should automatically enable 'rc-initrd-dns' feature
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
resolvconf (Ubuntu) | ||||||
Trusty |
Fix Released
|
Medium
|
Unassigned | |||
Xenial |
Fix Released
|
Medium
|
Unassigned |
Bug Description
=== Begin SRU Template ===
[Impact]
Booting a kernel/initramfs with 'rooturl=http://
or xenial requires also adding 'rc-initrd-dns' or 'cloud-config-url='
to the kernel command line in order to get the fix provided by bug
1711760.
If a user boots with 'rooturl=', that should imply they want dns
copied over from the initramfs or otherwise working dns. They should
not have to add the additional flag.
[Test Case]
Download the test case attached.
Run it and follow the instructions.
Login to the guest (ubuntu:password), and inspect /etc/resolv.conf
without the fix there would be no data in /etc/resolv.conf. With the
fix you should see 'nameserver 10.0.2.2' and 'search mydomain.com bar.com'
[Regression Potential]
Regression potential should be very low.
This could negatively affect a user who was booting with rooturl=
and had solved the lack of dns in another way.
[Other Info]
rooturl was SRU'd to xenial and trusty. When that happened we were
not aware of the broken-ness of DNS. Had we been aware at that time,
we would have fixed this then, and the regression potential listed above
would not be present.
Note, that without a fix for bug 1714308, dns does not work inside
the initramfs. So the url in 'rooturl=<url>' has to be an IP address.
Related bugs:
* bug 1714308: dns does not work in initramfs after configure_
* bug 1711760: [2.3] resolv.conf is not set (during commissioning or testing)
=== End SRU Template ===
ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: resolvconf 1.78ubuntu5
ProcVersionSign
Uname: Linux 4.13.0-16-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.13
Architecture: amd64
Date: Wed Nov 29 17:33:21 2017
PackageArchitec
ProcEnviron:
TERM=xterm-
PATH=(custom, no user)
XDG_RUNTIME_
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: resolvconf
UpgradeStatus: No upgrade log present (probably fresh install)
no longer affects: | resolvconf (Ubuntu) |
Changed in resolvconf (Ubuntu Trusty): | |
status: | New → Confirmed |
Changed in resolvconf (Ubuntu Xenial): | |
status: | New → Confirmed |
Changed in resolvconf (Ubuntu Trusty): | |
importance: | Undecided → Medium |
Changed in resolvconf (Ubuntu Xenial): | |
importance: | Undecided → Medium |
I uploaded a fix to /launchpad. net/~smoser/ +archive/ ubuntu/ lp1711760
There is a PPA available at
https:/
with the fix in place.
and /code.launchpad .net/~smoser/ ubuntu/ +source/ resolvconf/ +git/resolvconf /+ref/feature/ rooturl- means-copy- dns-trusty /code.launchpad .net/~smoser/ ubuntu/ +source/ resolvconf/ +git/resolvconf /+ref/feature/ rooturl- means-copy- dns-xenial
https:/
https:/