Bug#845925: autopkgtest boostrap qemu
- Subject: Bug#845925: autopkgtest boostrap qemu
- From: mpitt@debian.org (Martin Pitt)
- Date: Sun, 24 Sep 2017 23:12:50 +0200
- Message-id: <[🔎] 20170924211250.GB1025@donald>
- In-reply-to: <1502630350.9394.1.camel@debian.org>
- References: <148020651521.5176.10469446576873875608.reportbug@localhost> <1502630350.9394.1.camel@debian.org> <148020651521.5176.10469446576873875608.reportbug@localhost>
Control: tag -1 pending
Hello Attila,
SZALAY Attila [2017-08-13 9:19 -0400]:
> I'm not 100% sure, but I have the feeling that this depends on your
> host environment. Because, I think, the debootstrap copies the
> /etc/resolv.cong file as-is to the chroot environment.
Right, so this is ought to be fixed in debootstrap itself, IMHO. But I'm fine
with a workaround in setup-testbed for the time being.
> So, my solution was, as a dirty hack, to copy the content of the
> /etc/resolv.conf into the chroot. Something like this what is attached
> to this email.
I experimented with bind mounts and other more robust approaches, but not
successfully. So I went with your approach, just slightly more compact and
robust: https://anonscm.debian.org/cgit/autopkgtest/autopkgtest.git/commit/?id=ba3123ca0f
Thanks,
Martin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/autopkgtest-devel/attachments/20170924/cb496b4a/attachment.sig>
Reply to: