dns does not work in initramfs after configure_networking

Bug #1714308 reported by Scott Moser
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
initramfs-tools (Ubuntu)
Fix Released
Medium
Unassigned
Xenial
Confirmed
Medium
Unassigned
Zesty
Confirmed
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

Revision history for this message
Scott Moser (smoser) wrote :
Changed in initramfs-tools (Ubuntu):
status: New → Confirmed
importance: Undecided → Medium
Scott Moser (smoser)
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)
description: updated
Revision history for this message
Scott Moser (smoser) wrote :
Revision history for this message
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)
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.