name resolution fails in vmdebootstrap with setup-testbed customize script
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
autopkgtest (Debian) |
Fix Released
|
Unknown
|
|||
autopkgtest (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
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
--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://
Temporary failure resolving 'httpredir.
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/
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
ProcVersionSign
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)
PackageArchitec
SourcePackage: autopkgtest
UpgradeStatus: Upgraded to zesty on 2015-12-08 (414 days ago)
description: | updated |
description: | updated |
Changed in autopkgtest (Debian): | |
status: | Unknown → Fix Committed |
Changed in autopkgtest (Debian): | |
status: | Fix Committed → Fix Released |
https:/ /anonscm. debian. org/cgit/ autopkgtest/ autopkgtest. git/commit/ ?id=085b1798fa