/etc/resolv.conf broken in Xenial minimal

Bug #1801134 reported by Cody Shepherd on 2018-11-01
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
livecd-rootfs (Ubuntu)
Undecided
Unassigned
Xenial
Undecided
Unassigned

Bug Description

DNS was broken in Xenial minimal images under some circumstances due to a 0-byte /etc/resolv.conf file.

[Test Case]
Build Xenial Minimal Image (along with private hook that actually installs
the resolvconf package).
Check /etc/resolv.conf and confirm it is a symlink and not a 0-byte file.

[Regression Potential]
Regression would manifest in inability to do name resolution completely.

Although a 0-byte /etc/resolv.conf does currently prevent name resolution, it can be repaired by running `# dhclient`.

An example of a regression would potentially be that the above workaround is no longer effective.

An upload of livecd-rootfs to xenial-proposed has been rejected from the upload queue for the following reason: "This upload supercedes the previous livecd-rootfs upload in the queue but doesn't include the bug that previous upload fixed in Launchpad-Bugs-Fixed.".

description: updated
description: updated
description: updated
Changed in livecd-rootfs (Ubuntu):
status: New → Fix Released

Hello Cody, or anyone else affected,

Accepted livecd-rootfs into xenial-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/livecd-rootfs/2.408.41 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 on 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-xenial to verification-done-xenial. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-xenial. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in livecd-rootfs (Ubuntu Xenial):
status: New → Fix Committed
tags: added: verification-needed verification-needed-xenial
Cody Shepherd (codyshepherd) wrote :

I built a minimal image using the -proposed package and tested it by running it on kvm. There do not appear to be any regressions (the image boots fine and appears normal). A non-minimal build is in the works.

description: updated
Cody Shepherd (codyshepherd) wrote :

I have also built and mounted a base (non-minimal) image from xenial-proposed and confirmed no apparent regressions for the base image as well.

Cody Shepherd (codyshepherd) wrote :

The package and version I tested: livecd-rootfs/xenial-proposed, version 2.408.41 xenial.

tags: added: verification-done verification-done-xenial
removed: verification-needed verification-needed-xenial
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package livecd-rootfs - 2.408.41

---------------
livecd-rootfs (2.408.41) xenial; urgency=medium

  * Disable checksum generation (LP: #1799773)

livecd-rootfs (2.408.40) xenial; urgency=medium

  [ Cody Shepherd ]
  * Increasing modularity in relocation of /etc/resolv.conf to enable users
    of live-build/functions to manipulate /etc/resolv.conf in a more
    granular and future-proof way. LP: #1801134.

livecd-rootfs (2.408.39) xenial; urgency=medium

  * Backport support for building ubuntu-core images with ubuntu-image (using
    IMAGEFORMAT=ubuntu-image).
  * Decide what model assertion series to fetch depending on the suite. Use 16
    for xenial and 18 for other series (bionic+). This enables core18 image
    builds (LP: #1799736).

 -- Robert C Jennings <email address hidden> Fri, 16 Nov 2018 08:37:57 -0800

Changed in livecd-rootfs (Ubuntu Xenial):
status: Fix Committed → Fix Released

The verification of the Stable Release Update for livecd-rootfs has completed successfully and the package has now been released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers