[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#845925: autopkgtest customize script for vmdebootstrap is unable to resolve httpredir.debian.org



Hi Martin,

Quoting Martin Pitt (2016-11-28 22:31:52)
> Johannes Schauer [2016-11-28 12:15 +0000]:
> > Can you tell me a way to diagnose the problem as apparently it works fine for
> > you?

So I put this into the file:

echo $root
cat $root/etc/resolv.conf

And added a -x. With that I got on standard error:

Running customize script /usr/share/autopkgtest/setup-commands/setup-testbed
+ umask 0022
+ [ /tmp/tmpSxHjE2 = --help ]
+ root=/tmp/tmpSxHjE2
+ echo /tmp/tmpSxHjE2
/tmp/tmpSxHjE2
+ cat /tmp/tmpSxHjE2/etc/resolv.conf
cat: /tmp/tmpSxHjE2/etc/resolv.conf: No such file or directory
EEEK! Something bad happened...
Command failed: /usr/share/autopkgtest/setup-commands/setup-testbed /tmp/tmpSxHjE2 autopkgtest-sid.raw


Cleaning up
Umounting /tmp/tmpSxHjE2
ERROR: Command failed: /usr/share/autopkgtest/setup-commands/setup-testbed /tmp/tmpSxHjE2 autopkgtest-sid.raw


So apparently, there is no /etc/resolv.conf inside the chroot??

cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: signature
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20161129/dd510a46/attachment.sig>


Reply to: