From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gregor Giesen Subject: Re: Extra files in build container Date: Sat, 17 Jun 2017 08:58:48 +0200 Message-ID: <20170617065848.cfevrq6bpgsa2vlt@zaehlwerk.net> References: <20170615072917.4ogzt24ginrkgqx3@zaehlwerk.net> <87y3ssicsg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55343) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dM7hA-0002Ba-7w for help-guix@gnu.org; Sat, 17 Jun 2017 02:58:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dM7h7-0000as-6p for help-guix@gnu.org; Sat, 17 Jun 2017 02:58:56 -0400 Received: from mx03.zaehlwerk.net ([136.243.37.109]:43543) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dM7h6-0000a2-Rz for help-guix@gnu.org; Sat, 17 Jun 2017 02:58:53 -0400 Received: from localhost (localhost [127.0.0.1]) by mx03.zaehlwerk.net (Postfix) with ESMTP id 3FE242B385 for ; Sat, 17 Jun 2017 08:58:49 +0200 (CEST) Received: from mail.zaehlwerk.net ([IPv6:::1]) by localhost (ps04.zaehlwerk.net [IPv6:::1]) (amavisd-new, port 10587) with ESMTP id XwCvmtypJLN1 for ; Sat, 17 Jun 2017 08:58:49 +0200 (CEST) Received: from zaehlwerk.net (p200300DF73D25400711F0521AA5F4AC9.dip0.t-ipconnect.de [IPv6:2003:df:73d2:5400:711f:521:aa5f:4ac9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.zaehlwerk.net (Postfix) with ESMTPSA for ; Sat, 17 Jun 2017 08:58:49 +0200 (CEST) Content-Disposition: inline In-Reply-To: <87y3ssicsg.fsf@gnu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: help-guix@gnu.org Dear Ludo=E2=80=99, thanks for the help! On Fri, Jun 16, 2017 at 09:58:55AM +0200, Ludovic Court=C3=A8s wrote: > In cases like the one you describe, we usually end up modifying tests t= o > use the numerical values for services and protocols rather than their > names. Unfortunately, this turns out to be quite cumbersome since in my case (unittests for unbound) there is a lot of test data to be modified and in many cases not only plain text but also encrypted records (DNSSEC=20 tests). On the other hand the values to be looked up are mostly =E2=80=9C= udp=E2=80=9D and =E2=80=9Ctcp=E2=80=9D in /etc/protocols and =E2=80=9Cdomain=E2=80=9D = in /etc/services, so I decided=20 that using a preload library for these few glibc calls just in case of=20 the unittest should do the trick rather than no checks at all. However,=20 it is an ugly hack and bloats the package definition. > It would probably make sense to allow derivations to populate /etc > though. That might help! Many thanks to all contributers for this very nice peace of software! Best, Gregor