[Bug 1659541] Re: name resolution fails in vmdebootstrap with setup-testbed customize script

Launchpad Bug Tracker 1659541 at bugs.launchpad.net
Mon Oct 16 22:31:52 UTC 2017


This bug was fixed in the package autopkgtest - 5.0.2

---------------
autopkgtest (5.0.2) unstable; urgency=medium

  * test: Adjust ChrootRunner tests for changed apt-get source invocation.
    Commit 762397342b changed the invocation of `apt-get source` and
    `dpkg-source -x`. Adjust ChrootRunner test mock commands accordingly.

 -- Martin Pitt <mpitt at debian.org>  Mon, 16 Oct 2017 11:53:55 +0200

** Changed in: autopkgtest (Ubuntu)
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to autopkgtest in Ubuntu.
https://bugs.launchpad.net/bugs/1659541

Title:
  name resolution fails in vmdebootstrap with setup-testbed customize
  script

Status in autopkgtest package in Ubuntu:
  Fix Released
Status in autopkgtest package in Debian:
  Fix Released

Bug description:
  On Ubuntu Zesty, I'm running the following command to provision a debian/sid VM:
  sudo vmdebootstrap \
      --verbose --serial-console --distribution=sid \
      --customize=/usr/share/autopkgtest/setup-commands/setup-testbed --user=test/test \
      --size=8G --grub --image=$IMAGE \
      --sudo --convert-qcow2 \
      --log vmbootstrap.log --log-level debug

  It fails on this command:
  + chroot /tmp/tmpno5Yk_ apt-get update
  Err:1 http://httpredir.debian.org/debian sid InRelease
    Temporary failure resolving 'httpredir.debian.org'
  Reading package lists... Done

  Name resolution works fine on the host but does not inside the chroot.
  In the chroot, /etc/resolv.conf is a link to /run/systemd/resolv.conf but the target does not exist (/run is not mounted)
  Name resolution works after mounting /run from the host inside the chroot or copying /etc/resolv.conf from the host.

  ProblemType: Bug
  DistroRelease: Ubuntu 17.04
  Package: autopkgtest 4.3
  ProcVersionSignature: Ubuntu 4.9.0-11.12-generic 4.9.0
  Uname: Linux 4.9.0-11-generic x86_64
  ApportVersion: 2.20.4-0ubuntu1
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Thu Jan 26 13:24:38 2017
  InstallationDate: Installed on 2014-07-15 (926 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Alpha amd64 (20140520)
  PackageArchitecture: all
  SourcePackage: autopkgtest
  UpgradeStatus: Upgraded to zesty on 2015-12-08 (414 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/autopkgtest/+bug/1659541/+subscriptions



More information about the foundations-bugs mailing list