Bug#806386: pbuilder: No more updates /etc/resolv.conf inside the chroot, hence no more DNS inside chroot after network change

Thorsten Glaser tg at mirbsd.de
Sun Nov 29 00:54:43 UTC 2015


Mattia Rizzolo dixit:

>Do you think we should mangle or otherwise forge it instead?

I think you should definitely get opinions on this from experts!

>IMHO just emptying /etc/resolv.conf is enough here, isn't it?

I can positively say that's not enough to disable network, so
the USENETWORK=no case will still require unsharing. I cannot
comment on the rest. Also, resolv.conf, nsswitch.conf and hosts
are related. Don't just look at one.

bye,
//mirabilos
-- 
[...] if maybe ext3fs wasn't a better pick, or jfs, or maybe reiserfs, oh but
what about xfs, and if only i had waited until reiser4 was ready... in the be-
ginning, there was ffs, and in the middle, there was ffs, and at the end, there
was still ffs, and the sys admins knew it was good. :)  -- Ted Unangst über *fs



More information about the Pbuilder-maint mailing list