dns does not work in initramfs after configure_networking

Bug #1714308 reported by Scott Moser on 2017-08-31
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Medium
Unassigned
Xenial
Medium
Unassigned
Zesty
Medium
Unassigned

Bug Description

in an initramfs built with mkinitramfs-tools that has been booted with 'ip=' and a dhcp server responded in the dhcp request, you would expect dns to work.

currently it does not.
at least part of the issue is that libnss_dns.so is missing.

ProblemType: Bug
DistroRelease: Ubuntu 17.10
Package: initramfs-tools 0.125ubuntu9
ProcVersionSignature: User Name 4.12.0-11.12-generic 4.12.5
Uname: Linux 4.12.0-11-generic x86_64
ApportVersion: 2.20.7-0ubuntu1
Architecture: amd64
Date: Thu Aug 31 16:43:05 2017
Ec2AMI: ami-000000e4
Ec2AMIManifest: FIXME
Ec2AvailabilityZone: nova
Ec2InstanceType: m1.small
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: initramfs-tools
UpgradeStatus: No upgrade log present (probably fresh install)

Related bugs:
 * bug 1698181: Switch to netplan renderer in Artful
 * bug 1714028: artful network vmtests fail now that ifdown command is removed

Scott Moser (smoser) wrote :
Changed in initramfs-tools (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Scott Moser (smoser) on 2017-08-31
summary: - dns does not work in initramfs after configure_networking missing
- libnss_dns.so.2
+ dns does not work in initramfs after configure_networking
Scott Moser (smoser) on 2017-08-31
description: updated
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package initramfs-tools - 0.125ubuntu11

---------------
initramfs-tools (0.125ubuntu11) artful; urgency=medium

  * hook-functions, mkinitramfs, scripts/functions: support usage of dns
    after configure_networking. (LP: #1714308)

 -- Scott Moser <email address hidden> Tue, 19 Sep 2017 12:54:18 -0400

Changed in initramfs-tools (Ubuntu):
status: Confirmed → Fix Released
Scott Moser (smoser) on 2017-11-29
Changed in initramfs-tools (Ubuntu Xenial):
status: New → Confirmed
Changed in initramfs-tools (Ubuntu Zesty):
status: New → Confirmed
Changed in initramfs-tools (Ubuntu Xenial):
importance: Undecided → Medium
Changed in initramfs-tools (Ubuntu Zesty):
importance: Undecided → Medium
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers