Bug#753944: Bug#770648: hiredis: FTBFS: Test failure

gregor herrmann gregoa at debian.org
Sun Nov 30 22:36:46 UTC 2014


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: Digital Signature
URL: <http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20141130/443e6348/attachment-0003.sig>


More information about the Pbuilder-maint mailing list