On Sun, 30 Nov 2014 22:23:13 +0000, Thorsten Glaser wrote: > gregor herrmann dixit: > >That fact that pbuilder copies /etc/resolv.conf into the chroot each > >time also does not help :/ > Ouch. How about if USENETWORK=no then CHROOT/etc/resolv.conf is > created with values sane for that? Can you do the NMU?
What would these sane values be? > >> A simple and stupid solution would be to turn off DNS name lookups > >> completely > >> inside the build environment if USENETWORK=no (e.g. by fiddling with > >> /etc/nsswitch.conf), but I'm not sure if that's really applicable to > >> pbuilder. > >Hm, don't know :) > Good question. Maybe it should *also* generate a sane > nsswitch.conf because the one from the host system is > not normally applicable (but idk if it copies that as > well). But IMHO it definitely should not blindly copy > resolv.conf. Looks like /etc/nsswitch.conf is not copied (i.e. if I change it in the host system and enter the chroot, the changes are not there). Cheers, gregor -- .''`. Homepage: http://info.comodo.priv.at/ - OpenPGP key 0xBB3A68018649AA06 : :' : Debian GNU/Linux user, admin, and developer - http://www.debian.org/ `. `' Member of VIBE!AT & SPI, fellow of the Free Software Foundation Europe `- NP: Beatles
signature.asc
Description: Digital Signature