found 806386 0.221 severity 806386 important user pbuil...@packages.debian.org usertag 806386 pbuilder thanks
On Thu, Nov 26, 2015 at 10:45:36PM +0100, Axel Beckert wrote: > Since at least 0.221 (and including 0.221.1), possibly also already with > 0.220, /etc/resolv.conf is no more updated inside the chroot, hence no > more DNS inside chroot after a location change which implied different > DNS servers, e.g. when having pbuilder installed on a laptop which > connects to differnt networks between two "pbuilder update" runs: This is caused due to the fix for #753944. yeah, bad me. Clearly I wrote the fix for that without thinking nor paying attention. > Workaround: > > shell1 # pbuilder login --save-after-login > shell2 # cp -pv /etc/resolv.conf /var/cache/pbuilder/build/*/etc/resolv.conf > shell1 # exit Another is to use USENETWORK=yes the USENETWORK thing wass thought to isolate only the dpkg-buildpackage call, I really misused it in this case. Probably the better fix is to empty /etc/resolv.conf before the build start and "rifill" it once the build is finished, since the hooks are free to use the network at the user will. comments? -- regards, Mattia Rizzolo GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`. more about me: http://mapreri.org : :' : Launchpad user: https://launchpad.net/~mapreri `. `'` Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
signature.asc
Description: PGP signature