[Nix-dev] Re: GNU adns build failure

Ludovic Courtès ludo at gnu.org
Mon Dec 22 16:14:28 CET 2008


Hello,

Eelco Dolstra <e.dolstra at tudelft.nl>
writes:

> Almost - I debugged a bit and it turns out to be /etc/protocols.  With it the
> build succeeds in a chroot.  Arguably we should have it in the chroot, but on
> the other hand not having /etc/{resolv.conf,nsswitch.conf,services,protocols}
> helps to ensure that builders don't (accidentally) connect to the network.  At
> first I thought adns' "make check" tries to connect to the network (which would
> be very impure).  But on closer inspection that does not appear to be the case.

Any idea on how we could cleanly modify adns' test suite so that it can
be run in a chroot?

Thanks,
Ludo'.




More information about the nix-dev mailing list