← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1716465] Re: livecd-rootfs fails in lxd container because mounts under /dev are not unmounted

 

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

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

  * live-build/ubuntu-cpc/functions: call apt-get update in the chroot
    after mounting a blank /var/lib/apt, so that further operations work
    as expected; otherwise, 'apt-get purge ^grub-.*' fails on s390x because
    no such packages are known to apt.
  * live-build/ubuntu-cpc/hooks/030-root-tarball.binary: correct a missing
    unmount of /var/{lib,cache}/apt on cleanup, detected via autopkgtests.

 -- Steve Langasek <steve.langasek@xxxxxxxxxx>  Tue, 12 Sep 2017
13:25:58 -0700

** Changed in: livecd-rootfs (Ubuntu Xenial)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1716465

Title:
  livecd-rootfs fails in lxd container because mounts under /dev are not
  unmounted

Status in livecd-rootfs package in Ubuntu:
  Fix Released
Status in livecd-rootfs source package in Xenial:
  Fix Released
Status in livecd-rootfs source package in Zesty:
  Fix Released

Bug description:
  [SRU Justification]
  After the move of livefs builds to lxd containers, cloud image builds will fail because loop devices are separate mount points set up by lxd and are not getting bind mounted correctly into the livecd-rootfs chroot, therefore they are not present at the right point for kpartx -d to run to free the devices.

  This is fixed by mount --rbind of /dev instead of mount --bind, which
  then also requires changes for the unwinding.

  [Test case]
  Daily images on cloud-images.ubuntu.com are currently failing to build as a result of this bug.  The daily images are built using a private overlay on top of the livecd-rootfs in the archive, so unfortunately we can't describe directly a public end-to-end test case for this.

  We will verify this fix by verifying that we are able to produce daily
  cloud images again for each of the releases.

  [Regression potential]
  For xenial we should also verify this change by doing a test build of all images against xenial-proposed to guard against any possible regressions.
  For zesty, there are no ongoing builds of any projects other than cloud images so there is no risk of external regressions.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/livecd-rootfs/+bug/1716465/+subscriptions